/* Functional fixes; brand tokens and approved composition stay in the templates. */
[hidden]{display:none!important}
:focus-visible{outline:3px solid currentColor;outline-offset:5px}
.main-nav .nav-cta,.main-nav .nav-cta:hover,.main-nav .nav-cta[aria-current=page]:hover{background:var(--ink);color:var(--cream)}
.category-filter,.ref-nav button,.menu-toggle{min-height:44px;min-width:44px}
.news-topic,.topic-full,.topic-full a{overflow-wrap:anywhere}
.topic-full{overflow-x:auto}
.site-header:focus-within{transform:none!important}
.latest-tag{display:inline-block;margin-bottom:16px;padding:6px 12px;border-radius:999px;background:var(--lime);color:var(--ink);font-size:12px;font-weight:700}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.rv{opacity:1!important;transform:none!important}}
/* Clip the rotated decorative marquee without clipping the sticky article filter. */
.hero{overflow-x:clip}
.hide-nav .nav-pill:focus-within{transform:none!important}
@media(max-width:860px){.manifesto-row{grid-template-columns:1fr;gap:36px}.manifesto-small,.manifesto-card{grid-column:auto;grid-row:auto}}

/* Approved homepage refinements: plain lime outcomes and larger quotation mark. */
.approach-copy p.output{padding:0;border:0;border-radius:0;background:transparent;color:var(--lime)}
.quote-mark{font-size:280px}

/* Matched hero actions on home and contact. */
.hero-actions .btn .btn-ico,.c-quick .ico{display:none}
.hero-actions .btn{padding:8px 24px}
.c-quick{align-items:center;gap:28px}
.c-quick>a:first-child{min-height:56px;padding:8px 24px;border:0;background:var(--lime);color:var(--ink);font-size:15px;line-height:1.2}
.c-quick>a[href^="mailto:"]{padding:0 0 4px;border:0;border-radius:0;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1.5px no-repeat;color:var(--ink);font-size:15px}
.c-quick>a[href^="mailto:"]:hover{color:var(--red)}

.quote-mark{transform:translateY(-70px);pointer-events:none}
.manifesto-card p{position:relative;z-index:1}
/* Preserve the original JVS corner position; reserve text space beneath it. */
@media(max-width:860px){
 .manifesto-card p::before{content:"";float:right;width:80px;height:1.2em}
}
@media(max-width:600px){.manifesto-card p::before{width:64px;height:1em}}
@media(prefers-reduced-motion:reduce){.hero .portrait{transform:none}}

/* Keep the hero brand corner stationary in its defined position. */
.hero-visual>.corner{animation:none;transform:none}

/* Preserve intrinsic client-logo proportions, including images with HTML dimensions. */
.logos a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.logos img{width:auto;height:auto;max-width:100%;max-height:62px;object-fit:contain;flex:none}

/* Keep the back-to-top link clear of the cookie settings control. */
.footer-bottom>a[href="#nahoru"]{margin-left:auto}

/* Match the contact heading emphasis to the red service heading. */
.c-hero h1 mark{background:transparent;color:var(--red);padding:0}

/* Use red text for the marketing roundup heading emphasis. */
.news-head h1 mark{background:transparent;color:var(--red);padding:0}

/* Keep mobile storytelling pinned until its reveal is complete. */
@media(max-width:860px) and (prefers-reduced-motion:no-preference){
 .manifesto-pin{height:220svh}
 .manifesto-sticky{position:sticky;top:0;min-height:100svh;min-height:100dvh;padding-block:32px;background:var(--red)}
 .manifesto-top{font-size:clamp(36px,9.8vw,64px);margin-top:24px}
 .manifesto-row{margin-top:48px;gap:24px}
 .manifesto-card{padding:26px 24px 30px;margin-right:10px}
 .manifesto-card p{font-size:clamp(34px,8.8vw,54px)}
 .manifesto-card .corner{width:76px;top:-46px;right:-10px}
 .manifesto-small{font-size:16px;line-height:1.6;margin:0;max-width:100%}
}
@media(max-width:860px) and (max-height:560px){
 .manifesto-pin{height:auto}
 .manifesto-sticky{position:relative;min-height:100svh}
}

/* Keep the mobile card in its layout box and reveal strictly with scroll. */
@media(max-width:860px){
 .manifesto-row{row-gap:36px}
 .manifesto-card{transform:none}
 .manifesto-top .w,.manifesto-card,.manifesto-small{transition:none;animation:none}
}

/* Tighten the company-to-person spacing in the CityZen attribution. */
#reference-detail-1 .ref-author strong{line-height:1.15}

#reference-detail-0 .ref-author strong{line-height:1.15}

#reference-detail-3 .ref-author strong{line-height:1.15}
