@import url('/assets/fonts/fonts.css?v=54');
:root{
  --bg:#f5f4f1;--surface:#ecebe7;--card:#fff;--text:#21211e;--muted:#6b6a65;--line:#dbdad5;--accent:#f2c64e;--header:rgba(245,244,241,.94);
  --radius:19px;--page:min(1320px,calc(100% - 100px));--heading:'Poppins', 'Inter Variable', Inter, sans-serif;
  font-family:'Inter Variable',Inter,-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
}
:root[data-theme=dark]{--bg:#222221;--surface:#2b2b29;--card:#333330;--text:#f4f3ef;--muted:#b5b3ab;--line:#44443f;--accent:#f5cd62;--header:rgba(34,34,33,.95)}
body{transition:background-color .3s ease,color .3s ease}
h1,h2,h3,h4{font-family:var(--heading);font-weight:600;letter-spacing:-.045em}
h1 strong,h2 strong,h3 strong{font-weight:700}
[hidden]{display:none!important}
.title-dot{color:var(--accent)}
:root[data-theme=light] .title-dot{color:#b99428}
/* Header transitions: anchored logo & full navigation up top, an accessible floating control on scroll. */
.site-header{height:94px;background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none;pointer-events:none;transition:height .3s ease}
.header-inner{height:94px;min-height:0;align-items:center;pointer-events:none;gap:20px;transition:height .3s ease}
.logo,.header-right{pointer-events:auto}
.logo{width:170px;transition:transform .32s ease,background .25s ease;display:flex;align-items:center;padding:0 2px}
.logo img{max-height:52px}
.header-right{position:relative;display:flex;gap:24px;align-items:center;min-width:0;transition:background .25s,border .25s,box-shadow .25s,padding .3s;border:1px solid transparent;border-radius:100px;padding:6px 0}
.nav{gap:28px;align-items:center}
.nav a{font-size:15px;font-weight:500;letter-spacing:-.01em}
.nav a[aria-current=page]::after{height:2px;background:var(--accent);bottom:2px;left:12%;right:12%;border-radius:2px}
.tools{gap:8px}
.lang{font-size:12px;letter-spacing:.04em}
.icon-button{border:0;border-radius:50%;height:39px;width:39px;background:var(--surface)}
.icon-button:hover{background:var(--card)}
.menu-toggle{display:none}
.menu-label{font-size:13px;font-weight:550;line-height:1}
.site-header.is-compact .header-inner{height:76px}
.site-header.is-compact .logo{transform:scale(.88);transform-origin:left center;background:var(--header);padding:8px 13px;border:1px solid var(--line);border-radius:50px}
.site-header.is-compact .header-right{padding:6px 6px 6px 11px;gap:0;background:var(--header);border-color:var(--line);box-shadow:0 8px 30px #0000000c;backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px)}
.site-header.is-compact .menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;padding:0 15px;height:39px;background:var(--text);color:var(--bg);border-radius:100px}
.site-header.is-compact .nav{display:flex;position:absolute;top:calc(100% + 9px);right:0;left:auto;width:min(300px,calc(100vw - 36px));padding:12px 19px 16px;background:var(--header);border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 38px #00000018;flex-direction:column;align-items:stretch;gap:0;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .23s,transform .23s,visibility .23s;pointer-events:none;backdrop-filter:blur(20px)}
.site-header.is-compact .nav[data-open=true]{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
.site-header.is-compact .nav a{font-size:18px;padding:13px 7px;border-bottom:1px solid var(--line)}
.site-header.is-compact .nav a:last-child{border-bottom:0}
.site-header.is-compact .nav a[aria-current=page]::after{display:none}
.site-header.is-compact .nav a[aria-current=page]{font-weight:700}
.site-header.is-compact .lang{padding:8px 9px}
.site-header.is-compact .theme-toggle{background:transparent}
/* Hero: four offset cards of original PD projects, different aspect ratios and scale. */
.hero.hero-v2{padding:61px 0 37px;position:relative;overflow:visible;text-align:center}
.hero-head{max-width:1100px;margin:auto;position:relative;z-index:2}
.hero-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;font-weight:600;margin-bottom:27px}
.brand-dot{height:8px;width:8px;display:inline-block;background:var(--accent);border-radius:50%;flex:none}
.kicker-divider{width:18px;height:1px;background:var(--line);display:inline-block;margin:0 3px}
.hero-v2 h1{font-family:var(--heading);font-size:clamp(40px,5.15vw,79px);font-weight:600;line-height:1.06;letter-spacing:-.059em;text-wrap:balance;margin:0 auto;max-width:1100px}
.hero-v2 h1 strong{font-weight:700}
.hero-subtitle{font-size:clamp(17px,1.65vw,23px);margin:21px auto 0;font-weight:400;letter-spacing:-.025em;color:var(--muted)}
.hero-subtitle strong{font-weight:600;color:var(--text)}
.hero-stage{position:relative;height:clamp(280px,32vw,460px);width:min(1090px,100%);margin:24px auto 9px;isolation:isolate;perspective:1200px}
.hero-orbit{position:absolute;inset:13% 10%;background:radial-gradient(ellipse at center,#c5bcab32 0%,transparent 66%);border-radius:50%;opacity:.65;pointer-events:none;z-index:0}
:root[data-theme=dark] .hero-orbit{background:radial-gradient(ellipse at center,#b4a27620 0%,transparent 65%)}
.hero-art{position:absolute;display:block;text-align:left;transition:filter .28s;outline-offset:8px}
.hero-art:hover{opacity:1}
.hero-art.art-1{left:4%;top:21%;width:27%;z-index:1;--turn:-7deg;--offset:-12px}
.hero-art.art-2{left:24%;top:8%;width:35%;z-index:3;--turn:4deg;--offset:-12px}
.hero-art.art-3{left:50%;top:31%;width:26%;z-index:4;--turn:-6deg;--offset:10px}
.hero-art.art-4{right:3%;top:18%;width:27%;z-index:2;--turn:9deg;--offset:0px}
.hero-art-drift,.hero-art-frame{display:block;position:relative;border-radius:18px}
.hero-art-frame{overflow:hidden;transform:rotate(var(--turn));box-shadow:0 25px 48px #14130e27,0 7px 18px #17150d14;transition:box-shadow .35s ease;aspect-ratio:1.27;background:var(--surface)}
.hero-art.art-2 .hero-art-frame{aspect-ratio:1.35}
.hero-art.art-3 .hero-art-frame{aspect-ratio:1.13}
.hero-art img{width:100%;height:100%;object-fit:cover;display:block;transform-origin:50% 50%}
.hero-art .art-label{position:absolute;bottom:10px;left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:8px;border-radius:10px;color:white;background:#171715ae;backdrop-filter:blur(10px);font-size:12px;letter-spacing:-.02em;font-weight:500;opacity:0;transform:translateY(4px);transition:opacity .25s,transform .25s}
.hero-art .art-label svg{width:15px;height:15px;flex:none}
.hero-art:hover .art-label,.hero-art:focus-visible .art-label{opacity:1;transform:translateY(0)}
.hero-art:hover .hero-art-frame{box-shadow:0 30px 70px #12110c40}
.hero-actions{display:flex;justify-content:center;align-items:center;gap:10px;position:relative;z-index:2;margin:10px 0 45px}
.hero-cta{display:inline-flex;align-items:center;gap:15px;padding:15px 23px;height:50px;font-weight:600;font-size:14px;border-radius:11px;transition:background .2s,transform .25s,color .2s}
.hero-cta:hover{opacity:1;transform:translateY(-2px)}
.hero-cta.primary{background:var(--text);color:var(--bg)}
.hero-cta.primary:hover{background:var(--accent);color:#23221c}
.hero-cta.secondary{background:var(--surface);color:var(--text);border:1px solid var(--line)}
.hero-cta.secondary:hover{background:var(--card)}
.hero-tail{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:17px 0 0;font-size:10px;color:var(--muted);font-weight:500;letter-spacing:.095em;text-transform:uppercase;text-align:left}
.tail-separator{color:var(--accent);margin:0 2px}
.hero-tail-right{text-transform:none;letter-spacing:0;font-size:12px}
/* Filter and grid */
#radovi{scroll-margin-top:110px;padding-top:40px}
.v2-section-top{align-items:flex-end;border-top:0;padding:0 0 24px}
.v2-section-top .eyebrow{margin-bottom:11px;font-size:10px}
.v2-section-top h2{font-size:clamp(29px,4.2vw,58px);font-weight:650;letter-spacing:-.055em;line-height:1;display:block}
.v2-section-top .counter{font-size:13px;margin-bottom:4px}
.portfolio-controls{display:flex;justify-content:flex-start;align-items:center;gap:20px;margin:0 0 27px}
.portfolio-filters{display:flex;gap:5px;align-items:center;background:var(--surface);border:1px solid var(--line);padding:5px;border-radius:14px;max-width:100%;overflow:auto;scrollbar-width:none}
.portfolio-filters::-webkit-scrollbar{display:none}
.filter-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:550;white-space:nowrap;border:1px solid transparent;background:transparent;padding:10px 14px;border-radius:10px;color:var(--muted);transition:background .2s,color .2s,border .2s}
.filter-btn span{font-size:10px;opacity:.72;font-variant-numeric:tabular-nums}
.filter-btn:hover{background:var(--card);color:var(--text)}
.filter-btn.active{background:var(--text);color:var(--bg);border-color:var(--text)}
.projects{grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 22px;margin-bottom:120px}
.project-card:nth-child(1){grid-column:auto}
.project-card:nth-child(1) .project-image,.project-image{aspect-ratio:1.37;border-radius:16px;overflow:hidden}
.project-image img{transition:transform .65s cubic-bezier(.22,.61,.36,1)}
.project-card:hover img{transform:scale(1.05)}
.project-meta{padding:15px 1px 0}
.project-meta h3{font-size:clamp(17px,1.65vw,24px);font-family:var(--heading);font-weight:600;letter-spacing:-.04em}
.project-meta p{font-size:13px;color:var(--muted);margin-top:5px}
.round-arrow{height:39px;width:39px;transition:color .25s,background .25s,border .25s,transform .3s}
.project-card:hover .round-arrow{transform:rotate(8deg)}
/* Interior pages, case study metadata and gallery */
.page-top{padding:85px 0 47px;margin-bottom:48px}
.page-top h1{font-size:clamp(39px,5.1vw,76px);letter-spacing:-.06em;font-weight:600}
.project-title{padding:48px 0 25px}
.project-title h1{font-size:clamp(39px,5.9vw,88px);font-weight:700;letter-spacing:-.065em}
.project-description{padding:5px 0 40px;border-bottom:0;grid-template-columns:250px minmax(0,1fr);gap:65px}
.project-copy{font-size:18px;max-width:900px;line-height:1.65}
.project-copy .medium-text{font-family:var(--heading);font-size:clamp(23px,2.3vw,33px);font-weight:600}
.project-gallery{margin:0 0 25px;gap:16px}
.project-gallery:not(.swiper) img{border-radius:22px;background:var(--surface)}
.project-gallery.swiper{display:block;width:100%;position:relative;isolation:isolate;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:22px}
.project-gallery .swiper-slide{height:auto;display:flex;align-items:center;justify-content:center;min-height:clamp(260px,45vw,650px);background:var(--surface)}
.project-gallery.swiper .swiper-slide img{width:100%;max-height:clamp(300px,63vw,830px);height:auto;max-width:100%;object-fit:contain;aspect-ratio:auto;border-radius:0;background:transparent}
.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:21px}
.gallery-counter{font-weight:500;font-variant-numeric:tabular-nums;color:var(--muted);font-size:13px}
.gallery-buttons{display:flex;gap:9px}
.gallery-button{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);transition:background .2s,color .2s}
.gallery-button:hover{background:var(--text);color:var(--bg)}
.gallery-button:disabled,.gallery-button.swiper-button-disabled{opacity:.35;cursor:default}
.gallery-thumbs{display:flex;align-items:center;gap:9px;overflow:auto;scrollbar-width:thin;padding:0 0 13px;margin-bottom:15px}
.gallery-thumb{flex:0 0 78px;aspect-ratio:1.2;overflow:hidden;padding:3px;border:2px solid transparent;border-radius:10px;background:var(--surface)}
.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:6px}
.gallery-thumb[aria-current=true]{border-color:var(--accent)}
.project-navigation{border-top:1px solid var(--line);margin-top:20px}
.service-card{min-height:220px;padding:28px;border-radius:22px;transition:transform .35s,background .35s}
.service-card:hover{transform:translateY(-4px);background:var(--card)}
.price-panel{border-radius:22px}
.article-hero h1{font-weight:700;letter-spacing:-.055em}
.news-row h2{font-weight:600}
.article-feature{border-radius:22px}
.site-footer{padding:65px 0 27px}
.footer-heading{font-size:clamp(30px,4.4vw,61px);font-weight:600;max-width:850px;letter-spacing:-.055em}
.footer-main{align-items:flex-end;padding-bottom:43px}
.footer-links{font-weight:500}
.footer-email{font-size:18px}
.service-ticker{overflow:hidden;border-top:1px solid var(--line);padding:25px 0;position:relative;margin-bottom:0;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.ticker-track{display:flex;width:max-content;align-items:center;animation:pd-ticker 34s linear infinite}
.ticker-group{display:flex;align-items:center;gap:26px;padding-right:26px;flex:none}
.ticker-group span{font-family:var(--heading);font-size:clamp(19px,3vw,35px);font-weight:600;letter-spacing:-.05em;white-space:nowrap;color:var(--muted)}
.ticker-group i{font-style:normal;color:var(--accent);font-size:19px}
.service-ticker:hover .ticker-track{animation-play-state:paused}
@keyframes pd-ticker{to{transform:translateX(-33.333333%)}}
/* Cross-document root snapshots must never animate the fixed header.
   Heading, card and other individual content reveals remain independent. */
@view-transition{navigation:none}
@media(max-width:1150px){:root{--page:calc(100% - 64px)}.nav{gap:18px}.header-right{gap:12px}.logo{width:156px}.hero-v2 h1{font-size:clamp(40px,6vw,69px)}.hero.hero-v2{padding-top:50px}.hero-stage{height:clamp(265px,35vw,430px)}.hero-actions{margin-bottom:40px}}
@media(max-width:780px){
:root{--page:calc(100% - 36px);--radius:13px}
.site-header,.header-inner{height:76px}.header-inner{gap:8px}.logo{width:min(146px,37vw)}
.site-header .header-right{position:relative;gap:0;padding:5px;background:var(--header);border:1px solid var(--line);border-radius:100px;box-shadow:none}
.site-header .nav{display:flex;position:absolute;top:calc(100% + 10px);left:auto;right:0;width:min(300px,calc(100vw - 36px));padding:12px 19px 16px;border-radius:18px;background:var(--header);border:1px solid var(--line);box-shadow:0 12px 38px #00000015;flex-direction:column;align-items:stretch;gap:0;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .2s,transform .2s,visibility .2s;pointer-events:none;backdrop-filter:blur(20px)}
.site-header .nav[data-open=true]{visibility:visible;opacity:1;transform:translateY(0);pointer-events:auto}
.site-header .nav a{font-size:18px;padding:12px 6px;border-bottom:1px solid var(--line)}.nav a:last-child{border-bottom:0}
.site-header .tools{gap:3px}.site-header .lang{padding:7px 8px}
.site-header .icon-button{height:35px;width:35px}
.site-header .theme-toggle{background:transparent}
.site-header .menu-toggle{display:inline-flex;width:35px;height:35px;align-items:center;justify-content:center;gap:0;background:var(--text);color:var(--bg);border-radius:50%;padding:0}
.site-header.is-compact .header-inner{height:76px}.site-header.is-compact .logo{transform:none;background:transparent;border:0;padding:0 2px}
.site-header.is-compact .header-right{padding:5px;box-shadow:0 4px 21px #0000000c}
.site-header.is-compact .menu-toggle{width:35px;height:35px;padding:0;border-radius:50%;gap:0}
.menu-label{display:none}
.hero.hero-v2{padding:45px 0 28px}
.hero-kicker{font-size:9px;gap:6px;letter-spacing:.08em;margin-bottom:23px}
.hero-v2 h1{font-size:clamp(34px,6.8vw,54px);line-height:1.1}
.hero-subtitle{font-size:16px;max-width:330px;line-height:1.55;margin-top:16px}
.hero-stage{height:clamp(225px,45vw,350px);margin:13px auto 4px}
.hero-art-frame,.hero-art-drift{border-radius:13px}
.hero-art.art-1{left:1%;top:20%;width:30%}.hero-art.art-2{left:23%;top:8%;width:36%}.hero-art.art-3{left:50%;top:30%;width:27%}.hero-art.art-4{right:1%;top:18%;width:29%}
.hero-art .art-label{display:none}
.hero-actions{margin:7px 0 34px;gap:8px}
.hero-cta{height:45px;padding:12px 17px;font-size:13px;gap:9px}
.hero-tail{font-size:8px;letter-spacing:.07em;gap:13px}.hero-tail-right{font-size:10px}
#radovi{padding-top:28px;scroll-margin-top:91px}
.v2-section-top{padding-bottom:18px}.v2-section-top h2{font-size:38px}.v2-section-top .counter{font-size:12px}
.portfolio-controls{margin-bottom:20px}
.filter-btn{padding:9px 11px;font-size:12px;gap:5px}
.projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px;margin-bottom:75px}
.project-card:nth-child(1) .project-image,.project-image{aspect-ratio:1.35;border-radius:12px}
.project-meta{padding-top:10px;gap:8px}.project-meta h3{font-size:18px}.project-meta p{font-size:12px}.round-arrow{width:32px;height:32px;flex:none}
.page-top{padding:50px 0 35px;margin-bottom:31px}
.project-description{grid-template-columns:1fr;gap:20px;padding:0 0 25px}
.project-copy .medium-text{font-size:25px}.project-info{order:2}
.project-gallery.swiper{border-radius:15px}.project-gallery .swiper-slide{min-height:230px}.project-gallery.swiper .swiper-slide img{max-height:460px}
.gallery-thumb{flex-basis:60px}.gallery-button{height:40px;width:40px}
.site-footer{padding-top:47px}.footer-main{align-items:flex-start}.footer-heading{font-size:38px}.ticker-group{gap:18px;padding-right:18px}.service-ticker{padding:19px 0}
}
@media(max-width:480px){
.hero.hero-v2{padding-top:37px}.hero-subtitle{font-size:16px;max-width:320px}
.hero-stage{height:218px;margin-top:18px}
.hero-art.art-1{left:3%;top:23%;width:31%}.hero-art.art-2{left:24%;top:11%;width:39%}.hero-art.art-3{left:51%;top:38%;width:29%}.hero-art.art-4{right:2%;top:17%;width:31%}
.hero-art-frame{box-shadow:0 13px 28px #14130e28}
.hero-tail-right{display:none}.hero-tail{justify-content:center}
.v2-section-top h2{font-size:34px}.projects{grid-template-columns:1fr;gap:32px}
.project-card:nth-child(1) .project-image,.project-image{aspect-ratio:1.47}
.project-meta h3{font-size:21px}.project-meta p{font-size:13px}.round-arrow{width:36px;height:36px}
.hero-actions{gap:8px}.hero-cta{font-size:12px;padding:12px 15px}
.gallery-button{height:38px;width:38px}.gallery-thumb{flex-basis:56px}
}
@media(prefers-reduced-motion:reduce){
html{scroll-behavior:auto} .ticker-track{animation:none}.service-ticker{mask-image:none}.ticker-group{flex-wrap:wrap;padding:0;gap:10px}
.ticker-track{width:auto;display:block}.ticker-group:not(:first-child){display:none}
.hero-art-frame,.hero-cta,.project-image img{transition:none}
}
.v2-section-top .counter{white-space:nowrap}
@media(max-width:480px){.v2-section-top{gap:10px}.v2-section-top .counter{margin-bottom:3px;font-size:11px}}

/* V03 — clean, borderless controls, richer local content, and portfolio browsing. */
.portfolio-filters,.filter-btn,.filter-btn.active,
.site-header.is-compact .header-right,.site-header.is-compact .logo,
.site-header.is-compact .nav,.site-header .menu-toggle,
.hero-cta,.hero-cta.secondary,.pill-btn,.gallery-button,.icon-button,
.round-arrow,.gallery-thumb{border:0}
.round-arrow{background:var(--surface)}
.project-card:hover .round-arrow,.round-arrow:hover{background:var(--text);color:var(--bg)}
.gallery-thumb[aria-current=true]{border:0;opacity:1}
.gallery-thumb:not([aria-current=true]){opacity:.62}
.gallery-thumb:hover{opacity:1}
.gallery-thumb:focus-visible,.filter-btn:focus-visible,.hero-cta:focus-visible,.menu-toggle:focus-visible,.project-quick-nav a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:780px){.site-header .header-right,.site-header .nav,.site-header.is-compact .header-right,.site-header.is-compact .nav{border:0}}
.hero.hero-v2{padding-bottom:12px}
.hero-actions{margin-bottom:32px}
.page-lead{max-width:800px;font-size:clamp(17px,1.7vw,21px);line-height:1.65;color:var(--muted);margin:24px 0 0}
.service-grid-expanded{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.service-detail{min-height:345px;gap:28px;padding:30px 32px 32px;scroll-margin-top:115px}
.service-detail .service-head{margin-bottom:0;align-items:flex-start}
.service-detail .service-icon{width:52px;height:52px}
.service-copy h2{font-size:clamp(24px,2.6vw,33px);font-weight:600;margin:0 0 12px;line-height:1.18}
.service-copy p{font-size:16px;line-height:1.65;color:var(--muted);margin:0}
.service-points{display:flex;gap:8px;flex-wrap:wrap;padding:0;margin:0;list-style:none}
.service-points li{font-size:12px;font-weight:500;background:var(--bg);padding:7px 11px;border-radius:7px;color:var(--text)}
.service-contact{background:var(--text);color:var(--bg);border:0;padding:30px 32px 32px;justify-content:space-between;min-height:345px}
.service-contact .service-copy h2{font-size:clamp(30px,3.4vw,44px)}
.service-contact .service-copy p{color:var(--bg);opacity:.8;margin-bottom:24px}
.service-contact .small-kicker{font-size:11px;font-weight:600;letter-spacing:.1em;color:var(--bg);opacity:.8}
.service-contact .hero-cta.primary{background:var(--bg);color:var(--text)}
.service-contact .hero-cta:hover{background:var(--accent);color:#24231e}
.service-contact:hover{background:var(--text);transform:translateY(-4px)}
.home-services{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:95px;align-items:start;padding:0 0 100px}
.home-services-intro{padding-top:12px}
.home-services h2{font-size:clamp(35px,4.4vw,66px);line-height:1.1;letter-spacing:-.06em;margin:18px 0}
.home-services-intro p{font-size:19px;line-height:1.6;color:var(--muted);max-width:580px;margin:0 0 26px}
.home-services-list{border-top:1px solid var(--line)}
.home-services-list a{display:grid;align-items:center;grid-template-columns:35px 1fr 26px;gap:9px;padding:19px 0;border-bottom:1px solid var(--line);font-size:clamp(18px,2.05vw,26px);font-family:var(--heading);font-weight:600;letter-spacing:-.035em}
.home-services-list a:hover{opacity:.86}
.home-services-list a svg{justify-self:end;transition:transform .25s}
.home-services-list a:hover svg{transform:translate(2px,-2px)}
.home-service-number{font-family:'Inter Variable',Inter,sans-serif;color:var(--muted);font-size:12px;font-weight:500;letter-spacing:0}
.about-expanded .about-columns{row-gap:42px}
.about-columns section{border-top:1px solid var(--line);padding-top:24px}
.about-columns h2{margin:0 0 16px;font-size:clamp(24px,2.8vw,34px);line-height:1.15}
.about-columns p{margin:0 0 14px;color:var(--muted);line-height:1.65}
.content-callout{margin-top:50px;background:var(--surface);padding:38px;border-radius:var(--radius)}
.content-callout h2{max-width:850px;font-size:clamp(29px,4vw,48px);line-height:1.14;margin:14px 0 24px}
.price-custom{margin:30px 0;padding:26px 28px;border-radius:var(--radius);background:var(--surface);display:flex;align-items:center;justify-content:space-between;gap:28px}
.price-custom h2{font-size:24px;margin:0 0 10px}
.price-custom p{color:var(--muted);max-width:760px;line-height:1.6;margin:0}
.price-custom .hero-cta{flex-shrink:0}
.project-quick-nav{position:fixed;z-index:25;bottom:19px;left:50%;transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:5px;align-items:stretch;width:min(540px,calc(100% - 28px));padding:6px;border-radius:18px;background:var(--header);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);box-shadow:0 9px 34px #00000025;isolation:isolate}
.project-quick-link,.project-quick-index{border:0;display:flex;min-width:0;align-items:center;gap:12px;padding:13px 15px;border-radius:12px;background:var(--surface);color:var(--text);text-decoration:none;transition:background .22s,color .22s,transform .22s}
.project-quick-link:hover{background:var(--text);color:var(--bg);opacity:1}
.project-quick-link:hover .quick-name small{color:inherit}
.project-quick-link.next{justify-content:flex-end;text-align:right}
.quick-arrow{font-size:20px;font-weight:400;line-height:1;flex:none}
.quick-name{display:flex;flex-direction:column;min-width:0;gap:2px}
.quick-name small{font-size:10px;line-height:1.1;color:var(--muted)}
.quick-name strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.25;font-weight:650}
.project-quick-index{background:transparent;flex-direction:column;gap:2px;justify-content:center;align-items:center;padding:8px 11px;text-align:center;color:var(--muted);line-height:1.1}
.project-quick-index span{font-size:12px;font-variant-numeric:tabular-nums;font-weight:650;color:var(--text)}
.project-quick-index small{font-size:10px;white-space:nowrap}
.project-quick-index:hover{opacity:1;background:var(--surface)}
body:has(.project-quick-nav) .site-footer{padding-bottom:112px}
@media(max-width:1000px){.home-services{gap:55px}.service-detail,.service-contact{padding:26px}}
@media(max-width:780px){
.home-services{grid-template-columns:1fr;gap:25px;padding-bottom:65px}.home-services-intro p{font-size:17px}.home-services h2{font-size:40px}.home-services-list a{padding:16px 0;font-size:21px}
.service-grid-expanded{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.service-detail,.service-contact{min-height:0;gap:22px;padding:20px}.service-copy h2{font-size:24px}.service-copy p{font-size:15px}.service-detail .service-icon{width:43px;height:43px}.service-points li{font-size:11px;padding:6px 8px}
.page-lead{font-size:17px;margin-top:18px}.about-expanded .about-columns{row-gap:20px}.about-columns section{padding-top:18px}.about-columns p{font-size:16px}
.content-callout{padding:23px;margin-top:30px}.price-custom{display:block;padding:22px}.price-custom .hero-cta{margin-top:18px}.price-custom h2{font-size:22px}.price-custom p{font-size:15px}
.project-quick-nav{bottom:12px;border-radius:15px;padding:5px;gap:4px}.project-quick-link{padding:11px 10px;gap:7px;border-radius:10px}.project-quick-index{padding:8px 7px}.quick-name strong{font-size:12px}.quick-name small{font-size:9px}.quick-arrow{font-size:16px}.project-quick-index span{font-size:11px}.project-quick-index small{font-size:9px}
}
@media(max-width:560px){.service-grid-expanded{grid-template-columns:1fr}.service-detail,.service-contact{padding:23px;gap:24px}.service-copy h2{font-size:27px}.service-contact .service-copy h2{font-size:36px}.project-quick-nav{width:calc(100% - 22px);bottom:calc(10px + env(safe-area-inset-bottom))}.quick-name strong{max-width:112px}.hero-actions{margin-bottom:23px}}
/* Avoid a navigation flash when the header first switches into compact mode. */
.site-header.is-compact .nav:not([data-open=true]){visibility:hidden;opacity:0;pointer-events:none;transition:none}
@media(max-width:780px){.site-header .nav:not([data-open=true]){visibility:hidden;opacity:0;pointer-events:none;transition:none}}
.case-story{margin:42px 0 30px}
.case-story section{border-top:1px solid var(--line);padding-top:20px}
.case-story h2{font-size:clamp(24px,3vw,34px);margin:0 0 13px;line-height:1.2}
.case-story p{font-size:17px;line-height:1.66;color:var(--muted);margin:0}
.project-info dd a{display:inline-flex;align-items:center;gap:4px}
@media(max-width:780px){.case-story{margin:30px 0;gap:22px}.case-story p{font-size:16px}}

/* Headings use the theme text color; accent remains on details and controls. */
.service-card{border:0}
.page-top{border-bottom:0}
/* Keep the navigation borderless during both states and transitions. */
.site-header .header-right,
.site-header.is-compact .header-right,
.site-header .logo,
.site-header.is-compact .logo{border:0}
.site-header .header-right{transition:background .25s,box-shadow .25s,padding .3s}
/* Borderless content panels; retain row dividers and input affordances. */
.price-panel,.intro-card,.project-gallery.swiper,.news-row .no-thumb{border:0}
/* One consistent control height across both themes and breakpoints. */
:root{--button-height:48px}
.hero-v2 .hero-cta,.hero-cta,.pill-btn,
.portfolio-filters .filter-btn,.gallery-button,
.project-quick-link,.project-quick-index{
  height:var(--button-height);min-height:var(--button-height);
  box-sizing:border-box
}
.hero-cta,.pill-btn,.portfolio-filters .filter-btn{padding-block:0;align-items:center}
.site-header .tools .icon-button,
.site-header .tools .theme-toggle,
.site-header .tools .menu-toggle,
.site-header.is-compact .tools .menu-toggle,
.gallery-button,.round-arrow{
  height:var(--button-height);width:var(--button-height);min-height:var(--button-height);min-width:var(--button-height);
  box-sizing:border-box
}
.site-header.is-compact .tools .menu-toggle{width:auto;min-width:var(--button-height)}
.site-header .tools .lang{display:inline-flex;align-items:center;justify-content:center;height:var(--button-height)}
.project-quick-link,.project-quick-index{padding-block:0}
.gallery-thumb{height:var(--button-height);min-height:var(--button-height);aspect-ratio:auto}
@media(max-width:780px){
  .site-header .tools .menu-toggle,.site-header.is-compact .tools .menu-toggle{width:var(--button-height);padding-inline:0}
}
@media(max-width:360px){.hero-actions{flex-wrap:wrap}}

/* Date-only article metadata. */
.article-date{text-align:center}
/* Article titles and return links share the centered date alignment. */
.news-detail .article-hero{text-align:center;margin-top:22px}
.news-detail .back{display:flex;width:max-content;max-width:100%;margin:72px auto 0}
@media(max-width:780px){.news-detail .back{margin-top:41px}}
.news-detail .back svg{width:16px;height:16px}
/* Reuse the portfolio's floating quick navigator for news posts. */
.article-quick-nav .quick-arrow{width:20px;height:20px}
@media(max-width:780px){.article-quick-nav .quick-arrow{width:16px;height:16px}}
/* Service cards: hide before first paint, then reveal only once. No late opacity
   reset and no conflict with the existing hover transform or theme colors. */
@media(prefers-reduced-motion:no-preference){
  .pd-service-reveal-boot .service-grid-expanded .service-card:not([data-service-reveal]),
  .service-grid-expanded .service-card[data-service-reveal="pending"]{
    opacity:0;translate:0 16px;transition:none
  }
  .service-grid-expanded .service-card[data-service-reveal="visible"]{
    opacity:1;translate:0 0;
    transition:opacity .52s cubic-bezier(.22,.75,.25,1),translate .62s cubic-bezier(.22,.75,.25,1),transform .35s,background .35s
  }
  .service-grid-expanded .service-card[data-service-reveal="pending"]:focus-within{
    opacity:1;translate:0 0
  }
}

/* Croatian wordmark: preserve its intrinsic ratio without a height cap. */
html[lang=hr] .logo img{max-height:none;height:auto;width:100%}
html[lang=hr] .logo{width:160px}
@media(max-width:349px){
  html[lang=hr] .logo{width:48px;flex-basis:48px}
  html[lang=hr] .logo img{content:url("/assets/prvi-dojam-mark.svg");width:auto;height:52px;max-height:none}
}

@media(max-width:780px) and (hover:none){
  .service-grid-expanded .service-card:hover{transform:none;background:var(--surface)}
  .service-grid-expanded .service-contact:hover{transform:none;background:var(--text)}
}

/* Consistent pill-shaped button controls in light and dark, desktop and mobile. */
.hero-cta,.pill-btn,.portfolio-filters .filter-btn,
.project-quick-link,.project-quick-index,.gallery-thumb,.tags a,
.contact-page .contact-email-action{border-radius:30px}
/* Match the containers of grouped pill controls. Gallery artwork is unchanged. */
.portfolio-filters,.project-quick-nav{border-radius:30px}
.gallery-thumb img{border-radius:inherit}

/* V54 — genuine regular/bold contrast, without changing prominent project
   or article titles that are intentionally set entirely in bold. */
h1,.hero-v2 h1,.page-top h1{font-weight:500}
h1 strong,.hero-v2 h1 strong,.page-top h1 strong{font-weight:700}
.project-title h1,.article-hero h1{font-weight:700}

/* Fixed header on every route. Normal and compact modes share the same
   vertical centre and control height. Motion is scoped below to scroll-mode
   changes and mobile menu items, not page navigation. */
:root{--pd-header-height:94px}
body{padding-top:var(--pd-header-height)}
.site-header{
  position:fixed;inset:0 0 auto;height:var(--pd-header-height);
  transform:none;translate:none;
}
.site-header .header-inner,.site-header.is-compact .header-inner{
  height:var(--pd-header-height);min-height:0;
}
.site-header,.site-header .header-inner,.site-header .logo,
.site-header .logo img,.site-header .header-right,.site-header .tools,
.site-header .tools *{
  animation:none;transition:none;
}
.site-header .nav,.site-header.is-compact .nav,
.site-header .nav[data-open=true],.site-header.is-compact .nav[data-open=true],
.site-header .nav a,.site-header.is-compact .nav a{
  animation:none;transition:none;
}
.site-header .logo,.site-header.is-compact .logo{
  position:relative;isolation:isolate;
  padding:0 2px;border:0;transform:none;translate:none;background:transparent;
}
html[lang=hr] .site-header .logo img{
  aspect-ratio:512/200;max-height:none;width:100%;height:auto;object-fit:contain;
}
html[lang=en] .site-header .logo img{
  aspect-ratio:1025/200;width:100%;height:auto;object-fit:contain;
}
.site-header.is-compact .nav{
  transform:none;translate:none;background:var(--bg);
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.site-header.is-compact .nav[data-open=true]{transform:none;translate:none}
@media(min-width:781px){
  /* Reserve the same gutter even in browsers without scrollbar-gutter
     support, and anchor navigation to the identical page width on all routes. */
  html{overflow-y:scroll;scrollbar-gutter:stable}
  .site-header{--pd-floating-height:calc(var(--button-height) + 12px)}
  html[lang=hr] .site-header{--pd-logo-normal-width:160px;--pd-logo-floating-width:140.8px}
  html[lang=en] .site-header{--pd-logo-normal-width:240px;--pd-logo-floating-width:211.2px}
  html[lang] .site-header .logo{
    width:var(--pd-logo-normal-width);height:var(--pd-floating-height);
    flex:0 0 auto;align-items:center;justify-content:center;
    padding:0 2px;border-radius:50px;background:transparent;
  }
  html[lang] .site-header.is-compact .logo{
    width:var(--pd-logo-floating-width);padding-inline:11.5px;background:var(--header);
  }
  .site-header .header-right,.site-header.is-compact .header-right{
    height:var(--pd-floating-height);padding:6px 6px 6px 11px;flex-shrink:0;
  }
  .site-header .tools{flex-shrink:0}
  .site-header .lang,.site-header.is-compact .lang{padding:8px 9px}
  .site-header:not(.is-compact) .nav a{font-weight:500;flex-shrink:0;white-space:nowrap}
  /* Animations are armed only by a genuine scroll-mode change, never by
     page loads or ordinary menu-link activation. Both capsules stay centred. */
  @media(prefers-reduced-motion:no-preference){
    html[lang] .site-header.pd-scroll-motion .logo{
      transition:width .36s cubic-bezier(.22,.75,.25,1),padding-inline .36s cubic-bezier(.22,.75,.25,1),background-color .28s ease!important;
    }
    .site-header.pd-scroll-motion .header-right{
      transition:background-color .28s ease,box-shadow .28s ease!important;
    }
  }
}
@media(max-width:780px){
  :root{--pd-header-height:76px}
  .site-header .header-right,.site-header.is-compact .header-right{gap:0;padding:5px}
  .site-header .lang,.site-header.is-compact .lang{padding:7px 8px}
  .site-header .nav,.site-header.is-compact .nav{
    top:calc(100% + 10px);padding:12px 19px 16px;border-radius:18px;
    transform:none;translate:none;background:var(--bg);
    backdrop-filter:none;-webkit-backdrop-filter:none;
  }
  .site-header .nav a,.site-header.is-compact .nav a{padding:12px 6px}
  .site-header .nav[data-open=true],.site-header.is-compact .nav[data-open=true]{
    transform:none;translate:none;
  }
}
@media(max-width:349px){
  html[lang=hr] .site-header .logo img{
    width:calc(52px * 82 / 168);height:52px;aspect-ratio:82/168;
  }
}
@media(max-width:409px){
  html[lang=en] .site-header .logo img{aspect-ratio:1/1}
}

/* V59 — explicit mobile entrance is started by the menu's open handler.
   CSS is a fallback only when the Web Animations API is unavailable.
   Both use transform rather than individual translate for wider mobile
   compatibility. The header and the popup's box never move. */
@media(max-width:780px) and (prefers-reduced-motion:no-preference){
  .site-header .nav[data-open=true][data-mobile-motion=css]{
    animation:pd-mobile-panel-in .18s ease both;
  }
  .site-header .nav > a:nth-child(1){--pd-menu-item-index:0}
  .site-header .nav > a:nth-child(2){--pd-menu-item-index:1}
  .site-header .nav > a:nth-child(3){--pd-menu-item-index:2}
  .site-header .nav > a:nth-child(4){--pd-menu-item-index:3}
  .site-header .nav > a:nth-child(5){--pd-menu-item-index:4}
  .site-header .nav > a:nth-child(6){--pd-menu-item-index:5}
  .site-header .nav > a:nth-child(7){--pd-menu-item-index:6}
  .site-header .nav > a:nth-child(n+8){--pd-menu-item-index:7}
  .site-header .nav[data-open=true][data-mobile-motion=css] > a{
    animation:pd-mobile-nav-item-in .5s cubic-bezier(.36,0,.23,1) backwards;
    animation-delay:calc(.055s + var(--pd-menu-item-index,0)*.075s);
  }
  .site-header .nav[data-open=true][data-mobile-motion=css] > a:focus-visible{
    animation:none;opacity:1;transform:none;
  }
}
@keyframes pd-mobile-panel-in{from{opacity:0}to{opacity:1}}
@keyframes pd-mobile-nav-item-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

/* A single scroll easing curve (no CSS smooth-scroll layered over Lenis
   or the explicit native animation). Other native anchor links are unchanged. */
html.lenis.lenis-smooth,html.pd-cta-scrolling{scroll-behavior:auto!important}
