.home-studio{font:16px/1.45 Manrope,sans-serif}
.page-shell{overflow:clip}
.home-studio #studio-controls button{scroll-margin-top:80px}
.home-studio #quoteBottom{background:#ff803e;color:#171b21;font-weight:800;padding:14px 23px;border-radius:5px;text-decoration:none}
.home-studio figure{border-radius:0;margin:0}
.home-studio #view{height:clamp(365px,33vw,565px)}
.home-studio .intro{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding-left:max(5%,(100% - 1180px)/2);background:linear-gradient(90deg,#101820 3%,#101820ed 24%,transparent 65%);color:white;pointer-events:none}
.intro small{color:#ffad7e;text-transform:uppercase}
.home-studio .intro h1{font:800 clamp(34px,4.1vw,72px)/1.04 Manrope,sans-serif;letter-spacing:-.045em;color:white;margin:14px 0}
.intro p{color:white;max-width:min(38%,420px);margin:0 0 20px}
.home-studio #open-project{pointer-events:auto;background:#151c24aa;color:white;border-color:#ffffff91}
.home-studio .closeup :is(.intro,.pin){display:none}
.home-studio .pin{padding:0;width:32px;height:32px;border-radius:50%;border:2px solid white;background:var(--accent);font:24px/1 sans-serif;box-shadow:0 0 0 5px #ffffff44}
.home-studio .pin[data-url="korziny.html"]{left:86%;top:27%}
.home-studio .pin[data-url="korziny.html"]:after{display:none}
.home-studio .pin[data-url="kassety.html"]{left:67%;top:13%}
.home-studio .pin[data-url="otkosy.html"]{left:76%;top:47%}
.home-studio .pin[data-url="paneli.html"]{left:68%;top:89%}
.home-studio figcaption{background:#19212a;padding:11px max(5%,(100% - 1180px)/2);font-size:14px}
.home-studio .builder{padding:22px 0 12px}
.builder-head,.studio-links{display:flex;align-items:center;justify-content:space-between;gap:12px}
.home-studio .builder-head h2{font:800 clamp(23px,2.4vw,36px)/1.1 Manrope,sans-serif;letter-spacing:-.04em;margin:0}
#quote{background:#ff803e;color:#171b21;font-weight:800;padding:14px 23px;border-radius:5px}
.home-studio .builder small{font:13px/1.45 Manrope,sans-serif;color:#51575b;letter-spacing:0}
.studio-links a{text-decoration:underline}
.home-studio #studio-controls{scroll-margin-top:70px}
@media(max-width:760px){
  .home-studio #studio-controls button{scroll-margin-top:calc(27vh + 84px)}
  .home-studio #quoteBottom{width:100%;text-align:center}
  .home-studio .intro{position:static;background:#17212a;padding:18px 5%}
  .home-studio .intro h1{font-size:30px;margin:7px 0}
  .intro p{max-width:none;font-size:13px;margin:0}
  .home-studio #open-project{padding:5px 0 0;border:none;text-decoration:underline}
  .home-studio #view{height:min(27vh,60vw)}
  .home-studio .pin{display:none}
  .home-studio figure{z-index:4}
  .home-studio figcaption{font-size:11px;padding:8px 4%}
  .home-studio .builder{padding-top:12px}
  .home-studio .builder-head{flex-wrap:wrap}
  .home-studio .builder-head h2{font-size:20px}
  .home-studio #quote{padding:10px 12px;font-size:14px}
  .home-studio #studio-controls{scroll-margin-top:calc(27vh + 148px)}
  .studio-links{flex-wrap:wrap}
}

/* Shared catalogue cards, including interior and pavilion solutions. */
#catalog .tiles{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
#catalog .tiles>a{display:flex;flex-direction:column;min-width:0;text-decoration:none;overflow:hidden;transition:border-color .18s ease}
#catalog .tiles>a:focus-visible{outline:3px solid var(--signal);outline-offset:4px}
#catalog .tiles span{flex:none;aspect-ratio:1.35;width:100%;height:auto;transform:none}
#catalog .tiles b{font-size:clamp(18px,1.7vw,23px);line-height:1.3;margin-bottom:4px}
#catalog .tiles .tile-price{margin-top:auto}
#catalog .tiles .ceiling{background:#e7dfd2 url(assets/ceilings/perforated-ceiling.jpg) center/cover no-repeat}
#catalog .tiles .pavilion{background:#e7dfd2 url(assets/pavilion/compact-cassette-day.jpg) center/cover no-repeat}
@media(max-width:900px){#catalog .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#catalog .tiles{grid-template-columns:1fr;gap:18px}#catalog .tiles b{padding:0 14px}#catalog .tiles .tile-price{padding:12px 14px 0;font-size:14px}}
