.architecture-hero{padding-bottom:34px}
#main .architecture-hero{max-width:none;overflow-x:clip}
.architecture-hero .architecture-title-line{display:block;white-space:nowrap}
.architecture-hero .architecture-title-secondary{color:var(--muted)}
.architecture-hero .architecture-title-dot{color:var(--ink)}
@media(max-width:760px){
 .architecture-hero .hero-final{font-size:min(10vw,52px)}
 .architecture-hero .hero-final:lang(en){font-size:min(8vw,52px)}
}
#main .architecture-hero .hero-title .hero-slogan{inset-inline:50% auto;width:100vw;translate:-50% 0}
#main .architecture-hero .hero-title .hero-slogan>span{
 font-size:calc(var(--architecture-slogan-size,min(14.5vw,24svh)) / var(--architecture-hero-start-scale,1));
 max-width:none;white-space:nowrap;
}
#main .architecture-hero .hero-title .hero-slogan>span:lang(en){--architecture-slogan-size:min(12.5vw,24svh)}
.architecture-switch-wrap{display:flex;justify-content:center;padding:0 20px 44px;position:sticky;top:var(--architecture-tabs-top,98px);z-index:8}
.architecture-switch{position:relative;display:inline-grid;grid-template-columns:repeat(4,max-content);gap:4px;padding:5px;background:#eeeef0;border:1px solid #00000004;border-radius:32px;isolation:isolate;max-width:100%}
.architecture-switch-indicator{position:absolute;left:5px;top:5px;width:calc((100% - 22px)/4);height:calc(100% - 10px);border-radius:26px;background:#fff;box-shadow:0 2px 8px #0000000c;z-index:-1;transition:transform .5s cubic-bezier(.22,.61,.36,1),width .3s}
.architecture-switch button{appearance:none;border:0;background:transparent;color:#737378;font:inherit;font-size:14px;font-weight:500;min-height:42px;padding:10px 28px;border-radius:26px;cursor:pointer;white-space:nowrap;transition:color .3s}
.architecture-switch button[aria-selected="true"]{color:var(--ink)}
.architecture-panel[hidden]{display:none!important}
.architecture-page #architecture-contact[hidden]{display:none!important}
.architecture-panel:focus-visible{outline:none}
.architecture-collection{padding-top:45px;padding-bottom:90px}
.collection-heading{max-width:650px;margin:0 auto 52px;text-align:center}
.collection-heading h2{margin:18px 0 22px}
.collection-heading>p{font-size:18px;line-height:1.6;color:var(--muted);margin:0}
.design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 22px}
.design-card{display:block;min-width:0}.design-photo{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:18px;background:var(--paper)}
.design-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.22,.61,.36,1)}
.design-card:hover img{transform:scale(1.035)}
.design-arrow{position:absolute;bottom:16px;right:16px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ffffffd9;color:#1d1d1f;font-size:21px;backdrop-filter:blur(10px)}
.design-card h3{font-size:17px;font-weight:500;letter-spacing:-.3px;line-height:1.35;margin:17px 0 5px}
.design-card>p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}
@media(max-width:1000px){.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.architecture-switch-wrap{padding-bottom:24px}.architecture-switch button{padding:10px 17px;font-size:13px}.architecture-collection{padding-top:35px;padding-bottom:65px}.collection-heading{margin-bottom:34px}.collection-heading>p{font-size:16px}.design-grid{gap:30px 16px}.design-photo{border-radius:13px}.design-card h3{font-size:15px}.design-arrow{width:28px;height:28px;font-size:18px;bottom:12px;right:12px}}
@media(max-width:520px){.design-grid{grid-template-columns:1fr}.design-card h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.architecture-switch-indicator,.design-photo img{transition:none}}

.project-gallery-detail .project-photo-card .design-photo{aspect-ratio:4/3}
.project-gallery-detail .design-project-control[hidden]{display:none}

/* Four sections retain the original segmented navigation on narrow screens. */
.architecture-switch-wrap{overflow-x:auto;scrollbar-width:none}.architecture-switch-wrap::-webkit-scrollbar{display:none}.architecture-switch{max-width:none;flex-shrink:0;margin-inline:auto}

.residential-heading-muted{color:var(--muted)}
.residential-audiences{list-style:none;margin:0 0 38px;padding:0;display:grid;gap:26px}
.residential-audiences li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:20px;align-items:start}
.residential-audiences svg{display:block;width:56px;height:56px;color:#0071e3}
.residential-audiences h3{font:inherit;font-size:21px;font-weight:500;letter-spacing:-.6px;line-height:1.25;margin:3px 0 8px}
.architecture-intro .residential-audiences p{font-size:16px;line-height:1.6;margin:0;color:var(--muted)}
@media(max-width:760px){.residential-audiences li{grid-template-columns:46px minmax(0,1fr);gap:16px}.residential-audiences svg{width:46px;height:46px}.residential-audiences h3{font-size:19px}}

.knb-partner-logo{display:block;width:132px;max-width:100%;margin-top:34px}.knb-partner-logo img{display:block;width:100%;height:auto}.knb-partner-logo:focus-visible{outline:2px solid var(--blue);outline-offset:8px;border-radius:2px}

#main:has(>.architecture-opening-stage)::before{
 content:"";display:block;
 height:calc(var(--architecture-opening-top,0px) + var(--architecture-opening-hold,0px));
}
.architecture-opening-stage{display:contents}
.architecture-opening-space{position:relative;height:var(--architecture-opening-bottom,0px)}
.architecture-scroll-cue:not([hidden]){
 position:fixed;top:var(--architecture-opening-cue-top,0px);left:50%;translate:-50% 0;
 display:grid;place-items:center;width:46px;height:46px;padding:0;border:0;border-radius:50%;
 background:none;color:var(--ink);cursor:pointer;touch-action:manipulation;
}
.architecture-scroll-cue:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.architecture-scroll-cue::before{
 content:"";width:17px;height:17px;border:solid currentColor;border-width:0 1.5px 1.5px 0;
 rotate:45deg;translate:0 -2px;
}
@media(max-width:760px){
 .architecture-opening-stage{display:flow-root}
 .architecture-opening-stage::after{
  content:"";display:block;height:var(--architecture-opening-bottom,0px);
  min-height:max(0px,calc(100lvh - var(--architecture-opening-space-start,100lvh)));
 }
 .architecture-opening-space{height:0}
 .architecture-switch-wrap{padding-inline:12px}
 .architecture-switch button{padding-inline:clamp(8px,3vw,17px)}
 .architecture-opening-compact .architecture-scroll-cue::before{animation-play-state:paused}
}
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
 .architecture-opening-stage>.architecture-hero{position:sticky;top:var(--architecture-opening-hero-start,auto)}
 .architecture-switch-wrap{bottom:max(0px,calc(100% - var(--architecture-opening-space-start,100%)))}
 @supports (animation-timeline:scroll(root block)) and (animation-range:0px 1px){
  .architecture-switch-wrap{
   bottom:auto;
   animation:architecture-tabs-catchup 1s linear both;
   animation-timeline:scroll(root block);
   animation-range:0px var(--architecture-opening-catchup,0px);
  }
 }
 .architecture-scroll-cue{transition:opacity .18s ease-out,visibility .18s}
}
@keyframes architecture-tabs-catchup{
 from{transform:translate3d(0,calc(0px - var(--architecture-opening-catchup,0px)),0)}
 to{transform:translate3d(0,0,0)}
}
@media(min-width:761px){
 .architecture-opening-stage{display:block;overflow-x:clip}
 .architecture-opening-active{overflow-anchor:none}
 #main .architecture-hero{
  padding-block:72px 28px;
  scale:var(--architecture-hero-scale,1);
  transform-origin:center var(--architecture-hero-opening-origin,50%);
 }
 #main .architecture-hero .hero-title{
  font-size:clamp(48px,6.5vw,88px);min-height:3.12em;margin-block:24px 22px;
 }
 #main .architecture-hero>p{font-size:20px;line-height:1.5;margin-block:0}
 .architecture-switch-wrap{overflow:visible}
 .architecture-switch{
  scale:var(--architecture-tab-scale,1);
  transform-origin:center var(--architecture-tab-opening-origin,top);
 }
 .architecture-switch button{min-height:32px;padding-block:6px}
 #main>.architecture-panel>:first-child:is(.architecture-intro,.architecture-collection){
  padding-top:calc(4px + var(--architecture-tab-overhang,0px));
 }
 :is(#panel-uvod,#panel-rezidencie,#panel-kancelarie) .architecture-intro{align-items:start}
 :is(#panel-uvod,#panel-rezidencie,#panel-kancelarie) .architecture-intro>:first-child{position:sticky;top:var(--architecture-sticky-content-top,174px);align-self:start}
 :is(#panel-uvod,#panel-rezidencie,#panel-kancelarie) .process-heading{top:var(--architecture-sticky-content-top,174px);align-self:start;padding-bottom:0}
 :is(#panel-uvod,#panel-rezidencie,#panel-kancelarie) .process-heading>.textlink{display:flex;width:fit-content}
 :is(#panel-uvod,#panel-rezidencie,#panel-kancelarie)>.process-section{padding-block:110px}
 :is(#panel-rezidencie,#panel-kancelarie)>.process-section+.architecture-intro,
 #panel-uvod:not([hidden])~#architecture-contact{padding-top:42px;border-top:0}
}

@media(prefers-reduced-motion:no-preference){
 .architecture-scroll-cue::before{animation:architecture-scroll-pulse 1.65s ease-in-out infinite}
}
@keyframes architecture-scroll-pulse{
 0%,100%{translate:0 -3px;opacity:.6}
 50%{translate:0 9px;opacity:1}
}

/* The moving indicator highlights only the currently selected tab. */
.architecture-switch button[aria-selected="true"]{color:#fff}

/* Release each sticky column at the visible bottom of its partner. */
@media(min-width:761px){
 :is(#panel-uvod,#panel-rezidencie,#panel-kancelarie) :is(.architecture-intro>:first-child,.process-heading){margin-bottom:var(--architecture-end-margin,0px)}
}
