@font-face{font-family:Archivo;src:url(../fonts/Archivo-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Archivo;src:url(../fonts/Archivo-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
:root{--bg:#f2f0ea;--surface:#e6e3db;--ink:#11110f;--muted:#6d6b65;--line:rgba(17,17,15,.2);--accent:#ff4d00;--pad:clamp(1rem,2.7vw,2.6rem);--ease:cubic-bezier(.22,1,.36,1)}
[data-theme=dark]{--bg:#11110f;--surface:#20201d;--ink:#f4f1e9;--muted:#a7a49c;--line:rgba(244,241,233,.22)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;overflow-x:clip;background:var(--bg);color:var(--ink);font-family:Archivo,Arial,sans-serif;font-size:16px;line-height:1.25;-webkit-font-smoothing:antialiased;transition:background-color .35s,color .35s}
a{color:inherit;text-decoration:none}button{color:inherit;font:inherit}img{display:block;max-width:100%;height:auto}p,h1,h2,h3{margin:0}em{font-weight:400;color:var(--muted)}
::selection{background:var(--accent);color:#fff}
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:1000;background:var(--ink);color:var(--bg);padding:.75rem 1rem}.skip-link:focus{top:1rem}
.section-pad{padding-left:var(--pad);padding-right:var(--pad)}
.site-header{position:fixed;inset:0 0 auto;z-index:100;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;height:5.4rem;padding:0 var(--pad);background:color-mix(in srgb,var(--bg) 88%,transparent);border-bottom:1px solid transparent;backdrop-filter:blur(14px);transition:height .3s var(--ease),border-color .3s}
.site-header.compact{height:4.2rem;border-color:var(--line)}
.brand,.footer-brand{font-size:clamp(2rem,3.2vw,3.4rem);font-weight:700;line-height:.75;letter-spacing:-.08em}
.desktop-nav{justify-self:center;display:flex;gap:clamp(1.4rem,3vw,3.4rem)}
.desktop-nav a,.header-cta,.text-button{font-size:.92rem}
.desktop-nav a{position:relative}.desktop-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-.25rem;height:1px;background:currentColor;transition:right .3s var(--ease)}.desktop-nav a:hover:after,.desktop-nav a.active:after{right:0}
.header-actions{justify-self:end;display:flex;align-items:center;gap:1.15rem}.text-button,.theme-toggle,.menu-toggle{appearance:none;border:0;background:none;padding:0;cursor:pointer}.theme-toggle{width:1.5rem;height:1.5rem;border:1px solid var(--ink);border-radius:50%;padding:2px}.theme-toggle span{display:block;width:50%;height:100%;background:var(--ink);border-radius:999px 0 0 999px}.header-cta:before{content:"";display:inline-block;width:.5rem;height:.5rem;margin-right:.5rem;border-radius:50%;background:var(--accent)}.menu-toggle,.mobile-menu{display:none}
.eyebrow,.section-index{font-size:.75rem;letter-spacing:.04em;text-transform:uppercase}.eyebrow{display:flex;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--line)}
.hero{--pointer-x:50%;--pointer-y:42%;position:relative;isolation:isolate;overflow:hidden;padding-top:8.4rem}.hero:before{content:"";position:absolute;z-index:-1;inset:4.5rem 0 0;pointer-events:none;background:repeating-radial-gradient(ellipse at var(--pointer-x) var(--pointer-y),color-mix(in srgb,var(--accent) 42%,transparent) 0 1px,transparent 1px 18px);mask-image:radial-gradient(circle 16rem at var(--pointer-x) var(--pointer-y),#000 0,rgba(0,0,0,.75) 35%,transparent 72%);opacity:.58;transform:scale(1.08);transition:opacity .35s}.hero:not(.pointer-active):before{opacity:.16}.hero>*{position:relative;z-index:1}.hero-title{max-width:1500px;margin-top:clamp(3rem,7vw,7.5rem);font-size:clamp(3.4rem,8.1vw,9rem);font-weight:400;line-height:.87;letter-spacing:-.065em}.hero-title em{position:relative;isolation:isolate;display:inline-block;padding:0 .06em;color:#11110f;font-style:italic}.hero-title em:after{content:"";position:absolute;z-index:-1;left:-.03em;right:-.06em;bottom:.02em;height:.72em;background:var(--accent);clip-path:polygon(1% 9%,99% 0,97% 88%,2% 100%);transform:rotate(-1deg) scaleX(1.02);transform-origin:center}
.hero-bottom{display:grid;grid-template-columns:1fr minmax(18rem,32rem);gap:2rem;align-items:end;margin:clamp(3rem,5vw,5rem) 0 2rem}.hero-copy{grid-column:2;font-size:clamp(1.05rem,1.4vw,1.35rem);line-height:1.4}.hero-links{grid-column:2;display:flex;align-items:center;gap:1.6rem;margin-top:1rem}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:2rem;padding:1rem 1.1rem;border:1px solid var(--ink);font-size:.85rem}.button-dark{background:var(--ink);color:var(--bg)}.button span:last-child,.text-link span:last-child{transition:transform .3s var(--ease)}.button:hover span:last-child,.text-link:hover span:last-child{transform:translate(.2rem,-.2rem)}
.text-link{display:inline-flex;align-items:center;gap:1.5rem;padding-bottom:.25rem;border-bottom:1px solid var(--ink);font-size:.85rem}
.statement{display:grid;grid-template-columns:1fr 3fr;gap:2rem;padding-top:clamp(8rem,16vw,17rem);padding-bottom:clamp(8rem,14vw,14rem)}.statement-title{grid-column:2;font-size:clamp(2.8rem,6.2vw,7.2rem);font-weight:400;line-height:.94;letter-spacing:-.055em}.statement-copy{grid-column:2;justify-self:end;max-width:37rem;margin-top:4rem;font-size:clamp(1.05rem,1.55vw,1.55rem);line-height:1.45;color:var(--muted)}
.projects{padding-top:5rem;padding-bottom:clamp(8rem,14vw,14rem);background:var(--ink);color:var(--bg)}.projects .section-index{color:var(--muted)}.section-heading{display:grid;grid-template-columns:1fr 2fr auto;align-items:end;gap:2rem;margin-bottom:clamp(3.5rem,7vw,7rem)}.section-heading h2{font-size:clamp(2.5rem,5vw,6rem);font-weight:400;line-height:.95;letter-spacing:-.05em}.projects .text-link{border-color:var(--bg)}
.services{padding-top:clamp(7rem,13vw,13rem);padding-bottom:clamp(7rem,13vw,13rem)}.services .section-heading{grid-template-columns:1fr 3fr}.service-list{margin-left:25%}.service-row{display:grid;grid-template-columns:4rem 1.5fr 1fr;gap:2rem;align-items:start;padding:2.2rem 0;border-top:1px solid var(--line)}.service-row:last-child{border-bottom:1px solid var(--line)}.service-row>span{font-size:.75rem;color:var(--muted)}.service-row h3{font-size:clamp(1.7rem,3vw,3.6rem);font-weight:400;letter-spacing:-.04em}.service-row p{max-width:28rem;color:var(--muted);line-height:1.5}
.process{padding-top:5rem;padding-bottom:8rem;background:var(--accent);color:#10100e}.process-intro{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin:clamp(5rem,9vw,9rem) 0}.process-intro h2{font-size:clamp(2.7rem,5.5vw,6.5rem);font-weight:400;line-height:.95;letter-spacing:-.055em}.process-intro p{align-self:end;max-width:32rem;font-size:clamp(1.05rem,1.5vw,1.45rem);line-height:1.45}.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin:0;padding:0;border:1px solid rgba(16,16,14,.35);list-style:none;background:rgba(16,16,14,.35)}.process-steps li{display:flex;min-height:13rem;flex-direction:column;padding:1rem;background:var(--accent)}.process-steps span{font-size:.7rem}.process-steps strong{margin-top:auto;font-size:1.35rem;font-weight:400}.process-steps small{margin-top:.45rem;opacity:.65}
.contact{padding-top:5rem;padding-bottom:4rem;background:var(--ink);color:var(--bg)}.contact-link{display:grid;grid-template-columns:1fr auto;align-items:end;margin:clamp(5rem,9vw,9rem) 0;padding-bottom:2rem;border-bottom:1px solid var(--line)}.contact-link h2{font-size:clamp(3.4rem,8vw,9rem);font-weight:400;line-height:.9;letter-spacing:-.06em}.contact-link>span{font-size:clamp(3rem,6vw,7rem);transition:transform .4s var(--ease)}.contact-link:hover>span{transform:translate(.5rem,-.5rem)}.contact-meta{display:flex;justify-content:space-between;font-size:.9rem}.contact-meta a{border-bottom:1px solid}
.site-footer{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;align-items:end;min-height:20rem;padding-top:5rem;padding-bottom:2rem;background:#11110f;color:#f4f1e9;border-top:1px solid rgba(244,241,233,.16)}.footer-brand{font-size:clamp(5rem,13vw,14rem)}.site-footer>div{display:flex;flex-direction:column;gap:.55rem;font-size:.8rem}.site-footer>div:last-child{text-align:right}
.reveal{opacity:1;transform:none}.js .reveal{opacity:0;transform:translateY(1.5rem);transition:opacity .75s var(--ease),transform .75s var(--ease)}.js .reveal.visible{opacity:1;transform:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:850px){.site-header{grid-template-columns:1fr auto;height:4.4rem}.desktop-nav,.header-cta{display:none}.header-actions{grid-column:2}.menu-toggle{display:flex;align-items:center;gap:.7rem}.menu-toggle i{display:block;width:.55rem;height:.55rem;border-radius:50%;background:var(--accent)}.mobile-menu{position:fixed;inset:4.4rem 0 auto;display:block;padding:var(--pad);background:var(--bg);border-bottom:1px solid var(--line)}.mobile-menu[hidden]{display:none}.mobile-menu nav{display:flex;flex-direction:column}.mobile-menu a{padding:1rem 0;border-top:1px solid var(--line);font-size:1.4rem}.hero{padding-top:6.8rem}.hero-bottom{grid-template-columns:1fr}.hero-copy,.hero-links{grid-column:1}.statement{grid-template-columns:1fr}.statement-title,.statement-copy{grid-column:1}.statement-copy{margin-top:1.5rem}.section-heading,.services .section-heading{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr}.project-card:not(.project-card-wide) .project-image img{aspect-ratio:1.45}.service-list{margin-left:0}.service-row{grid-template-columns:2rem 1fr}.service-row p{grid-column:2}.process-intro{grid-template-columns:1fr}.process-steps{grid-template-columns:1fr 1fr}.work-item>a{grid-template-columns:2rem 1fr}.work-info{grid-column:2}.site-footer{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:520px){:root{--pad:1rem}.brand{font-size:2.2rem}.header-actions{gap:.65rem}.hero-title{max-width:100%;font-size:12vw}.hero-copy{max-width:calc(100vw - 2rem)}.hero-bottom{margin-top:2.5rem}.hero-links{align-items:flex-start;flex-direction:column}.hero-media{margin-left:calc(var(--pad)*-1);margin-right:calc(var(--pad)*-1);aspect-ratio:1.15}.media-label{grid-template-columns:1.5rem 1fr}.media-label strong{grid-column:2}.statement{padding-top:7rem;padding-bottom:7rem}.section-heading{margin-bottom:3rem}.project-grid{gap:4rem}.project-meta{grid-template-columns:1fr auto}.project-meta p{grid-row:2}.service-row{padding:1.5rem 0}.process-steps{grid-template-columns:1fr}.process-steps li{min-height:9rem}.contact-link{align-items:start}.contact-link>span{font-size:2.6rem}.contact-meta{align-items:flex-start;flex-direction:column;gap:1rem}.work-hero h1{font-size:16vw}.work-hero>p{margin-top:2.5rem}.work-item{padding:2rem 0}.work-item>a{grid-template-columns:1fr}.work-number{grid-column:1}.work-media,.work-info{grid-column:1}.work-info h2{font-size:2rem}.site-footer{grid-template-columns:1fr}.footer-brand{grid-column:1}.site-footer>div:last-child{text-align:left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}
.hero-signature{display:grid;grid-template-columns:repeat(3,auto) 1fr;gap:clamp(1.5rem,4vw,5rem);align-items:center;margin-top:clamp(4rem,7vw,7rem);padding:1.25rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:clamp(.75rem,1vw,.95rem);text-transform:uppercase;letter-spacing:.05em}.hero-signature i{justify-self:end;width:.7rem;height:.7rem;border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 var(--accent);animation:signal 2.4s infinite}@keyframes signal{50%{box-shadow:0 0 0 .45rem transparent}}
.project-index{border-bottom:1px solid var(--line)}.project-row{position:relative;display:grid;grid-template-columns:3rem 1.4fr 1fr 10rem 1rem;gap:1.5rem;align-items:center;min-height:9rem;border-top:1px solid var(--line)}.project-row>span,.project-row p{font-size:.75rem;color:var(--muted)}.project-row h3{font-size:clamp(1.8rem,3.5vw,4rem);font-weight:400;letter-spacing:-.045em}.project-row img{width:10rem;aspect-ratio:1.7;object-fit:cover;filter:saturate(.75);transition:transform .45s var(--ease),filter .35s}.project-row i{font-style:normal;transition:transform .3s var(--ease)}.project-row:hover img{transform:scale(1.04);filter:saturate(1)}.project-row:hover i{transform:translate(.2rem,-.2rem)}
@media(max-width:850px){.project-row{grid-template-columns:2rem 1fr 7rem 1rem;gap:1rem;min-height:7rem}.project-row p{grid-column:2;grid-row:2;margin-top:-1.5rem}.project-row img{grid-column:3;grid-row:1/3;width:7rem}.project-row i{grid-column:4;grid-row:1/3}}
@media(max-width:520px){.hero-signature{grid-template-columns:1fr 1fr 1fr auto;gap:.7rem;margin-top:4rem;font-size:.63rem}.project-row{grid-template-columns:1.5rem 1fr auto;min-height:6.5rem}.project-row img{display:none}.project-row p{grid-column:2;margin-top:-1rem}.project-row i{grid-column:3;grid-row:1/3}.project-row h3{font-size:1.55rem}}
[hidden]{display:none!important}.load-more{display:flex;width:100%;align-items:center;justify-content:center;gap:.75rem;margin-top:1.5rem;padding:1.2rem;border:1px solid var(--line);background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background-color .3s,color .3s}.load-more span{font-size:.85rem}.load-more small{color:var(--muted)}.load-more:hover{background:var(--bg);color:var(--ink)}.load-more:hover small{color:inherit}
.static-band{position:relative;height:clamp(5rem,8vw,8rem);margin-top:clamp(2rem,4vw,4rem);overflow:hidden;background:#111;color:#fff;contain:strict}.static-band__noise{position:absolute;inset:-40%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='120' viewBox='0 0 180 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");background-size:180px 120px;filter:contrast(180%) brightness(125%);opacity:.48;animation:static-shift .48s steps(3,end) infinite;will-change:transform}.static-band:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,255,255,.06) 0,rgba(255,255,255,.06) 1px,transparent 1px,transparent 4px);mix-blend-mode:screen}.static-band__label{position:absolute;z-index:2;inset:0;display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:2rem;padding:0 var(--pad);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;mix-blend-mode:difference}.static-band__label span:nth-child(2){justify-self:center}@keyframes static-shift{0%{transform:translate3d(-2%,1%,0)}25%{transform:translate3d(3%,-2%,0)}50%{transform:translate3d(-1%,-3%,0)}75%{transform:translate3d(2%,2%,0)}100%{transform:translate3d(-3%,-1%,0)}}
@media(max-width:520px){.static-band{height:5rem;margin-top:2rem}.static-band__label{grid-template-columns:1fr auto}.static-band__label span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){.static-band__noise{animation:none;will-change:auto}}
.contact-details{display:flex;gap:clamp(1.2rem,3vw,3rem)}.contact-details a{border-bottom:1px solid}
.hero-contact{grid-column:1;grid-row:1/3;align-self:end;display:flex;gap:clamp(2rem,5vw,6rem);padding-bottom:.2rem}.hero-contact>div{display:flex;align-items:flex-start;flex-direction:column;gap:.45rem}.hero-contact small{color:var(--muted);font-size:.65rem;letter-spacing:.08em;text-transform:uppercase}.hero-contact a{padding-bottom:.15rem;border-bottom:1px solid var(--line);font-size:.85rem}
@media(max-width:850px){.hero-contact{grid-column:1;grid-row:auto;margin-top:1rem}.hero-copy,.hero-links{grid-column:1}}
@media(max-width:520px){.hero-contact{gap:1.5rem;justify-content:space-between}.hero-contact a{font-size:.75rem}}
.process-intro h2{font-size:clamp(2.2rem,5.1vw,6.2rem)}.process-intro h2 span{white-space:nowrap}
@media(max-width:520px){.process-intro h2{font-size:7.8vw}}
@media(max-width:520px){.contact-details{align-items:flex-start;flex-direction:column;gap:.7rem}}

/* Interactive hero tile field */
.hero[data-tile-hero]{--hero-bg:#f2f0ea;--hero-ink:#11110f;--hero-muted:rgba(17,17,15,.58);--hero-line:rgba(17,17,15,.075);background:var(--hero-bg);color:var(--hero-ink);perspective:900px}
[data-theme=dark] .hero[data-tile-hero]{--hero-bg:#10100e;--hero-ink:#f2f0ea;--hero-muted:rgba(242,240,234,.58);--hero-line:rgba(242,240,234,.065)}
.hero[data-tile-hero]:before{display:none}
.hero-tile-grid{position:absolute;z-index:0;inset:5.4rem 0 0;display:grid;grid-template-columns:repeat(var(--tile-columns),1fr);grid-template-rows:none;grid-auto-rows:calc(100vw/var(--tile-columns));align-content:start;overflow:hidden;pointer-events:none;background:var(--hero-bg);border-top:.5px solid var(--hero-line)}
.hero-tile-grid i{position:relative;display:block;min-width:0;min-height:0;background:var(--hero-bg);box-shadow:inset 0 0 0 .5px var(--hero-line);transform-style:preserve-3d;transform-origin:center;will-change:transform,background-color;contain:layout paint style}
.hero-tile-grid i.is-turning{animation:tile-turn .72s cubic-bezier(.2,.75,.2,1) var(--tile-delay) both}
.hero-tile-grid i.is-near{animation:tile-near .5s cubic-bezier(.2,.75,.2,1) both}
@keyframes tile-turn{0%{transform:rotateY(0) scale(1);background:var(--hero-bg)}45%{transform:rotateY(88deg) scale(.94);background:var(--hero-bg)}51%,76%{transform:rotateY(180deg) scale(1);background:var(--accent)}100%{transform:rotateY(360deg) scale(1);background:var(--hero-bg)}}
@keyframes tile-near{0%,100%{transform:rotateY(0);background:var(--hero-bg)}48%{transform:rotateY(90deg) scale(.97);background:var(--hero-bg)}55%,72%{transform:rotateY(180deg);background:color-mix(in srgb,var(--accent) 42%,var(--hero-bg))}}
.hero[data-tile-hero] .eyebrow,.hero[data-tile-hero] .hero-contact small{color:var(--hero-muted)}
.hero[data-tile-hero] .eyebrow{border-top:0}
.hero[data-tile-hero] .hero-contact a,.hero[data-tile-hero] .hero-signature{border-color:color-mix(in srgb,var(--hero-ink) 22%,transparent)}
.hero[data-tile-hero] .button-dark{background:var(--hero-ink);color:var(--hero-bg);border-color:var(--hero-ink)}
@media(pointer:coarse),(prefers-reduced-motion:reduce){.hero-tile-grid i{will-change:auto}.hero-tile-grid i.is-turning,.hero-tile-grid i.is-near{animation:none}}
@media(max-width:850px){.hero-tile-grid{top:4.4rem}}

/* Project detail pages */
#projekti,#storitve,#kontakt{scroll-margin-top:5.4rem}
.case-hero,.case-next{width:100%;max-width:1280px;margin-inline:auto}
.case-hero{padding-top:8rem;padding-bottom:3rem}
.case-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(2rem,5vw,5rem);align-items:center;margin-top:3rem}
.case-copy{min-width:0}
.case-hero .eyebrow{border:0;padding:0;font-size:.75rem;text-transform:none;letter-spacing:0;color:var(--muted)}
.case-hero .eyebrow a:hover{color:var(--ink)}
.case-hero h1{margin:0 0 1.5rem;font-size:clamp(2.5rem,4.5vw,4.5rem);font-weight:400;line-height:1;letter-spacing:-.055em;overflow-wrap:break-word}
.case-intro{display:flex;flex-direction:column;align-items:flex-start;gap:1.5rem}
.case-intro>p{max-width:36rem;font-size:clamp(1.05rem,1.4vw,1.3rem);line-height:1.5;color:var(--muted)}
.case-intro .button{flex-shrink:0;background:transparent;color:var(--ink);padding:.65rem 0;border:0;border-bottom:1px solid var(--line);gap:1rem}
.case-intro>.case-tags{font-size:.8rem;line-height:1.5}
.case-image{min-width:0;margin:0}
.case-image img{width:100%;height:auto}
.case-next{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding-top:1.5rem;padding-bottom:4rem}
.case-next .text-link{border:0;color:var(--muted)}
.case-next-link{display:flex;flex-direction:column;gap:.5rem;text-align:right}
.case-next-link>span{font-size:.75rem;color:var(--muted)}
.case-next-link strong{font-size:clamp(1.1rem,2vw,1.5rem);font-weight:400;letter-spacing:-.025em}
.case-next-link:hover strong,.case-next .text-link:hover{color:var(--accent)}
.case-footer{min-height:0;padding-top:2.5rem;padding-bottom:2.5rem}
.case-footer .footer-brand{font-size:3.5rem}
@media(max-width:850px){.case-layout{grid-template-columns:1fr;gap:2rem;margin-top:2rem}.case-hero{padding-top:6.5rem}.case-intro{align-items:flex-start;flex-direction:column;gap:1rem}.case-footer{grid-template-columns:1fr 1fr}.case-footer .footer-brand{grid-column:1/-1}}
@media(max-width:520px){.case-hero h1{margin-top:0}.case-next{gap:1rem;align-items:flex-start;padding-bottom:3rem}.case-next-link{max-width:60%}.case-footer>div:last-child{text-align:right}}

/* Mobile layout and touch controls */
@media(max-width:850px){
  .site-header,.site-header.compact{height:4.4rem}
  .header-actions{gap:.5rem}
  .language-toggle,.menu-toggle{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}
  .theme-toggle{position:relative;margin-inline:10px;flex-shrink:0}
  .theme-toggle::after{content:"";position:absolute;inset:-11px;border-radius:50%}
  .mobile-menu{max-height:calc(100dvh - 4.4rem);overflow-y:auto;overscroll-behavior:contain}
  .hero-bottom{gap:1.5rem}
  .hero-copy{grid-row:1}
  .hero-links{grid-row:2;flex-wrap:wrap;margin-top:0}
  .hero-contact{grid-row:3;margin-top:.5rem}
  .hero-links .text-link,.case-next .text-link,.case-intro .button{min-height:44px;align-items:center}
  .hero-signature{grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:1rem;margin-top:2.5rem;font-size:.7rem}
  .hero-signature span{min-width:0;overflow-wrap:break-word}
  .project-row{grid-template-columns:2rem minmax(0,1fr) 7rem 1rem;grid-template-rows:auto auto;row-gap:.5rem;padding-block:1.4rem;min-height:0}
  .project-row>span{grid-column:1;grid-row:1;align-self:start;padding-top:.3rem}
  .project-row h3{grid-column:2;grid-row:1;min-width:0;overflow-wrap:break-word}
  .project-row p{grid-column:2;grid-row:2;margin-top:0;line-height:1.5}
  .service-row{grid-template-columns:2rem minmax(0,1fr);gap:1rem}
  .service-row h3,.statement-title,.contact-link h2{min-width:0;overflow-wrap:break-word}
  .process-intro h2 span{white-space:normal}
  .contact-link{grid-template-columns:minmax(0,1fr) auto;gap:1rem}
  .contact-link h2{font-size:clamp(2.5rem,8vw,4.5rem);line-height:1}
  .case-next-link{min-width:0;overflow-wrap:break-word}
  .site-footer a:not(.footer-brand){display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:520px){
  .hero{padding-top:6rem}
  .hero .eyebrow{gap:1rem;font-size:.65rem;line-height:1.5}
  .hero .eyebrow>span:first-child{max-width:75%}
  .hero-title{font-size:clamp(2.25rem,11.5vw,3.75rem);line-height:.98;margin-top:2.25rem}
  .hero-bottom{margin-top:2rem;margin-bottom:0}
  .hero-links{width:100%;gap:.75rem}
  .hero-links .button{width:100%;min-height:48px}
  .hero-contact{gap:1rem;flex-wrap:wrap}
  .hero-contact a{min-height:36px;display:inline-flex;align-items:center}
  .hero-signature{font-size:.6rem;gap:.6rem;margin-top:2rem}
  .statement,.services{padding-top:4rem;padding-bottom:4rem}
  .statement{gap:1.5rem}
  .statement-title{font-size:clamp(2.25rem,9vw,3rem);line-height:1.02}
  .projects,.process,.contact{padding-top:3rem;padding-bottom:3rem}
  .section-heading{gap:1.5rem;margin-bottom:2rem}
  .project-row{grid-template-columns:1.25rem minmax(0,1fr) clamp(3.75rem,17vw,5rem) .75rem;column-gap:.6rem}
  .project-row h3{font-size:clamp(1.1rem,4.7vw,1.5rem);line-height:1.15}
  .project-row p{font-size:.68rem}
  .project-row img{display:block;grid-column:3;grid-row:1/3;width:100%;aspect-ratio:1.4;object-fit:cover;align-self:center}
  .project-row i{grid-column:4;grid-row:1/3}
  .process-intro{gap:1.5rem;margin:2.5rem 0}
  .process-intro h2{font-size:clamp(2rem,8vw,2.6rem);line-height:1.05}
  .contact-link{margin:2.5rem 0}
  .site-footer{min-height:0;padding-top:3rem;gap:1.5rem}
  .case-footer{grid-template-columns:1fr}
  .case-footer>div:last-child{text-align:left}
}

/* Mobile hero has its own type composition and viewport rhythm. */
.hero-copy-mobile,.hero-title-mobile{display:none}
@media(max-width:520px){
  .hero .hero-contact,.hero>.hero-signature,.hero-copy,.hero>.eyebrow>span:last-child,.hero-title-desktop{display:none}
  .hero{
    display:grid;grid-template-rows:auto 1fr auto;align-items:start;gap:1.75rem;
    min-height:100vh;min-height:100svh;
    padding:6.5rem 1.25rem max(3.5rem,env(safe-area-inset-bottom));
  }
  .hero>.eyebrow{display:flex;gap:0;padding:0;border:0;margin:0;font-size:.6rem;letter-spacing:.08em;line-height:1.5}
  .hero>.eyebrow>span:first-child{max-width:100%}
  .hero-title{align-self:center;margin:0;padding-block:1rem;font-size:clamp(2.4rem,12.2vw,4rem);line-height:1.01;letter-spacing:-.055em;text-wrap:initial}
  .hero-title-mobile{display:block}
  .hero-title-mobile em{padding:0 .035em;font-size:inherit;white-space:nowrap}
  .hero-bottom{display:flex;flex-direction:column;align-items:stretch;gap:1.5rem;margin:0}
  .hero-copy-mobile{display:block;max-width:32ch;font-size:.95rem;line-height:1.55;color:var(--hero-muted);text-wrap:pretty}
  .hero-links{display:flex;flex-direction:column;align-items:stretch;margin:0;width:100%;gap:1rem}
  .hero-links .button{width:100%;min-height:52px;padding:.9rem 1.1rem;font-size:.9rem}
  .hero-links>.text-link{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:.75rem 0 0;border:0;border-top:1px solid var(--hero-line);color:var(--hero-muted);font-size:.75rem}
  .hero-links>.text-link span:last-child{transform:rotate(90deg)}
  .hero+.static-band{margin-top:0}
}
@media(max-width:520px) and (max-height:650px){
  .hero{padding-top:5.5rem;padding-bottom:max(2.5rem,env(safe-area-inset-bottom));gap:1rem}
  .hero-title{font-size:12.2vw;padding-block:.25rem}
  .hero-bottom{gap:1rem}
  .hero-links{gap:.5rem}
}

/* Compact horizontal footer shared by all pages. */
.site-footer.footer-inline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;min-height:0;padding-top:2rem;padding-bottom:2rem;font-size:.8rem;line-height:1.5}
.footer-inline .footer-brand{font-size:2.8rem;flex-shrink:0}
.footer-inline .footer-tagline{flex:1;color:#a7a49c}
.footer-inline .footer-email,.footer-inline .footer-copyright{white-space:nowrap}
.footer-inline .footer-copyright{color:#a7a49c}
@media(max-width:520px){
  .site-footer.footer-inline{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.25rem;padding-block:1.5rem}
  .footer-inline .footer-brand{grid-column:1;font-size:2.4rem}
  .footer-inline .footer-tagline{grid-column:2;text-align:right;font-size:.72rem}
  .footer-inline .footer-email{grid-column:1}
  .footer-inline .footer-copyright{grid-column:2;text-align:right;font-size:.72rem}
}

/* Touch feedback uses color only, leaving native scrolling untouched. */
.hero-tile-grid i.is-touch.is-turning{animation:tile-touch .72s ease-out both}
.hero-tile-grid i.is-touch.is-near{animation:tile-touch-near .5s ease-out both}
@keyframes tile-touch{0%,100%{background:var(--hero-bg)}20%,45%{background:var(--accent)}}
@keyframes tile-touch-near{0%,100%{background:var(--hero-bg)}25%,45%{background:color-mix(in srgb,var(--accent) 42%,var(--hero-bg))}}
@media(prefers-reduced-motion:reduce){.hero-tile-grid i.is-touch.is-turning,.hero-tile-grid i.is-touch.is-near{animation:none}}

/* Vector arrows render consistently without emoji substitution. */
.arrow-icon{display:inline-block;width:1em;height:1em;vertical-align:-.12em;flex-shrink:0}
.footer-email{gap:.4rem}

/* Company logos and project details on the home page. */
.project-row{grid-template-columns:3rem minmax(0,1.4fr) minmax(0,1fr) 10rem 1rem;padding-block:1.5rem}
.project-row .project-brand{display:flex;align-items:center;justify-content:center;width:min(100%,15rem);height:6rem;padding:.75rem 1rem;overflow:hidden}
.project-row .project-brand img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;aspect-ratio:auto;filter:none;transform:none}
.project-row .project-info{min-width:0}
.project-row .project-info h3{font-size:clamp(1.05rem,1.5vw,1.4rem);font-weight:400;letter-spacing:-.025em;line-height:1.2;margin-bottom:.5rem}
.project-row .project-info p{margin:0;line-height:1.5}
@media(max-width:850px){
 .project-row{grid-template-columns:2rem minmax(0,1fr) 7rem 1rem;grid-template-rows:auto auto;gap:1rem}
 .project-row .project-brand{grid-column:2;grid-row:1;height:5rem;width:min(100%,12rem)}
 .project-row .project-info{grid-column:2;grid-row:2}
 .project-row .project-preview{grid-column:3;grid-row:1/3}
 .project-row i{grid-column:4;grid-row:1/3}
}
@media(max-width:520px){
 .project-row{grid-template-columns:1.25rem minmax(0,1fr) clamp(3.75rem,17vw,5rem) .75rem;column-gap:.6rem}
 .project-row .project-brand{height:4.5rem;padding:.5rem .75rem}
 .project-row .project-info{grid-column:2/4}
 .project-row .project-preview{grid-row:1}
 .project-row .project-info h3{font-size:1.1rem}
}

/* Original company artwork above each project title. */
.case-logo{display:block;width:auto;height:auto;max-width:min(15rem,100%);max-height:6rem;object-fit:contain;object-position:left center;margin-bottom:2rem}
@media(max-width:520px){.case-logo{max-width:min(12rem,100%);max-height:4.5rem;margin-bottom:1.5rem}}

.case-logo-hojnik{width:18rem;max-width:100%;max-height:none;height:auto}
@media(max-width:520px){.case-logo-hojnik{width:15rem;max-width:100%;max-height:none}}

.case-logo-gverk{filter:grayscale(1) contrast(10)}
[data-theme=dark] .case-logo-gverk{filter:grayscale(1) contrast(10) invert(1)}

.case-hero h1{font-size:clamp(1.5rem,2.55vw,2.6rem);letter-spacing:-.045em}
.case-hero .case-title-gverk{white-space:nowrap}
@media(max-width:850px){.case-hero h1{font-size:clamp(1.3rem,5.6vw,2.6rem)}}
