/* ==========================================================================
   Branimir K. Hackenberger · osobna stranica
   Paleta preuzeta s prethodne stranice (tinta, tirkiz, bakar), proširena za
   fotografije planina i podmorja.
   ========================================================================== */

:root {
  --ink: #0b1a20;
  --ink-2: #10252b;
  --ink-3: #153038;
  --deep-sea: #0a2a3a;
  --line: #2f4a50;
  --line-soft: rgba(255, 255, 255, .12);
  --teal: #79b5b2;
  --teal-2: #9fd0cc;
  --copper: #d7a76b;
  --copper-2: #ebbd84;
  --paper: #ecefe8;
  --paper-2: #f6f6f0;
  --white: #f5f4ee;
  --text: #c9d5d3;
  --muted: #9fb2b1;
  --dark-text: #3f5356;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 88px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--copper); color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }

.shell { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; left: 12px; background: var(--white); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 10px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .82em; }
.small-note { font-size: .85rem; margin-top: 28px; }
.small-note a { color: var(--copper); border-bottom: 1px solid currentColor; }

/* ---------- zaglavlje ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 26, 32, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
  transition: background .35s, border-color .35s;
}
.site-header.is-over-hero { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-over-hero.is-scrolled,
.site-header.is-over-hero.menu-open { background: rgba(11, 26, 32, .9); border-color: var(--line-soft); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 20px; min-width: 210px; }
.brand-name { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; line-height: 1.02; letter-spacing: -.02em; color: var(--white); }
.brand-role { font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.nav { display: flex; gap: clamp(14px, 1.7vw, 30px); margin-left: auto; }
.nav a { font-size: .88rem; color: #d3dcda; position: relative; padding: 6px 0; transition: color .2s; white-space: nowrap; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--copper); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.languages { display: flex; border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px; gap: 2px; }
.languages a { color: var(--muted); border-radius: 999px; padding: 4px 9px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.languages a[aria-current] { background: var(--paper); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle .bar { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), top .3s; }
.menu-toggle .bar:nth-of-type(2) { top: 18px; }
.menu-toggle .bar:nth-of-type(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- gumbi i poveznice ---------- */

.eyebrow, .section-no { color: var(--teal); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.eyebrow::before { content: ''; display: inline-block; width: 33px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 13px; }
.section-no { color: var(--copper); }

.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 14px 20px; border: 1px solid var(--copper); background: var(--copper); color: var(--ink);
  font-size: .86rem; font-weight: 700; cursor: pointer; border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.button:hover { transform: translateY(-2px); background: var(--copper-2); }
.button .arrow { font-size: 1.05rem; font-weight: 400; transition: transform .25s var(--ease); }
.button:hover .arrow { transform: translate(3px, -1px); }
.button.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .5); }
.button.ghost:hover { background: var(--white); color: var(--ink); }
.button.dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button.dark:hover { background: var(--ink-3); }
.button.full { width: 100%; }
.text-link { font-size: .87rem; font-weight: 700; border-bottom: 1px solid var(--teal); padding: 6px 0; transition: color .2s, border-color .2s; display: inline-block; }
.text-link:hover { color: var(--copper); border-color: var(--copper); }
.text-link.light { border-color: rgba(255, 255, 255, .6); }
.back-link { font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--teal-2); display: inline-block; margin-bottom: 22px; }
.back-link:hover { color: var(--copper); }
.back-link.dark { color: var(--teal); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); color: var(--text); background: transparent; padding: 5px 12px; border-radius: 999px; font-size: .76rem; cursor: pointer; transition: all .2s; }
.chip small { color: var(--muted); font-size: .7rem; }
.chip:hover { border-color: var(--teal); color: var(--white); }
.chip.is-on { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.chip.is-on small { color: var(--ink-3); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 38px; }

.status { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; vertical-align: middle; }
.status-ok { background: rgba(121, 181, 178, .18); color: var(--teal-2); border: 1px solid rgba(121, 181, 178, .45); }
.status-wip { background: rgba(215, 167, 107, .14); color: var(--copper-2); border: 1px solid rgba(215, 167, 107, .45); }
.status-soon { background: rgba(255, 255, 255, .08); color: var(--white); border: 1px solid rgba(255, 255, 255, .3); }

/* ---------- naslovnica: hero ---------- */

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; background: var(--deep-sea); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; transition: opacity 2.2s ease-in-out; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 12s linear; will-change: transform; }
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide.is-leaving { opacity: 1; z-index: 1; transition: none; }
.hero-slide.is-active img, .hero-slide.is-leaving img { transform: scale(1.0); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(8, 20, 26, .55) 0%, rgba(8, 20, 26, 0) 28%),
  linear-gradient(0deg, rgba(8, 20, 26, .92) 0%, rgba(8, 20, 26, .35) 45%, rgba(8, 20, 26, 0) 70%),
  linear-gradient(90deg, rgba(8, 20, 26, .55) 0%, rgba(8, 20, 26, 0) 60%); }
.hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(70px, 10vh, 120px); }
.hero-copy { max-width: 820px; }
.hero .eyebrow, .page-hero .eyebrow, .post-hero .eyebrow { color: var(--teal-2); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; font-size: clamp(3rem, 7.2vw, 7.4rem); margin: 26px 0 24px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em { color: var(--copper); font-style: italic; font-weight: 300; }
.hero-lead { font-size: clamp(1.02rem, 1.35vw, 1.24rem); line-height: 1.6; color: #dfe7e5; max-width: 600px; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-meta { text-align: right; color: #e3ebe9; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero-counter { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .02em; color: var(--muted); }
.hero-idx { color: var(--copper); font-size: 1.6rem; }
.hero-caption { min-height: 1.2em; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 3px; padding: 0; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.is-active { background: var(--copper); width: 44px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; background: var(--white); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

.intro-strip { border-bottom: 1px solid var(--line); background: var(--ink); }
.strip-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding-top: 24px; padding-bottom: 24px; }
.strip-inner div { display: flex; gap: 14px; align-items: baseline; color: var(--text); font-size: .86rem; }
.strip-inner b { font-family: var(--serif); color: var(--copper); font-size: 1.15rem; font-weight: 400; }
.strip-inner div + div { border-left: 1px solid var(--line); padding-left: 32px; }

/* ---------- odjeljci ---------- */

.section { padding-top: clamp(76px, 9vw, 136px); padding-bottom: clamp(76px, 9vw, 130px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; }
.section-title { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 4.7rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.04; margin: 12px 0 0; }
.section-title em { color: var(--copper); font-style: italic; }
.section-intro { max-width: 420px; color: var(--text); margin: 0; font-size: 1rem; line-height: 1.7; }

/* šest putova */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path-card { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; border-radius: var(--radius); display: flex; align-items: flex-end; isolation: isolate; background: var(--ink-3); }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.85); }
.path-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 20, 26, .92) 0%, rgba(8, 20, 26, .25) 55%, rgba(8, 20, 26, .1) 100%); transition: background .5s; }
.path-card:hover img { transform: scale(1.07); filter: saturate(1.05); }
.path-card:hover::after { background: linear-gradient(0deg, rgba(8, 20, 26, .95) 0%, rgba(8, 20, 26, .45) 60%, rgba(8, 20, 26, .2) 100%); }
.path-num { position: absolute; top: 20px; left: 22px; font-family: var(--serif); color: var(--copper); font-size: 1rem; }
.path-arrow { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease); }
.path-card:hover .path-arrow { background: var(--copper); color: var(--ink); border-color: var(--copper); transform: rotate(45deg); }
.path-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.path-title { font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; }
.path-desc { color: #cfdad8; font-size: .9rem; }

/* stupovi */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { min-height: 290px; padding: 30px 36px 25px 0; border-right: 1px solid var(--line); }
.pillar:not(:first-child) { padding-left: 36px; }
.pillar:last-child { border-right: 0; }
.pillar-num { color: var(--teal); font-size: .72rem; letter-spacing: .15em; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.1vw, 2.15rem); line-height: 1.15; letter-spacing: -.02em; margin: 40px 0 16px; }
.pillar p { font-size: .97rem; color: var(--text); line-height: 1.7; margin: 0; }

/* svijetli pojas */
.paper-wrap { background: var(--paper); color: var(--ink); padding: clamp(76px, 8vw, 120px) 0; }
.paper-wrap .section-intro, .paper-wrap .lead-dark { color: var(--dark-text); }
.paper-wrap .section-no { color: #976437; }
.paper-wrap .text-link { border-color: #52767b; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project { border: 1px solid #bcc8c3; min-height: 330px; padding: 30px; display: flex; flex-direction: column; transition: background .3s, transform .3s var(--ease), box-shadow .3s; border-radius: var(--radius); }
.project:hover { background: var(--paper-2); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(11, 26, 32, .45); }
.project .tag { color: #52767b; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.project h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.1vw, 2.15rem); line-height: 1.13; font-weight: 400; letter-spacing: -.025em; margin: 30px 0 16px; }
.project p { font-size: .96rem; color: var(--dark-text); line-height: 1.65; margin: 0 0 20px; }
.project-foot { border-top: 1px solid #c4cfcb; padding-top: 14px; margin-top: auto; color: #53767a; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }

/* iznad i ispod površine */
.dual { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--deep-sea); }
.dual-half { position: relative; min-height: clamp(560px, 82vh, 820px); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.dual-half img { position: absolute; left: 0; right: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; z-index: -2; will-change: transform; }
.dual-up::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 20, 26, .88), rgba(8, 20, 26, .1) 60%); }
.dual-down::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 24, 40, .92), rgba(4, 30, 52, .15) 60%); }
.dual-text { padding: clamp(28px, 4vw, 64px); max-width: 560px; }
.dual-text h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 3.8vw, 3.9rem); letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 16px; }
.dual-text p { color: #dbe5e3; font-size: 1.02rem; line-height: 1.7; margin: 0; }
.dual-down .dual-text h3 { color: #bfe6f2; }
.dual-text .eyebrow + .gauge { margin-top: 20px; }
.gauge { display: flex; align-items: center; gap: 12px; font-family: var(--serif); color: var(--copper); font-size: 1.4rem; margin-bottom: 18px; }
.gauge i { flex: 0 0 60px; height: 1px; background: currentColor; opacity: .6; }
.gauge small { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; color: var(--white); }
.dual-down .gauge { color: #7fd3e8; }
.dual-quote { grid-column: 1 / -1; background: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0; }
.dual-quote .shell { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.dual-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.3; letter-spacing: -.015em; max-width: 960px; color: var(--white); }

/* javnost */
.public { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 8vw, 130px); }
.public .section-title em { color: var(--copper); }
.public-text { padding-top: 46px; }
.public-text .quote { font-family: var(--serif); color: var(--copper); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.35; margin: 0 0 26px; }
.public-text p:not(.quote) { color: var(--text); font-size: 1rem; line-height: 1.8; margin: 0 0 18px; }

/* blog kartice */
.latest { padding-top: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); border-color: rgba(215, 167, 107, .5); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.post-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img, .post-feature:hover .post-media img { transform: scale(1.05); }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.post-meta { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.post-title { font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; letter-spacing: -.015em; }
.post-excerpt { color: var(--text); font-size: .93rem; line-height: 1.6; }
.post-card .chips { margin-top: auto; padding-top: 8px; }
.post-card .chip { cursor: inherit; font-size: .7rem; padding: 3px 9px; }
.post-feature { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; transition: border-color .3s; }
.post-feature:hover { border-color: rgba(215, 167, 107, .5); }
.post-feature .post-media { aspect-ratio: auto; min-height: 380px; }
.post-feature .post-body { justify-content: center; padding: clamp(28px, 4vw, 56px); gap: 16px; }
.post-feature .post-title { font-size: clamp(1.8rem, 2.8vw, 2.8rem); font-weight: 300; }
.post-feature .text-link { align-self: flex-start; margin-top: 8px; }

/* poziv na kontakt */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 11vw, 170px) 0; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 26, .94) 0%, rgba(8, 20, 26, .75) 55%, rgba(8, 20, 26, .5) 100%); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.cta h2 { font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5.6rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.02; margin: 15px 0 0; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; }
.cta-side p { color: #d5dfdd; font-size: 1.05rem; line-height: 1.65; max-width: 520px; }
.cta-side .button { margin-top: 30px; }
.email { display: inline-block; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.6rem); letter-spacing: -.02em; color: var(--copper); border-bottom: 1px solid var(--copper); max-width: 100%; overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.email:hover { color: var(--white); border-color: var(--white); }
.email.small { font-size: 1.35rem; }

/* ---------- podstranice ---------- */

.page-hero, .post-hero { position: relative; min-height: clamp(380px, 58vh, 560px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--ink-3); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroin 1.6s var(--ease) both; }
@keyframes heroin { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
.page-hero::after, .post-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 26, 32, .7) 38%, rgba(11, 26, 32, .25) 100%); }
.page-hero-inner, .post-hero-inner { width: 100%; padding-top: 70px; padding-bottom: clamp(40px, 6vw, 70px); }
.page-hero h1, .post-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 6vw, 6rem); letter-spacing: -.045em; line-height: 1.03; margin: 18px 0 16px; max-width: 1100px; }
.page-hero h1 em { color: var(--copper); }
.page-hero-lead { max-width: 680px; color: #d8e2e0; font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.65; margin: 0; }
.post-hero h1 { font-size: clamp(2.2rem, 4.8vw, 4.6rem); }
.post-hero .post-meta { margin-top: 6px; }

/* knjige */
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
.book { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 30px; padding: 30px; background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color .3s; }
.book:hover { border-color: rgba(215, 167, 107, .45); }
.book-cover-wrap { perspective: 900px; }
.book-cover, .book-cover-img { width: 100%; aspect-ratio: 2 / 3; border-radius: 2px 6px 6px 2px; box-shadow: 0 30px 40px -25px rgba(0, 0, 0, .9), inset 4px 0 0 rgba(255, 255, 255, .08); transform: rotateY(-14deg); transform-origin: left center; transition: transform .6s var(--ease); object-fit: cover; }
.book:hover .book-cover, .book:hover .book-cover-img { transform: rotateY(-3deg); }
.book-cover { position: relative; display: flex; flex-direction: column; padding: 20px 18px 18px 24px; color: var(--white); overflow: hidden;
  background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .16), transparent 45%), linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.book-cover::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, .15); }
.book-cover::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 130px; height: 130px; border: 1px solid rgba(215, 167, 107, .5); border-radius: 50%; box-shadow: 0 0 0 16px rgba(215, 167, 107, .07); }
.bc-author { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper-2); line-height: 1.5; }
.bc-title { font-family: var(--serif); font-size: 1.32rem; line-height: 1.08; margin-top: auto; letter-spacing: -.01em; }
.bc-sub { font-size: .7rem; line-height: 1.35; color: rgba(255, 255, 255, .75); margin-top: 10px; }
.book-info { display: flex; flex-direction: column; }
.book-type { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.book h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 4px; }
.book-sub { color: var(--copper); font-family: var(--serif); font-style: italic; margin: 0 0 14px; }
.book p { color: var(--text); font-size: .95rem; line-height: 1.7; }
.book-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; font-size: .8rem; color: var(--muted); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.lead-dark { font-size: 1.1rem; line-height: 1.7; margin: 0 0 26px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.topics { list-style: none; padding: 0; margin: 0; border-top: 1px solid #c4cfcb; counter-reset: tema; }
.topics li { padding: 14px 0; border-bottom: 1px solid #c4cfcb; font-family: var(--serif); font-size: 1.2rem; display: flex; gap: 14px; counter-increment: tema; }
.topics li::before { content: counter(tema, decimal-leading-zero); font-family: var(--sans); font-size: .72rem; color: #976437; letter-spacing: .1em; padding-top: 6px; }

/* softver */
.soft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.soft { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: linear-gradient(180deg, var(--ink-2), var(--ink)); transition: transform .35s var(--ease), border-color .3s; overflow: hidden; }
.soft::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--teal), var(--copper)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.soft:hover { transform: translateY(-4px); border-color: rgba(121, 181, 178, .45); }
.soft:hover::before { transform: scaleX(1); }
.soft.is-hidden { display: none; }
.soft-top { display: flex; justify-content: space-between; align-items: center; }
.soft-icon { width: 42px; height: 42px; padding: 9px; border-radius: 50%; border: 1px solid var(--line); fill: none; stroke: var(--copper); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.soft h3 { font-family: var(--serif); font-weight: 400; font-size: 1.85rem; letter-spacing: -.02em; margin: 26px 0 6px; }
.soft h3 small { font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: 0; }
.soft-short { color: var(--teal-2); font-weight: 600; font-size: .92rem; margin: 0 0 12px; }
.soft p { color: var(--text); font-size: .92rem; line-height: 1.65; margin: 0 0 18px; }
.soft-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.soft-links { display: flex; gap: 14px; font-size: .82rem; font-weight: 600; }
.soft-links a { color: var(--copper); }
.soft-links a:hover { color: var(--white); }

/* blog, članak */
.prose-wrap { max-width: 780px; padding-top: 30px; padding-bottom: clamp(70px, 8vw, 120px); }
.prose { font-size: 1.1rem; line-height: 1.8; color: #dbe3e1; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.02em; color: var(--white); margin: 2.2em 0 .6em; line-height: 1.2; }
.prose h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 1.8em 0 .5em; color: var(--white); }
.prose p { margin: 0 0 1.25em; }
.prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.1em; line-height: .85; padding: 6px 12px 0 0; color: var(--copper); }
.prose a { color: var(--copper); border-bottom: 1px solid rgba(215, 167, 107, .5); }
.prose a:hover { color: var(--white); }
.prose strong { color: var(--white); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--copper); }
.prose blockquote { margin: 2em 0; padding: 6px 0 6px 26px; border-left: 2px solid var(--copper); font-family: var(--serif); font-style: italic; font-size: 1.4rem; line-height: 1.45; color: var(--white); }
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--ink-3); padding: 2px 6px; border-radius: 3px; }
.prose pre { background: var(--ink-2); border: 1px solid var(--line); padding: 18px; overflow-x: auto; border-radius: var(--radius); }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.notice { border: 1px solid rgba(215, 167, 107, .45); background: rgba(215, 167, 107, .08); padding: 12px 16px; border-radius: var(--radius); color: var(--copper-2); font-size: .92rem; }
.post-tags { margin: 40px 0 0; align-items: center; }
.post-tags .muted { font-size: .78rem; margin-right: 6px; }
.author-box { display: flex; align-items: center; gap: 18px; margin: 40px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-box strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.author-box span { color: var(--muted); font-size: .88rem; }
.avatar { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--deep-sea)); color: var(--white) !important; font-family: var(--serif); font-size: 1rem !important; letter-spacing: .04em; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav a { display: flex; flex-direction: column; gap: 6px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.3; padding: 18px; border: 1px solid var(--line-soft); border-radius: var(--radius); transition: border-color .3s; }
.post-nav a:hover { border-color: var(--copper); }
.post-nav a small { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.post-nav a.next { text-align: right; grid-column: 2; }

/* fotografije */
.albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.album { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-soft); transition: transform .35s var(--ease), border-color .3s; }
.album:hover { transform: translateY(-5px); border-color: rgba(121, 181, 178, .5); }
.album-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; }
.album-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.album-mosaic img:first-child { grid-row: 1 / 3; }
.album:hover .album-mosaic img { transform: scale(1.05); }
.album-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.album-count { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.album-title { font-family: var(--serif); font-size: 1.8rem; letter-spacing: -.02em; }
.album-desc { color: var(--text); font-size: .92rem; }
.album-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.album-bar .back-link, .album-bar .filters { margin: 0; }
.masonry { columns: 3 320px; column-gap: 14px; }
.tile { position: relative; display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.tile:hover img { transform: scale(1.04); filter: brightness(1.08); }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: .84rem; background: linear-gradient(0deg, rgba(8, 20, 26, .85), transparent); opacity: 0; transform: translateY(8px); transition: all .35s var(--ease); }
.tile:hover .tile-cap { opacity: 1; transform: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 16, .96); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; height: 100dvh; padding: 30px 0; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .25s; }
.lightbox img.is-loading { opacity: .2; }
.lightbox figcaption { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-top: 16px; font-size: .84rem; color: var(--text); text-align: center; }
.lb-credit { color: var(--muted); }
.lb-count { color: var(--copper); font-family: var(--serif); }
.lightbox button { background: none; border: 0; color: var(--white); font-size: 2.6rem; line-height: 1; cursor: pointer; height: 70px; opacity: .7; transition: opacity .2s, color .2s; }
.lightbox button:hover { opacity: 1; color: var(--copper); }
.lb-close { position: absolute; top: 14px; right: 18px; width: 50px; z-index: 2; }

/* tečajevi */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.course:hover { transform: translateY(-5px); border-color: rgba(215, 167, 107, .5); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.course-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.course:hover .course-media img { transform: scale(1.05); }
.course-media .status { position: absolute; top: 14px; left: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(11, 26, 32, .6); }
.course-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.course-level { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.course-title { font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; letter-spacing: -.015em; }
.course-short { color: var(--text); font-size: .93rem; }
.course-mods { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--copper); font-size: .82rem; font-weight: 600; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-step { border-top: 2px solid var(--ink); padding: 26px 20px 0 0; }
.how-num { font-family: var(--serif); color: #976437; font-size: 1.2rem; }
.how-step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 16px 0 10px; }
.how-step p { color: var(--dark-text); line-height: 1.7; margin: 0; }
.course-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(30px, 6vw, 90px); align-items: start; }
.course-main h2 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: -.02em; margin: 0 0 16px; }
.course-main h2:not(:first-child) { margin-top: 48px; }
.course-main .lead-dark { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--text); line-height: 1.6; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--teal); background: radial-gradient(circle, var(--teal) 0 3px, transparent 4px); }
.modules { list-style: none; padding: 0; margin: 0; counter-reset: modul; border-top: 1px solid var(--line); }
.modules li { counter-increment: modul; display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.25rem; }
.modules li::before { content: counter(modul, decimal-leading-zero); font-family: var(--sans); font-size: .74rem; letter-spacing: .1em; color: var(--copper); }
.course-card { position: sticky; top: 110px; padding: 28px; background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.course-card dl { margin: 20px 0 26px; display: grid; gap: 4px; }
.course-card dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-top: 12px; }
.course-card dd { margin: 0; color: var(--white); }

/* kontakt */
.contact-layout { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(30px, 7vw, 110px); align-items: start; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label > span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--white); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, background .2s; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%), linear-gradient(135deg, var(--copper) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--copper); background: var(--ink-3); }
.form textarea { resize: vertical; min-height: 160px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--text); }
.form .check input { margin-top: 5px; accent-color: var(--copper); width: 16px; height: 16px; }
.form .check span { text-transform: none; letter-spacing: 0; color: var(--text); font-size: .9rem; font-weight: 400; margin: 0; }
.form .button { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.alert.ok { background: rgba(121, 181, 178, .14); border: 1px solid var(--teal); color: var(--teal-2); }
.alert.err { background: rgba(214, 110, 90, .12); border: 1px solid #d66e5a; color: #f0b1a3; }
.contact-aside { display: grid; gap: 30px; padding-top: 6px; }
.ca-block p { color: var(--text); margin: 10px 0 0; line-height: 1.7; }
.ca-links { display: flex; flex-direction: column; gap: 6px; }
.ca-links a { color: var(--copper); }
.ca-links a:hover { color: var(--white); }

/* zasluge */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.credits { width: 100%; border-collapse: collapse; font-size: .86rem; }
.credits th { text-align: left; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.credits td { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); color: var(--text); vertical-align: top; }
.credits a { color: var(--copper); white-space: nowrap; }

/* ---------- podnožje ---------- */

.site-footer { background: #081419; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -.02em; }
.footer-note { color: var(--teal); font-size: .88rem; margin: 8px 0 18px; }
.footer-aff { color: var(--muted); font-size: .84rem; line-height: 1.7; margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.footer-links a { color: #cfd9d7; width: max-content; max-width: 100%; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--copper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .8rem; }
.footer-bottom a:hover { color: var(--copper); }

/* ---------- pojavljivanje pri pomicanju ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- prilagodba zaslonima ---------- */

@media (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav a { font-size: .82rem; }
  .brand { min-width: 0; }
}

@media (max-width: 1024px) {
  .menu-toggle { display: block; margin-left: 4px; }
  .languages { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; flex-direction: column; gap: 0;
    background: rgba(11, 26, 32, .98); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 26px;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 1.5rem; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .paths, .post-grid, .soft-grid, .course-grid, .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .books { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 0; }
  .hero-meta { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .dual-quote .shell { flex-direction: column; align-items: flex-start; }
  .course-layout { grid-template-columns: 1fr; }
  .course-card { position: static; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .post-media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .brand-name { font-size: 1.02rem; }
  .brand-role { font-size: .5rem; letter-spacing: .16em; }
  .strip-inner { grid-template-columns: 1fr; gap: 10px; }
  .strip-inner div + div { border-left: 0; padding-left: 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .paths, .post-grid, .soft-grid, .course-grid, .albums, .how { grid-template-columns: 1fr; }
  .path-card { aspect-ratio: 16 / 11; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar:not(:first-child) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 30px; }
  .pillar h3 { margin: 16px 0 10px; }
  .dual { grid-template-columns: 1fr; }
  .dual-half { min-height: 520px; }
  .public, .split, .cta-inner, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .public-text { padding-top: 0; }
  .book { grid-template-columns: 1fr; padding: 22px; }
  .book-cover-wrap { max-width: 190px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.next { grid-column: 1; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lightbox button { font-size: 2rem; }
  .masonry { columns: 2 150px; column-gap: 8px; }
  .tile { margin-bottom: 8px; }
  .prose { font-size: 1.03rem; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4.2rem); }
}

@media (max-width: 420px) {
  .brand-role { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- donacije ---------- */

.nav a.nav-support { color: var(--copper); }
.nav a.nav-support::before { content: '♥'; font-size: .8em; margin-right: 6px; }
.don-why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); }
.don-points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.don-point { padding: 24px 0 26px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 50px 1fr; column-gap: 10px; }
.don-point .how-num { color: var(--copper); grid-row: span 2; }
.don-point h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0 0 6px; }
.don-point p { color: var(--text); margin: 0; line-height: 1.7; }
.don-pay { background: linear-gradient(180deg, var(--ink-2), var(--deep-sea)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(70px, 8vw, 120px) 0; }
.don-amount { margin-bottom: 36px; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.amount { min-width: 92px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); color: var(--white); font-family: var(--serif); font-size: 1.35rem; cursor: pointer; transition: all .2s; }
.amount:hover { border-color: var(--copper); }
.amount.is-on { background: var(--copper); border-color: var(--copper); color: var(--ink); }
.amount-custom { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); padding: 0 16px; font-family: var(--serif); font-size: 1.2rem; }
.amount-custom:focus-within { border-color: var(--copper); }
.amount-custom input { width: 150px; background: none; border: 0; color: var(--white); font: inherit; padding: 13px 0; outline: none; -moz-appearance: textfield; }
.amount-custom input::-webkit-outer-spin-button, .amount-custom input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.pay-card { padding: clamp(24px, 3vw, 38px); background: rgba(11, 26, 32, .75); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.pay-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pay-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin: 0; letter-spacing: -.02em; }
.pay-card > p { color: var(--text); line-height: 1.7; margin: 0 0 22px; }
.card-marks { display: flex; gap: 8px; }
.card-marks svg { width: 54px; height: 34px; border-radius: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.bank { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bank dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; padding-top: 3px; }
.bank dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }
.bank .amt-label { font-family: var(--serif); font-size: 1.2rem; color: var(--copper); font-weight: 400; }
.copyable { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.copy { background: none; border: 1px solid var(--line); color: var(--teal-2); border-radius: 999px; padding: 3px 11px; font-size: .74rem; cursor: pointer; }
.copy:hover { border-color: var(--copper); color: var(--copper); }
.hub3 { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hub3 canvas { background: #fff; padding: 12px; border-radius: var(--radius); max-width: 100%; height: auto; }
.hub3 figcaption { font-size: .78rem; color: var(--muted); }
.don-thanks { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.lead-light { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.45; color: var(--white); margin: 0 0 20px; font-weight: 300; }
@media (max-width: 1024px) { .pay-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .don-why, .don-thanks { grid-template-columns: 1fr; gap: 26px; }
  .amount { min-width: 0; flex: 1 1 calc(50% - 10px); }
  .amount-custom { flex: 1 1 100%; }
  .amount-custom input { width: 100%; }
  .bank { grid-template-columns: 1fr; gap: 4px; }
  .bank dd { margin-bottom: 10px; }
}

/* ---------- konzalting ---------- */

.konz-num { font-family: var(--serif); color: var(--copper); font-size: 1rem; }
.soft h3.konz-title { font-size: 1.55rem; line-height: 1.15; margin-top: 22px; }
.konz-list { list-style: none; padding: 14px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; }
.konz-list li { font-size: .74rem; color: var(--teal-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.how-4 { grid-template-columns: repeat(4, 1fr); }
.konz-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.konz-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.konz-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 26, .95) 0%, rgba(8, 20, 26, .82) 50%, rgba(8, 20, 26, .6) 100%); }
.konz-band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: end; }
.konz-band-lead { font-size: 1.1rem; line-height: 1.7; color: #d8e2e0; margin: 0 0 22px; }
.konz-tags { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.konz-tags li { font-size: .8rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 5px 12px; color: var(--white); background: rgba(11, 26, 32, .4); }
@media (max-width: 1280px) and (min-width: 1025px) { .nav { gap: 12px; } .nav a { font-size: .8rem; } .brand { min-width: 0; } }
@media (max-width: 1024px) { .how-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .konz-band-inner { grid-template-columns: 1fr; gap: 26px; } .how-4 { grid-template-columns: 1fr; } }
.brand-role { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 1025px) { .brand-role { display: none; } }
.konz-jump { margin-bottom: 26px; }
.konz-services { border-top: 1px solid var(--line); }
.konz-service { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.konz-head { display: flex; align-items: center; gap: 16px; }
.konz-service h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.03em; line-height: 1.08; margin: 22px 0 10px; }
.konz-sub { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 1.15rem; margin: 0 0 18px; }
.konz-main > p:not(.konz-sub) { color: var(--text); line-height: 1.8; font-size: 1.02rem; margin: 0 0 24px; }
.konz-meta { display: grid; grid-template-columns: max-content 1fr; gap: 12px 22px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.konz-meta dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; padding-top: 4px; }
.konz-meta dd { margin: 0; color: var(--text); line-height: 1.65; }
.konz-side { background: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); align-self: start; display: grid; gap: 18px; }
.konz-side .checks li { font-size: .95rem; }
.konz-oblik { padding-top: 16px; border-top: 1px solid var(--line); }
.konz-oblik p { color: var(--text); margin: 10px 0 0; line-height: 1.65; font-size: .95rem; }
.konz-side .text-link { justify-self: start; }
@media (max-width: 1024px) { .konz-service { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .konz-meta { grid-template-columns: 1fr; gap: 4px; } .konz-meta dd { margin-bottom: 10px; } }

/* Sedam puteva u tri stupca: prvi i zadnji zauzimaju po dva, pa se mreža zatvara bez rupe.
   U dva stupca dva mjesta zauzima samo prvi. */
.paths .path-card:first-child, .paths .path-card:last-child { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 1024px) { .paths .path-card:last-child { grid-column: auto; aspect-ratio: 4 / 3.1; } }
.zn-pojmovi { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.zn-pojmovi .chip { cursor: default; }
.cta-side .text-link + .text-link { margin-top: 10px; }
.cta-side .text-link { margin-top: 18px; }
@media (max-width: 760px) { .paths .path-card:first-child, .paths .path-card:last-child { grid-column: auto; aspect-ratio: 16 / 11; } }
