
@font-face { font-family: 'Geist Serif'; src: url('GeistSerifVF.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }
:root { --paper: #fbfbf8; --ink: #232326; --mute: #6d6d72; --yolk: #ffd200; --line: rgb(35 35 38 / .14); --gut: clamp(16px, 2.6vw, 36px); --serif: 'Geist Serif', 'Times New Roman', serif; --ease: cubic-bezier(.22, 1, .36, 1); }
* { box-sizing: border-box; } html { scroll-behavior: smooth; }
html[lang=hr] [data-l=en], html[lang=en] [data-l=hr] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 'Onest', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; } img { max-width: 100%; display: block; }
.nav { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px var(--gut); background: linear-gradient(var(--paper) 70%, transparent); }
.nav .logo img { height: 64px; } .nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; }
.nav nav a { text-decoration: none; } .nav nav a:hover, .nav nav a.on { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.langbtn { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 9px; border: 1.5px solid var(--ink); border-radius: 99px; background: none; color: var(--ink); font: 700 12px/1 'Onest', sans-serif; letter-spacing: .08em; cursor: pointer; } .langbtn:hover { background: var(--ink); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; }
.btn.ghost { background: none; color: var(--ink); border: 1.5px solid var(--ink); } .btn:hover { background: #000; color: #fff; }
.serif { font-family: var(--serif); font-weight: 480; letter-spacing: -.03em; line-height: 1; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.lb { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: 1fr auto; place-items: center; background: rgb(20 20 22 / .92); padding: 24px; cursor: zoom-out; } .lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100vh - 90px); border-radius: 4px; } .lb p { margin: 10px 0 0; color: #fff; font-size: 15px; text-align: center; } .lb button { position: fixed; top: 14px; right: 18px; border: 0; background: none; color: #fff; font-size: 40px; cursor: pointer; }
.next { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin: 70px auto 80px; padding: 28px var(--gut) 0; max-width: 1240px; border-top: 1px solid var(--line); }
.next a { text-decoration: none; max-width: 48%; } .next .serif { font-size: clamp(22px, 3vw, 40px); display: block; margin-top: 6px; line-height: 1.05; }
.vid { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; background: #ddd; } .vid img { width: 100%; height: 100%; object-fit: cover; } .vid i { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(0 0 0 / .28); color: #fff; font: 600 16px 'Onest'; font-style: normal; }
footer.ft { padding: 26px var(--gut) 40px; text-align: center; font-size: 13px; color: var(--mute); }
@media (max-width: 760px) { body { font-size: 16px; } .nav { flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 14px; } .nav .logo img { height: 54px; }
  .nav nav { flex: 1 0 100%; justify-content: space-between; gap: 6px; font-size: clamp(12.5px, 3.5vw, 14.5px); }
  .langbtn { position: absolute; top: 22px; right: var(--gut); min-width: 40px; height: 30px; } }

/* ---- project page: the case on top, then one centred column ---- */
.top { display: grid; justify-items: center; text-align: center; padding: 18px var(--gut) 0; }
.case { --w: min(420px, 68vw); width: var(--w); aspect-ratio: 1.136; padding: calc(var(--w) * .034) calc(var(--w) * .034) calc(var(--w) * .034) calc(var(--w) * .095); border-radius: 6px; background: linear-gradient(120deg, #eef0f3, #e2e5ea); border: 1px solid #d3d6db; box-shadow: 0 40px 60px -34px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .7); transform: perspective(1100px) rotateX(7deg); transition: transform .8s var(--ease); }
.case:hover { transform: perspective(1100px) rotateX(0); }
.cover { height: 100%; display: flex; flex-direction: column; align-items: center; background: var(--accent); color: var(--on); padding: 5% 6% 6%; text-align: center; }
.cover small { font-size: 9px; font-weight: 700; letter-spacing: .16em; } .cover .card { flex: 1; width: 78%; margin: 5% 0; background: #fff; display: grid; place-items: center; padding: 6%; min-height: 0; overflow: hidden; box-shadow: 0 8px 20px rgb(0 0 0 / .25); }
.cover .card img { width: 100%; height: 100%; min-height: 0; object-fit: contain; } .cover b { font: 480 clamp(15px, 1.9vw, 25px)/1 var(--serif); letter-spacing: -.03em; text-transform: uppercase; }
.top .eyebrow { margin: 44px 0 0; } .top h1 { margin: 10px 0 0; font-size: clamp(40px, 7.2vw, 100px); max-width: 1200px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; max-width: 900px; margin: 34px auto 0; padding: 20px var(--gut); border-block: 1px solid var(--line); text-align: center; }
.facts div b { display: block; font: 500 21px/1.2 var(--serif); letter-spacing: -.01em; } .facts div > span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.text { max-width: 720px; margin: 44px auto 0; padding: 0 var(--gut); font-size: 18.5px; line-height: 1.72; overflow-wrap: anywhere; } .text > p.lead { font: 420 1.38em/1.4 var(--serif); letter-spacing: -.01em; }
.text h2 { margin: 1.5em 0 .4em; font-size: 32px; line-height: 1.1; } .text ul { padding-left: 1.2em; } .text li { margin: .3em 0; } .text a { text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--yolk); }
.acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 0; }
.sec { max-width: 1240px; margin: 90px auto 0; padding: 0 var(--gut); } .sec > h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 22px; font-size: clamp(30px, 3.6vw, 48px); } .sec > h2 i { font: 600 13px 'Onest'; letter-spacing: .1em; color: var(--mute); font-style: normal; }
.grid { columns: 4 240px; column-gap: 12px; } .grid .ph { display: block; margin: 0 0 12px; break-inside: avoid; overflow: hidden; border-radius: 3px; background: #eee; cursor: zoom-in; } .grid .ph img { width: 100%; transition: scale .6s var(--ease); } .grid .ph:hover img { scale: 1.04; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .case { --w: min(300px, 74vw); } .top .eyebrow { margin-top: 32px; } .facts { gap: 14px 26px; } .facts div { flex: 1 1 40%; } .text { font-size: 17.5px; margin-top: 32px; } .text > p.lead { font-size: 1.16em; } .grid { columns: 2 140px; column-gap: 8px; } .grid .ph { margin-bottom: 8px; } .vids { grid-template-columns: 1fr; } }

/* ---- blog post: text on the left, the photo beside it changes as you read ---- */
.split { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(24px, 4vw, 60px); padding: 20px var(--gut) 0; max-width: 1500px; margin: 0 auto; }
.split h1 { margin: 12px 0 30px; font-size: clamp(44px, 6.4vw, 104px); overflow-wrap: anywhere; } .step { padding: 0 0 12vh; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; } .step h2 { font-size: 34px; margin: 0 0 .4em; line-height: 1.1; } .step ul { padding-left: 1.2em; } .step .vid { max-width: 420px; margin: 1.2em 0; }
.inline { display: none; } .fg { margin: 0; } .fg figcaption { margin-top: 6px; font: 600 15px/1.35 'Onest'; color: var(--mute); } .fg .ph { display: block; cursor: zoom-in; }
.stage { position: sticky; top: 96px; height: calc(100vh - 130px); display: grid; grid-template-rows: 1fr auto auto; gap: 10px; }
.stage .big { position: relative; overflow: hidden; border-radius: 4px; background: #ecebe6; } .stage .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 30px; } .cap b { font: 600 17px/1.35 'Onest'; } .cap span { flex: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--mute); font-variant-numeric: tabular-nums; }
.stage .strip { display: flex; gap: 8px; min-height: 64px; overflow-x: auto; } .stage .strip button { flex: none; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 3px; overflow: hidden; cursor: pointer; background: #ddd; } .stage .strip button.on { border-color: var(--yolk); } .stage .strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .stage { display: none; } .inline { display: grid; gap: 14px; margin-top: 20px; } .step { padding-bottom: 30px; font-size: 17px; } }

/* ---- blog list ---- */
.bl-head { max-width: 1240px; margin: 0 auto; padding: 30px var(--gut) 0; } .bl-head h1 { margin: 10px 0 12px; font-size: clamp(50px, 8vw, 120px); } .bl-head p { max-width: 620px; margin: 0; color: var(--mute); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 44px 28px; max-width: 1240px; margin: 46px auto 0; padding: 0 var(--gut); }
.card-p { text-decoration: none; display: block; } .card-p .im { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: #ecebe6; } .card-p .im img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); } .card-p:hover .im img { scale: 1.05; }
.card-p .eyebrow { display: block; margin: 14px 0 6px; } .card-p h2 { margin: 0 0 8px; font-size: 30px; line-height: 1.08; } .card-p p { margin: 0; font-size: 15.5px; line-height: 1.55; color: #45454a; }
.cards .card-p:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; } .cards .card-p:first-child h2 { font-size: clamp(36px, 4.6vw, 64px); }
@media (max-width: 760px) { .cards .card-p:first-child { grid-template-columns: 1fr; gap: 0; } }
