.home-page{
  --home-ink:#fff;--home-muted:#aaa;
  background:#000;color:var(--home-ink);font-family:Arial,Helvetica,sans-serif;
}
.home-page :is(h1,h2,h3){font-weight:400;text-wrap:initial;letter-spacing:-.025em}
.home-page main>section[id],.home-page #porozmawiajmy,.home-page #nasi-klienci{scroll-margin-block-start:var(--home-nav-height)}
.home-page :is(a,button,input):focus-visible{outline:2px solid #69c8d3;outline-offset:3px}
.home-hero{
  position:relative;isolation:isolate;display:grid;align-items:end;overflow:hidden;
  min-height:100vh;min-height:100svh;background:#000;
}
.home-hero::before{
  position:absolute;z-index:-1;inset:0;content:'';
  background:linear-gradient(0deg,#000b,transparent 53%),linear-gradient(95deg,#10101850,transparent 60%);
}
.home-hero::after{
  position:absolute;z-index:-1;inset:0;content:'';
  background:linear-gradient(106deg,transparent 9%,#13132b23 9%,#11111d1c 14%,transparent 14%,transparent 81%,#14142124 81%,#0001 88%,transparent 88%);
}
.home-hero-media{position:absolute;z-index:-2;inset:0;height:100%;transform:translateY(var(--hero-offset,0%))}
.home-hero-photo,.home-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.home-hero-video{opacity:0;transition:opacity .42s ease}
.home-hero-video[data-playing]{opacity:1}
.home-hero-copy{padding:0 var(--home-gutter) 52px}
.home-hero-heading{font-size:clamp(64px,8.333vw,120px);line-height:.92}
.home-hero-heading span{display:inline-block;color:inherit}
.home-hero-heading span:last-child{display:block}

.home-intro{padding:96px var(--home-gutter)}
.home-intro-grid,.home-section-head{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;column-gap:32px;
}
.home-intro h2,.home-intro p{font-size:36px;line-height:40px;letter-spacing:-.025em}
.home-intro h2{grid-column:1/span 3}
.home-intro .custom-intro-description{grid-column:5/-1}
.home-intro :is(h2,p)>span{display:block}
.home-intro p>span{color:#ff9b56}
@supports (background-clip:text){
  .home-intro p>span{
    background:linear-gradient(#ffd19b 42%,#ff742f 59%);background-size:100% 235%;
    background-position:50% var(--intro-ink,100%);background-clip:text;color:transparent;
  }
}

.home-film{padding-inline:8px}
.home-film figure{position:relative;margin:0;overflow:hidden;border-radius:8px}
.home-film-stage{position:relative;height:800px;background:#151515}
.home-film-stage :is(img,video){position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.home-film-stage::after{position:absolute;inset:0;content:'';pointer-events:none;background:linear-gradient(#0005,transparent 25%,transparent 77%,#0008)}
.home-film-stage video{visibility:hidden}
.home-film[data-has-frame] video{visibility:visible}
.home-film-toggle{
  position:absolute;z-index:1;right:24px;top:16px;min-height:44px;padding:9px 13px;
  border:1px solid #ffffff60;border-radius:4px;background:#0008;color:#fff;font-size:13px;
}
.home-film-toggle:hover{background:#000c}
.home-film-caption{position:absolute;inset:0;display:grid;align-content:start;gap:4px;pointer-events:none;padding:23px 32px}
.home-film-caption h2{font-size:16px;line-height:22px;letter-spacing:-.015em}
.home-film-caption a{pointer-events:auto;position:absolute;bottom:24px;left:32px}

.home-section-head{padding:0 var(--home-gutter);color:#fff}
.home-section-head .home-section-label{grid-column:1/span 3;font-size:16px;line-height:22px;margin:0;color:#fff}
.home-section-head>div{grid-column:5/-1;min-width:0}
.home-section-head h2,.home-story-copy h2{font-size:48px;line-height:52px;margin:0}
.home-section-head p:not(.home-section-label){
  margin-top:10px;font-size:24px;line-height:28px;letter-spacing:-.025em;color:var(--home-muted);
}
.home-page .featured-projects{
  --featured-bg:#000;--featured-text:#fff;max-width:none;padding:96px 0;border:0;
}
.home-page .featured-header{min-height:0;padding:0 var(--home-gutter);margin-bottom:40px}
.home-page .featured-gallery{--rail-inset:var(--home-gutter);--rail-height:800px}
.home-page .featured-project::after{inset:32% 0 0;background:linear-gradient(0deg,#000c,transparent 94%)}
.home-page .featured-caption{
  justify-items:start;grid-template-columns:minmax(0,1fr);padding:16px 24px 24px;
  color:color-mix(in srgb,#fff,#000 calc(var(--featured-panel,0) * 100%));
}
.featured-caption-meta{
  width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center;
  border-top:1px solid #ffffff40;padding-block:12px 22px;font-size:16px;line-height:1;
}
.featured-caption-meta>span:first-child{
  display:inline-block;width:fit-content;padding:4px 8px;background:#fff;color:#000;
  border-radius:80px;font-size:12px;text-transform:uppercase;
}
.featured-caption-meta>span:last-child{transform:translateX(-50%);justify-self:start;white-space:nowrap}
.featured-total{opacity:.62}
.home-page .featured-name{max-width:66%;font-size:48px;line-height:52px;font-weight:400;letter-spacing:-.025em;overflow-wrap:normal}
.home-page .featured-detail{font-size:18px;font-weight:400}
.home-page .featured-project-link{font-size:14px;font-weight:400}
.home-page .featured-controls{min-height:0;padding:0}
.home-page .featured-controls output{
  position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.home-page .featured-controls button{
  width:88px;padding:0;border:0;background:#0002;color:#fff;font-size:28px;backdrop-filter:blur(9px);
}
.home-page .featured-controls button:hover{background:#2228}
.featured-controls [data-featured-step="-1"] svg{transform:scaleX(-1)}
.home-page .featured-film{top:16px;right:16px;background:#0008;border-radius:4px;font-weight:400}

.home-services{padding:40px 0;color:#fff}
.home-services .home-section-head{margin:0 0 40px}
.home-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #3a3a3a}
.home-service-grid article{min-width:0;border-right:1px solid #3a3a3a;border-bottom:1px solid #3a3a3a}
.home-service-grid article>a{display:grid;grid-template-rows:auto 1fr;height:100%;padding:16px 16px 40px;gap:8px}
.home-service-grid a:focus-visible{outline-offset:-4px}
.home-service-grid figure{overflow:hidden;aspect-ratio:2.2;background:#222}
.home-service-grid img{height:100%;object-fit:cover;transition:transform .3s ease}
.home-service-grid a:is(:hover,:focus-visible) img{transform:scale(1.035)}
.home-service-copy{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:44px}
.home-service-copy h3{font-size:20px;font-weight:400;letter-spacing:-.025em;line-height:24px}
.home-service-copy .home-link-icon{font-size:18px}

.home-story{position:relative;color:#fff}
.home-story-card{
  position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;
  gap:32px;padding:96px var(--home-gutter) 136px;min-height:992px;
}
.home-story-back{position:absolute;inset:0;z-index:-1;background:#1a1a1a}
.home-story-back::after{position:absolute;inset:0;content:'';background:linear-gradient(0deg,#000c,transparent 85%),linear-gradient(90deg,#0006,transparent)}
.home-story--build .home-story-back::after{background:linear-gradient(0deg,#000c,transparent 85%),linear-gradient(270deg,#0006,transparent)}
.home-story-back img{width:100%;height:100%;object-fit:cover;object-position:center}
.home-story-copy,.home-story-detail{grid-row:1;min-width:0}
.home-story-copy{grid-column:1/span 5}
.home-story-detail{position:relative;grid-column:9/span 4;background:#1a1a1a;border-radius:4px;overflow:hidden}
.home-story-detail img{width:100%;aspect-ratio:1.54;object-fit:cover}
.home-story-detail figcaption{
  position:absolute;inset:auto 0 0;padding:12px;font-size:12px;line-height:1.35;
  background:linear-gradient(0deg,#000d,transparent);color:#fff;pointer-events:none;
}
.home-story-service{margin-bottom:14px;font-size:16px;line-height:22px}
.home-story-copy h2+p{margin-top:12px;font-size:24px;line-height:28px;letter-spacing:-.025em;color:#d2d2d2}
.home-story-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:36px}
.home-story-button{min-height:50px;padding:10px 20px;background:#fff;color:#000;border-radius:4px;text-transform:uppercase}
.home-story-button:hover{background:#eee}
.home-story--build .home-story-card{min-height:880px;padding-block:40px 80px}
.home-story--build .home-story-detail{grid-column:1/span 4}
.home-story--build .home-story-copy{grid-column:8/span 5}
.home-story--design{padding:40px 16px}
.home-story--design .home-story-card{min-height:0;padding:24px 16px;grid-template-columns:repeat(2,minmax(0,1fr));background:#1a1a1a;border-radius:6px}
.home-story--design .home-story-copy{grid-column:1;padding:0 0 0 8px}
.home-story--design .home-story-detail{grid-column:2;border-radius:6px}
.home-story--design .home-story-detail img{aspect-ratio:auto;height:min(90svh,810px);min-height:560px;object-position:58% center}

@media(width < 1024px){
  .home-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-story-card,.home-intro-grid,.home-section-head{grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
  .home-intro h2,.home-section-head .home-section-label{grid-column:1/span 2}
  .home-intro .custom-intro-description,.home-section-head>div{grid-column:3/-1}
  .home-story .home-story-copy,.home-story .home-story-detail{grid-column:span 3;grid-row:auto}
  .home-story--space .home-story-copy{order:-1}
  .home-story--design .home-story-card{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-story--design .home-story-card>*{grid-column:auto;grid-row:1}
  .home-story--design .home-story-copy{grid-column:1}
  .home-story--design .home-story-detail{grid-column:2}
  .home-story--design .home-story-detail img{min-height:500px}
  .home-page .featured-gallery{--rail-height:720px}
  .home-section-head h2,.home-story-copy h2,.home-page .featured-name{font-size:32px;line-height:36px}
  .home-section-head p:not(.home-section-label),.home-story-copy h2+p{font-size:20px;line-height:24px}
}

@media(width < 768px){
  .home-hero-copy{padding-bottom:26px}
  .home-hero-heading{font-size:clamp(31px,12.3vw,48px);line-height:1}
  .home-hero-heading span{display:block}
  .home-intro{padding:64px var(--home-gutter)}
  .home-intro-grid,.home-section-head{grid-template-columns:minmax(0,1fr);gap:20px}
  .home-intro h2,.home-intro .custom-intro-description,.home-section-head .home-section-label,.home-section-head>div{grid-column:1}
  .home-intro h2,.home-intro p,.home-section-head h2,.home-story-copy h2,.home-page .featured-name{font-size:24px;line-height:28px}
  .home-section-head p:not(.home-section-label),.home-story-copy h2+p{font-size:16px;line-height:20px}
  .home-film-stage{height:100svh}
  .home-film-caption{padding:12px 16px}
  .home-film-toggle{right:12px;top:8px}
  .home-film-caption a{bottom:12px;left:12px;font-size:12px}
  .home-page .featured-projects{padding:64px 0}
  .home-page .featured-header{margin-bottom:24px}
  .home-page .featured-gallery{--rail-height:520px}
  .home-page .featured-track[data-enhanced] .featured-slide{border-radius:8px}
  .home-page .featured-track[data-enhanced] .featured-slide:not([data-current]) .featured-caption{visibility:visible}
  .home-page .featured-caption{--featured-panel:1;padding:8px 8px 12px}
  .featured-caption-meta{display:flex;justify-content:space-between;padding-block:0 14px;font-size:14px;border-top:0}
  .featured-caption-meta>span:first-child{background:#000;color:#fff;font-size:11px}
  .featured-caption-meta>span:last-child{transform:none}
  .home-page .featured-name{max-width:100%;overflow-wrap:anywhere}
  .home-page .featured-detail{font-size:14px}
  .home-page .featured-controls button{display:none}
  .home-page .featured-film{font-size:12px;top:10px;right:10px}
  .home-services{padding:24px 0}
  .home-services .home-section-head{margin-bottom:24px}
  .home-service-grid article>a{padding:12px}
  .home-service-grid figure{aspect-ratio:1.5}
  .home-service-copy h3{font-size:16px;line-height:20px}
  .home-service-copy svg{font-size:17px}
  .home-story .home-story-card{min-height:0;grid-template-columns:minmax(0,1fr);gap:24px;padding:calc(64px + 40vw) var(--home-gutter) 64px}
  .home-story .home-story-detail,.home-story .home-story-copy{grid-column:1;grid-row:auto;order:0}
  .home-story:not(.home-story--design) .home-story-detail{width:72%}
  .home-story--space .home-story-detail{justify-self:end}
  .home-story-service{font-size:14px;line-height:20px;margin-bottom:12px}
  .home-story-links{margin-top:20px}
  .home-story-button{font-size:12px;min-height:48px;padding:8px 13px}
  .home-story--design{padding:24px 8px}
  .home-story--design .home-story-card{padding:16px;gap:32px}
  .home-story--design .home-story-copy{grid-row:1;padding:0}
  .home-story--design .home-story-detail img{height:200px;min-height:0}
}

@media(min-width:1024px) and (prefers-reduced-motion:no-preference){
  .home-page .footer[data-footer-reveal] .footer-panel{clip-path:inset(0 0 var(--footer-cut) round 6px);overflow:clip}
  .home-page .footer[data-footer-reveal] .footer-photo,
  .home-page .footer[data-footer-reveal] .footer-panel::before{height:calc(100% - var(--footer-cut))}
  .home-page .footer[data-footer-reveal] .footer-head{opacity:var(--footer-upper-opacity)}
  .home-page .footer[data-footer-reveal] .footer-details{opacity:var(--footer-lower-opacity);translate:0 calc(-1 * var(--footer-cut))}
  .home-page .footer[data-footer-reveal]:not([data-footer-upper-visible]) .footer-head,
  .home-page .footer[data-footer-reveal]:not([data-footer-lower-visible]) .footer-details{pointer-events:none}
}

@media(prefers-reduced-motion:no-preference){
  .home-hero-heading span{animation:home-hero-in .84s cubic-bezier(.2,.65,.26,1) both}
  .home-hero-heading span:nth-child(2){animation-delay:.14s}
  .home-hero-heading span:nth-child(3){animation-delay:.27s}
  @keyframes home-hero-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  .home-intro[data-intro-ready]:not([data-intro-visible]) :is(h2,p)>span{opacity:0;transform:translateY(40px)}
  .home-intro[data-intro-ready][data-intro-visible] :is(h2,p)>span{animation:home-intro-in 1.45s linear(0,.08 4%,.19 10%,.34 19%,.53 32%,.69 45%,.81 58%,.9 72%,.96 86%,1) both}
  @keyframes home-intro-in{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
  .home-services[data-services-ready]:not([data-services-visible]) article{opacity:0;transform:translateY(20px)}
  .home-services[data-services-visible]:not([data-services-instant]) article{animation:home-service-in .48s ease-out calc(.2s + var(--service-order) * .1s) both}
  @keyframes home-service-in{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
  @supports(view-timeline-name:--hero) and (animation-range:exit 0% exit 100%){
    .home-hero{view-timeline-name:--hero}
    .home-hero-media{animation:home-hero-parallax 1ms linear both;animation-timeline:--hero;animation-range:exit 0% exit 100%}
    @keyframes home-hero-parallax{from{transform:translateY(0)}to{transform:translateY(15%)}}
  }
}

@media(prefers-reduced-motion:reduce){
  .home-hero-video{display:none}
  .home-service-grid a:is(:hover,:focus-visible) img{transform:none}
  .home-intro p>span{background-size:100% 100%}
}

