/* Doptiva v2 — »zapisnik«
   Papir s tankimi črtami, serifni naslovi (Newsreader), Montserrat za besedilo,
   mentolni marker za oznake, terakota za gumbe in ročne opombe, temno modra za pasove.
   Postavitev: poravnano levo, dvostolpčni razdelki (naslov levo, vsebina desno). */

@font-face { font-family: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  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: 'Montserrat'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/montserrat-slo.woff2') format('woff2');
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 300 600;
  src: url('../fonts/newsreader-display.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-display: swap; font-weight: 300 600;
  src: url('../fonts/newsreader-display-slo.woff2') format('woff2');
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 300 600;
  src: url('../fonts/newsreader-display-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-display: swap; font-weight: 300 600;
  src: url('../fonts/newsreader-display-italic-slo.woff2') format('woff2');
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E; }

:root {
  /* papir in črnilo */
  --paper: #F2F0E8;
  --paper-2: #E8E4D7;
  --card: #FBFAF6;
  --ink: #16324B;          /* naslovi, črte, logotip */
  --text: #2C3531;         /* besedilo */
  --muted: #5E6763;
  --rule: rgba(22, 50, 75, .09);   /* črte zvezka */
  --line: rgba(22, 50, 75, .18);
  --line-strong: #16324B;
  /* poudarki iz palete */
  --green: #0B6B53;
  --brand: #159676;        /* O v logotipu */
  --mint: #A6F2D5;         /* marker */
  --mint-ink: #0D3A2E;
  --terracotta: #A4513B;   /* gumbi */
  --terracotta-hover: #88412E;
  --on-terracotta: #FFFFFF;
  --annot: #AE4B25;        /* ročne opombe */
  --annot-strong: #933A1A; /* opombe na barvnih listkih */
  --navy: #193F5C;
  --navy-ink: #F4F1E8;
  --navy-text: #C9D7E3;
  /* listki */
  --note-1: #CDEFE1;
  --note-2: #F7D9CC;
  --note-3: #D6E4F2;
  --note-4: #ECE3C6;
  --note-ink: #1E2A26;
  --shadow-hard: 5px 5px 0 var(--ink);
  --focus: #159676;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .9rem;
  --fs-base: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  --fs-3xl: clamp(2.9rem, 1.4rem + 5.6vw, 6rem);

  --gutter: max(20px, 4vw);
  --section: clamp(4.5rem, 3rem + 5vw, 8rem);
  --wrap: 1200px;
  --header-h: 76px;
  --rule-gap: 32px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12191A; --paper-2: #182122; --card: #1C2526;
    --ink: #E9EDE7; --text: #C4CDC8; --muted: #8F9A95;
    --rule: rgba(233, 237, 231, .05); --line: rgba(233, 237, 231, .14); --line-strong: #E9EDE7;
    --green: #6CDBB7; --brand: #5FD0AB; --mint: #1F5E4B; --mint-ink: #D9FFF0;
    --terracotta: #E3A086; --terracotta-hover: #F0B59E; --on-terracotta: #29170F; --annot: #F0A07F; --annot-strong: #F4B192;
    --navy: #0E2638; --navy-ink: #F4F1E8; --navy-text: #B3C6D6;
    --note-1: #1D3A31; --note-2: #3B2820; --note-3: #1E2F40; --note-4: #34301F; --note-ink: #E9EDE7;
    --shadow-hard: 5px 5px 0 #000; --focus: #6CDBB7;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12191A; --paper-2: #182122; --card: #1C2526;
  --ink: #E9EDE7; --text: #C4CDC8; --muted: #8F9A95;
  --rule: rgba(233, 237, 231, .05); --line: rgba(233, 237, 231, .14); --line-strong: #E9EDE7;
  --green: #6CDBB7; --brand: #5FD0AB; --mint: #1F5E4B; --mint-ink: #D9FFF0;
  --terracotta: #E3A086; --terracotta-hover: #F0B59E; --on-terracotta: #29170F; --annot: #F0A07F; --annot-strong: #F4B192;
  --navy: #0E2638; --navy-ink: #F4F1E8; --navy-text: #B3C6D6;
  --note-1: #1D3A31; --note-2: #3B2820; --note-3: #1E2F40; --note-4: #34301F; --note-ink: #E9EDE7;
  --shadow-hard: 5px 5px 0 #000; --focus: #6CDBB7;
  color-scheme: dark;
}

/* osnova */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: var(--fs-base); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 450; line-height: 1.04; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); letter-spacing: -.035em; line-height: .98; }
h2 { font-size: var(--fs-2xl); letter-spacing: -.03em; }
h3 { font-size: 1.6rem; line-height: 1.12; }
em, .it { font-style: italic; }
h1 em, h2 em { color: var(--green); font-weight: 400; }
p { margin: 0; }
p, li { text-wrap: pretty; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--mint); color: var(--mint-ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--paper); }

/* papir z vrsticami */
.ruled { background-color: var(--paper); background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--rule-gap) - 1px), var(--rule) calc(var(--rule-gap) - 1px), var(--rule) var(--rule-gap)); }

/* oznaka z markerjem */
.label { display: inline-block; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--mint-ink); background: var(--mint); padding: 4px 8px 3px; line-height: 1.3; }
.label + h1, .label + h2 { margin-top: 1.1rem; }
.meta { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.annot { font-family: var(--serif); font-style: italic; color: var(--annot); font-size: 1.15rem; line-height: 1.2; }

/* gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; font: 700 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 17px 22px 16px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--terracotta); color: var(--on-terracotta); }
.btn-primary:hover { background: var(--terracotta-hover); color: var(--on-terracotta); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--navy-ink); color: #16324B; }
.btn-light:hover { background: #FFFFFF; color: #16324B; }
.btn-sm { padding: 13px 16px 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; display: inline-flex; gap: .45rem; align-items: center; }
.text-link svg { width: 12px; height: 12px; }
.text-link:hover { color: var(--green); }

/* glava */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line-strong); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.logo { display: inline-flex; color: var(--ink); flex-shrink: 0; }
.logo svg { height: 28px; width: auto; }
.logo .logo-o { fill: var(--brand); }
.site-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.site-nav a.nav-link { color: var(--ink); text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding-block: 6px; border-bottom: 1px solid transparent; }
.site-nav a.nav-link:hover { border-bottom-color: var(--ink); }
.site-nav a.nav-link[aria-current="page"] { border-bottom: 2px solid var(--annot); }
.header-tools { display: flex; align-items: center; gap: .35rem; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-link { display: inline-grid; place-items: center; min-width: 40px; height: 40px; color: var(--ink); text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .09em; border: 1px solid transparent; }
.lang-link:hover { border-color: var(--line); color: var(--ink); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.menu-toggle { display: none; }
.nav-cta { margin-left: .25rem; }
@media (max-width: 1000px) {
  .menu-toggle { display: inline-grid; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line-strong); padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px)); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a.nav-link { font-family: var(--serif); text-transform: none; letter-spacing: -.01em; font-weight: 450; font-size: 1.75rem; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .site-nav a.nav-link[aria-current="page"] { color: var(--green); border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 20px 0 0; }
  .header-inner { gap: .75rem; }
  .header-tools { margin-left: auto; }
}

/* razdelki */
.section { padding-block: var(--section); }
.section-alt { background-color: var(--paper-2); }
.section + .section:not(.section-alt):not(.band):not(.ruled) { border-top: 1px solid var(--line-strong); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.split-head { display: grid; gap: 1.25rem; align-content: start; }
.split-head p { max-width: 26rem; }
.sticky-head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
.section-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { font-size: var(--fs-lg); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .sticky-head { position: static; } }

/* uvod */
.hero { border-bottom: 1px solid var(--line-strong); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.hero-main { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 3vw, 5rem); padding-right: clamp(1.5rem, 4vw, 4rem); display: grid; gap: 1.6rem; align-content: start; }
.hero h1 { max-width: 12ch; }
.hero-lede { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); line-height: 1.6; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .4rem; }
.hero-aside { position: relative; border-left: 1.5px solid var(--annot); min-height: 100%; }
.sticky-note { position: absolute; top: clamp(2.5rem, 5vw, 4.5rem); right: 0; width: 200px; background: var(--mint); color: var(--mint-ink); padding: 16px 18px 18px; font-size: .9rem; font-weight: 600; line-height: 1.35; transform: rotate(3deg); box-shadow: var(--shadow-hard); }
.sketch-wrap { position: absolute; left: 6%; top: 34%; width: 88%; aspect-ratio: 320 / 260; color: var(--annot); }
.sketch { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sketch path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sketch .dash { stroke-dasharray: 6 7; }
.sketch-note { position: absolute; transform: rotate(-6deg); max-width: 12rem; }
.sketch-note.n1 { left: 0; top: 58%; max-width: 10rem; }
.sketch-note.n2 { left: 60%; top: 92%; transform: rotate(-4deg); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .sketch .loop { opacity: 0; animation: fade-in .8s .3s ease-out forwards; }
  .sketch .draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.2s 1s ease-out forwards; }
  .sketch .draw-late { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw .5s 2.1s ease-out forwards; }
  .sketch-note { opacity: 0; animation: fade-in .6s 2.2s ease-out forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-main { padding-right: 0; }
  .hero-aside { border-left: 0; border-top: 1.5px solid var(--annot); min-height: 0; padding-block: 1.75rem 2.25rem; }
  .sticky-note { position: relative; top: auto; right: auto; transform: rotate(-2deg); }
  .sketch-wrap { display: none; }
}

/* temni pas */
.band { background: var(--navy); color: var(--navy-text); }
.band .wrap { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.band-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.band blockquote { margin: 0; font-family: var(--serif); color: var(--navy-ink); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.15; letter-spacing: -.015em; }
.band-side { display: grid; gap: .75rem; font-size: var(--fs-sm); }
.band-side .meta { color: var(--navy-ink); }
@media (max-width: 820px) { .band-grid { grid-template-columns: minmax(0, 1fr); } }

/* trak ploščic (samodejno drsenje) */
.slider-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.slider-head h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
.marquee-toggle { display: inline-flex; align-items: center; gap: .55rem; font: 700 .7rem/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); padding: 11px 14px 10px; cursor: pointer; }
.marquee-toggle:hover { background: var(--ink); color: var(--paper); }
.marquee-toggle svg { width: 12px; height: 12px; }
.marquee-toggle .i-play { display: none; }
.marquee-toggle[aria-pressed="true"] .i-play { display: block; }
.marquee-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee { --gap: clamp(16px, 2vw, 26px); overflow-x: auto; scrollbar-width: none; padding: 6px 0 14px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; gap: var(--gap); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.marquee.is-running { overflow: hidden; }
.marquee.is-running .marquee-track { padding-inline: 0; animation: marquee var(--marquee-duration, 60s) linear infinite; }
.marquee.is-running:hover .marquee-track,
.marquee.is-running:focus-within .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.tile { margin: 0; width: clamp(250px, 24vw, 330px); flex-shrink: 0; background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hard); display: grid; align-content: start; transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease; outline: 2px solid transparent; outline-offset: 4px; }
.tile:hover, .tile:focus-within { transform: translateY(-4px); outline-color: var(--brand); }
.tile-media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line-strong); background: var(--paper-2); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { padding: 16px 18px 18px; display: grid; gap: .45rem; }
.tile h3 { font-size: 1.25rem; }
.tile p { font-size: .85rem; line-height: 1.55; }
.tile .text-link { justify-self: start; margin-top: .3rem; font-size: .7rem; }

/* listki (storitve) */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2rem; padding: .5rem 6px 0 0; }
.note { position: relative; background: var(--note-1); color: var(--note-ink); padding: 2.25rem 1.6rem 1.5rem; box-shadow: var(--shadow-hard); display: grid; gap: .75rem; align-content: start; }
.note::before { content: ""; position: absolute; top: -11px; left: 50%; width: 92px; height: 22px; transform: translateX(-50%) rotate(-2deg); background: rgba(255, 255, 255, .55); border: 1px solid rgba(22, 50, 75, .08); }
.note:nth-child(1) { transform: rotate(-1.4deg); }
.note:nth-child(2) { background: var(--note-2); transform: rotate(1.2deg); margin-top: 1.75rem; }
.note:nth-child(3) { background: var(--note-3); transform: rotate(.9deg); }
.note:nth-child(4) { background: var(--note-4); transform: rotate(-1deg); margin-top: 1.75rem; }
.note-num { font-size: .7rem; font-weight: 700; letter-spacing: .08em; opacity: .7; }
.note h3 { color: var(--note-ink); font-size: 1.65rem; }
.note p { font-size: var(--fs-sm); line-height: 1.6; }
.note .ticks { margin-top: .1rem; }
.note .annot { color: var(--annot-strong); justify-self: end; font-size: 1.05rem; margin-top: .4rem; transform: rotate(-3deg); }
:root[data-theme="dark"] .note::before { background: rgba(255, 255, 255, .12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .note::before { background: rgba(255, 255, 255, .12); } }
@media (max-width: 640px) { .notes { grid-template-columns: minmax(0, 1fr); } .note:nth-child(2), .note:nth-child(4) { margin-top: 0; } }
.ticks { list-style: none; display: grid; gap: .4rem; }
.ticks li { position: relative; padding-left: 1.35rem; font-size: var(--fs-sm); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .75rem; height: 1.5px; background: currentColor; opacity: .55; }
.arrow-sketch { width: 120px; height: auto; color: var(--annot); margin-top: .5rem; }
.arrow-sketch path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.partner-note { display: flex; gap: .9rem; align-items: flex-start; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); font-size: var(--fs-sm); max-width: 50rem; }
.partner-note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--annot); margin-top: 2px; }

/* postopek */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; position: relative; }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 1.5rem; padding-block: 1.4rem; border-top: 1px solid var(--line); counter-increment: step; position: relative; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before { content: counter(step); width: 46px; height: 46px; border: 1.5px solid var(--annot); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; color: var(--annot); grid-row: span 2; }
.step h3 { font-size: 1.55rem; }
.step p { font-size: var(--fs-sm); margin-top: .35rem; max-width: 34rem; }

/* projekti — povzetek */
.projects-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.project-teaser { position: relative; background: var(--card); border: 1px solid var(--line-strong); padding: 2rem 2rem 1.75rem; display: grid; gap: 1rem; align-content: start; }
.project-teaser h3 { font-size: 2.4rem; }
.project-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.stamp { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); border: 1.5px solid currentColor; padding: 6px 9px 5px; transform: rotate(-5deg); white-space: nowrap; }
.stamp-mvp { color: var(--annot); transform: rotate(4deg); }
@media (max-width: 760px) { .projects-row { grid-template-columns: minmax(0, 1fr); } }

/* pogosta vprašanja */
.faq { border-top: 1px solid var(--line-strong); counter-reset: faq; }
.faq details { border-bottom: 1px solid var(--line-strong); counter-increment: faq; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 24px; gap: 1rem; align-items: baseline; padding-block: 1.3rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: counter(faq, decimal-leading-zero); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; font-weight: 300; line-height: 1; color: var(--ink); justify-self: end; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 2.5rem 1.6rem 3.5rem; display: grid; gap: .75rem; max-width: 44rem; }
@media (max-width: 560px) { .faq .answer { padding-left: 0; padding-right: 0; } .faq summary { grid-template-columns: 2rem minmax(0, 1fr) 20px; font-size: 1.25rem; } }

/* zaključni poziv */
.cta-band { background: var(--navy); color: var(--navy-text); text-align: center; position: relative; overflow: hidden; }
.cta-band .wrap { padding-block: clamp(5rem, 3rem + 6vw, 8.5rem); display: grid; justify-items: center; gap: 1.5rem; }
.cta-band h2 { color: var(--navy-ink); font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); max-width: 16ch; }
.cta-band h2 em { color: #8CF8D2; }
.cta-band p { max-width: 34rem; font-size: var(--fs-lg); }
.cta-band .label { background: #8CF8D2; color: #0D3A2E; }
.cta-band .arrow-sketch { position: absolute; right: 8%; bottom: 14%; width: 150px; color: #F0A07F; }
@media (max-width: 760px) { .cta-band .arrow-sketch { display: none; } }

/* podstrani */
.page-head { border-bottom: 1px solid var(--line-strong); }
.page-head .wrap { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: 1.25rem; }
.page-head h1 { max-width: 16ch; font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5rem); }
.page-head .lede { font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); max-width: 40rem; }
.breadcrumbs { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* projekti — podrobno */
.project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(3.5rem, 2rem + 4vw, 6rem); border-top: 1px solid var(--line-strong); }
.project:first-of-type { border-top: 0; }
.project-body { display: grid; gap: 1.1rem; }
.project-body h2 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); }
.project-body .lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; color: var(--ink); }
.project-visual { margin: 0; position: relative; padding: 0 6px 6px 0; }
.project-visual figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 1rem; letter-spacing: .02em; }
@media (max-width: 860px) { .project { grid-template-columns: minmax(0, 1fr); } }

/* ponazoritev vmesnika */
.ui { background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hard); overflow: hidden; font-size: 13px; color: var(--text); }
.ui-top { display: flex; align-items: center; gap: .5rem; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.ui-top span { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-strong); }
.ui-top b { margin-left: .5rem; font-weight: 600; font-size: 12px; color: var(--ink); }
.ui-body { padding: 16px; display: grid; gap: 12px; }
.ui-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ui-title strong { font-size: 14px; }
.ui-chip { font-size: 11px; font-weight: 600; padding: 3px 8px; background: var(--paper-2); color: var(--ink); white-space: nowrap; }
.ui-scroll { overflow-x: auto; }
.ui-table { width: 100%; border-collapse: collapse; }
.ui-table th { text-align: left; font-weight: 600; font-size: 11px; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.ui-table td { padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table .num { font-variant-numeric: tabular-nums; text-align: right; }
.st { font-size: 11px; font-weight: 600; padding: 3px 8px; }
.st-open { background: var(--paper-2); color: var(--ink); }
.st-wait { background: var(--note-2); color: var(--note-ink); }
.st-ok { background: var(--note-1); color: var(--note-ink); }
.st-ordered { background: var(--note-3); color: var(--note-ink); }
.ui-flow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11px; color: var(--muted); }
.ui-flow i { font-style: normal; color: var(--line); }
.phone { width: min(290px, 100%); margin-inline: auto; border: 1px solid var(--line-strong); border-radius: 30px; padding: 10px; background: var(--card); box-shadow: var(--shadow-hard); font-size: 13px; }
.phone-screen { border-radius: 21px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.phone .ui-body { gap: 10px; }
.field { display: grid; gap: 4px; }
.field small { font-size: 11px; color: var(--muted); font-weight: 600; }
.field div { border: 1px solid var(--line); padding: 8px 10px; background: var(--card); color: var(--ink); font-size: 13px; }
.qty { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-block: 8px; }
.qty span:last-child { display: inline-flex; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.qty em { font-style: normal; width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; line-height: 1; color: var(--ink); }
.ui-btn { background: var(--terracotta); color: var(--on-terracotta); text-align: center; padding: 10px; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* o nas */
.stack { display: grid; gap: 1.1rem; }
.stack > p { max-width: 40rem; }
.stack .lead { font-family: var(--serif); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.principles { list-style: none; counter-reset: pr; border-top: 1px solid var(--line-strong); }
.principles li { counter-increment: pr; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .25rem 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line-strong); }
.principles li::before { content: counter(pr, decimal-leading-zero); font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding-top: .55rem; grid-row: span 2; }
.principles h3 { font-size: 1.55rem; }
.principles p { font-size: var(--fs-sm); }
.index-card { background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hard); padding: 1.75rem 2rem; margin: 0 6px 6px 0; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0 2rem; margin: 0; }
.facts dt, .facts dd { padding-block: .7rem; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .9rem; }
.facts dd { margin: 0; color: var(--ink); }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 640px) { .facts { grid-template-columns: minmax(0, 1fr); } .facts dt { border-bottom: 0; padding-bottom: 0; } }

/* kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hard); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin: 0 6px 6px 0; }
.form { display: grid; gap: 1.3rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.form-field { display: grid; gap: .45rem; }
.form-field label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.form-field .opt { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.form-field input, .form-field select, .form-field textarea { font: inherit; font-size: var(--fs-base); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0; padding: 12px 14px; width: 100%; }
.form-field textarea { min-height: 9rem; resize: vertical; line-height: 1.55; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; }
.form-field .hint { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--muted); }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--terracotta); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: var(--fs-sm); padding: 14px 16px; border: 1px solid var(--line-strong); }
.form-status[data-state="ok"] { background: var(--note-1); color: var(--note-ink); }
.form-status[data-state="error"] { background: var(--note-2); color: var(--note-ink); }
.contact-aside { display: grid; gap: 2rem; }
.contact-aside h2 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.contact-aside p, .contact-aside address { font-style: normal; font-size: var(--fs-sm); }
.email-line { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.email-line a { font-family: var(--serif); font-size: 1.7rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line-strong); line-height: 1.2; }
.copy-btn { font: 700 .66rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
.contact-aside .sticky-note { position: relative; top: auto; right: auto; width: auto; max-width: 18rem; transform: rotate(-2deg); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } }

/* blog */
.posts { list-style: none; border-top: 1px solid var(--line-strong); counter-reset: post; }
.post-item { counter-increment: post; border-bottom: 1px solid var(--line-strong); padding-block: 2.25rem; display: grid; grid-template-columns: 4rem minmax(0, 1fr) 11rem; gap: .75rem 2rem; align-items: baseline; }
.post-item::before { content: counter(post, decimal-leading-zero); font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.post-item h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.post-item h2 a { color: var(--ink); text-decoration: none; }
.post-item h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.post-item p { margin-top: .75rem; max-width: 40rem; }
.post-item .text-link { margin-top: 1.1rem; }
.post-item time { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: right; }
@media (max-width: 760px) { .post-item { grid-template-columns: minmax(0, 1fr); } .post-item time { text-align: left; order: -1; } .post-item::before { display: none; } }

.article-head { border-bottom: 1px solid var(--line-strong); }
.article-head .wrap { padding-block: clamp(3rem, 2rem + 4vw, 5rem) 2.5rem; display: grid; gap: 1.25rem; }
.article-head h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.2rem); max-width: 20ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose { font-size: 1.05rem; line-height: 1.78; max-width: 42rem; padding-block: 3rem var(--section); }
.prose > * + * { margin-top: 1.25em; }
.prose .lead { font-family: var(--serif); font-size: 1.55rem; line-height: 1.35; color: var(--ink); }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); margin-top: 2em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .55rem; }
.prose li::marker { color: var(--annot); font-weight: 600; }
.prose blockquote { margin-inline: 0; background: var(--note-1); color: var(--note-ink); padding: 1.5rem 1.75rem; box-shadow: var(--shadow-hard); transform: rotate(-.6deg); font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-bottom: 1px solid var(--line-strong); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose tbody th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin-block: 2.5em; }
.prose .sources { font-size: var(--fs-sm); color: var(--muted); }
.author-box { border-top: 1px solid var(--line-strong); padding-top: 1.5rem; margin-top: 3rem; font-size: var(--fs-sm); color: var(--muted); }
.author-box strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 450; margin-bottom: .25rem; }
.article-cta { margin-top: 2.5rem; padding: 2rem; background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow-hard); display: grid; gap: 1rem; justify-items: start; }
.article-cta > * { margin: 0; }
.article-cta h2 { font-size: 2rem; }
.legal .updated { color: var(--muted); }

/* noga */
.site-footer { border-top: 1px solid var(--line-strong); font-size: var(--fs-sm); }
.site-footer .wrap { padding-block: 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-brand p { margin-top: 1rem; max-width: 22rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.35; color: var(--ink); }
.footer-col h2 { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer-col ul { list-style: none; display: grid; gap: .5rem; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.notfound { padding-block: clamp(5rem, 4rem + 6vw, 9rem); display: grid; gap: 1.5rem; justify-items: start; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* predogled */
.preview-note { background: var(--mint); color: var(--mint-ink); font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-align: center; padding: 7px 16px; }
.preview-note a { color: var(--mint-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .marquee-toggle, .article-cta, .cta-band { display: none; }
  body { background: #fff; color: #000; }
}

/* gibanje — tiho in redko */
.scribble { position: relative; display: inline-block; }
.scribble::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .22em; background: var(--annot); -webkit-mask: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13c40-9 84-11 128-7 32 3 60 6 96 2 24-3 46-6 70-3' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); mask: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13c40-9 84-11 128-7 32 3 60 6 96 2 24-3 46-6 70-3' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: no-preference) {
  .scribble::after { clip-path: inset(0 100% 0 0); animation: wipe .9s 1.1s cubic-bezier(.6,.1,.3,1) forwards; }
  .cta-sketch[data-animate] .arrow-sketch path { stroke-dasharray: 260; stroke-dashoffset: 260; }
  .cta-sketch.is-visible .arrow-sketch path { animation: draw 1s .3s ease-out forwards; }
  .cta-sketch.is-visible .arrow-sketch path + path { animation-delay: 1.1s; }
}
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

/* postopek: korak, ki je na vrsti, se osvetli */
.steps .step { padding-inline: 14px; margin-inline: -14px; transition: background-color .5s ease; }
.steps .step::before { transition: background-color .5s ease, color .5s ease; }
.steps .step.is-active { background: color-mix(in srgb, var(--mint) 38%, transparent); }
.steps .step.is-active::before { background: var(--annot); color: var(--paper); }

/* Refilo: stanje naročila se spreminja */
[data-cycle-row] td { transition: background-color .4s ease; }
[data-cycle-row].is-changing td { background: color-mix(in srgb, var(--mint) 45%, transparent); }
.ui-flow span { transition: color .3s ease; }
.ui-flow span.is-current { color: var(--ink); font-weight: 700; }

/* Terto: obrazec se izpolnjuje */
[data-tstep] { transition: outline-color .3s ease, background-color .3s ease; outline: 2px solid transparent; outline-offset: 2px; }
[data-tstep].is-focus { outline-color: var(--brand); }
.ui-btn.is-sent { background: var(--green); color: var(--paper); }
.section-marquee { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
