:root{--surface:#ecf0eb;--ink:#172522;--muted:#52615a;--accent:#b6d9c7;--line:#c8d2ca;--panel:#d9e2d9;--radius:3px;color-scheme:light;--gutter:clamp(24px,5vw,88px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--surface);color:var(--ink);font-family:"Avenir Next",Avenir,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}a,button{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible{outline:3px solid #4c997b;outline-offset:6px}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2{font-weight:500;letter-spacing:-.065em;line-height:1.035}main{overflow:clip}::selection{background:var(--accent);color:#172522}.skip-link{position:fixed;top:8px;left:8px;transform:translateY(-150%);z-index:6;background:var(--accent);padding:15px;color:#172522}.skip-link:focus{transform:none}
/* Layer scale: scene 0-3, header 4, keyboard skip link 6. */
.header{position:absolute;top:0;left:0;width:100%;height:88px;padding:0 var(--gutter);display:flex;align-items:center;justify-content:space-between;z-index:4;color:#f1f4ef;background:linear-gradient(#101b1a99,transparent)}.wordmark{font-size:25px;letter-spacing:-1.2px;font-weight:650}.wordmark span{font-weight:400}.wordmark i{font-style:normal;color:var(--accent);margin-left:9px;font-size:28px}.header nav{display:flex;align-items:center;gap:36px;font-size:14px}.nav-contact{border-bottom:1px solid #c4d7cc;padding:11px 0}.nav-contact span{margin-left:24px}.header a{transition:opacity .2s}.header a:hover{opacity:.72}
.story{position:relative;min-height:100svh;background:#14201e;color:#f1f4ef}.stage{position:relative;height:100svh;min-height:680px;overflow:hidden}.invitation{position:absolute;inset:0;background-image:url('assets/zaproszenie.jpg');background-position:center;background-size:cover;transform-origin:62% 50%}.shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,19,19,.75),rgba(9,19,19,.45) 34%,transparent 68%),linear-gradient(0deg,rgba(9,19,19,.72),transparent 28%);pointer-events:none}.hero-copy{position:absolute;left:var(--gutter);top:21%;width:54%;z-index:2}.byline{font-size:14px;margin-bottom:26px;color:#c5ddd0}.hero-copy h1{font-size:clamp(56px,6.25vw,104px);max-width:1000px}.intro{font-size:clamp(14px,1.1vw,18px);line-height:1.7;margin-top:26px;color:#e0e7e1;max-width:43ch}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:30px}.button{display:inline-flex;align-items:center;gap:32px;white-space:nowrap;background:var(--accent);color:#15271f;padding:17px 23px;border-radius:var(--radius);font-size:14px;font-weight:600;transition:transform .25s,background .25s}.button:hover{background:#d1e8d9;transform:translateY(-3px)}.button:active{transform:scale(.98)}.text-link{display:inline-flex;gap:20px;align-items:center;padding:10px 0;font-size:14px;border-bottom:1px solid currentColor;transition:gap .25s}.text-link:hover{gap:29px}.scene-controls{position:absolute;bottom:30px;left:var(--gutter);right:var(--gutter);display:flex;justify-content:space-between;z-index:3;font-size:12px;color:#e6eee7}.scene-controls button{background:#172522b3;color:inherit;border:1px solid #dbe7df55;padding:9px 14px;border-radius:var(--radius);cursor:pointer}.scene-controls a{background:#172522b3;padding:9px 14px;border-radius:var(--radius)}.scene-controls span{margin-left:16px}.scene-controls button:hover,.scene-controls a:hover{background:#314a40}
.desk{position:absolute;inset:0;opacity:0;pointer-events:none}.desk-plate{position:absolute;left:50%;top:50%;width:100%;aspect-ratio:1672/940;transform:translate(-50%,-50%);transform-origin:72.8% 43.4%}.desk-image{width:100%;height:100%;object-fit:cover}.monitor-screen{position:absolute;left:51.15%;top:22.7%;width:43.2%;height:41.4%;overflow:hidden;background:#252928;clip-path:polygon(0 2%,100% 0,100% 100%,0 100%)}.monitor-screen img{width:100%;height:auto}.desk-copy{position:absolute;left:var(--gutter);bottom:15%;z-index:2;opacity:0;max-width:520px;text-shadow:0 2px 18px #0b1512}.desk-copy p{font-size:clamp(32px,3.4vw,58px);line-height:1.1;letter-spacing:-.04em}.desk-copy span{display:block;margin-top:20px;line-height:1.6;font-size:17px}.project-caption{position:absolute;left:var(--gutter);bottom:14%;z-index:2;opacity:0;background:#172522ed;padding:22px 28px;border-left:2px solid var(--accent)}.project-caption span{font-size:13px;color:#cbdbd0}.project-caption p{font-size:28px;margin-top:7px}.motion-ready .story{height:420svh}.motion-ready .stage{position:sticky;top:0}.section{padding:128px var(--gutter);max-width:1680px;margin:auto}.section h2{font-size:clamp(40px,5.4vw,82px)}.eyebrow{font-size:12px;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);margin-bottom:22px}.project-heading>p:last-child{line-height:1.7;font-size:18px;margin:25px 0 48px;color:var(--muted)}.project-art{display:block;max-width:1150px;margin-left:auto;background:#343634;border-radius:var(--radius);overflow:hidden}.browser-chrome{display:flex;justify-content:space-between;padding:16px 22px;color:#e4e6df;font-size:12px}.project-crop{aspect-ratio:16/8.5;overflow:hidden;background:#e6e5e2}.project-crop img{width:100%;transition:transform 1s cubic-bezier(.2,.6,.2,1);transform-origin:top}.project-art:hover .project-crop img{transform:scale(1.025)}.project-details{max-width:1150px;margin:24px 0 0 auto;display:flex;align-items:center;gap:24px}.project-details h3{font-size:20px;font-weight:500;letter-spacing:-.025em}.project-details p{font-size:13px;color:var(--muted)}.project-details a{margin-left:auto}.about{display:grid;grid-template-columns:.85fr 1fr;gap:10%;align-items:center;padding-top:70px}.portrait{background:var(--panel);border-radius:var(--radius);overflow:hidden}.portrait img{width:100%;margin-top:24px}.about h2{font-size:clamp(36px,4vw,60px);margin-bottom:28px}.about-copy>p{font-size:17px;line-height:1.8;color:var(--muted);max-width:46ch;margin-top:15px}.about-copy a{margin-top:25px}.contact{padding-top:140px;padding-bottom:130px;border-top:1px solid var(--line)}.contact>p{font-size:16px;margin-bottom:26px;color:var(--muted)}.contact h2{font-size:clamp(50px,7vw,110px)}.contact-email{font-size:clamp(22px,3vw,44px);letter-spacing:-.04em;display:table;border-bottom:1px solid currentColor;padding:16px 0 10px;margin-top:30px}.contact-email span{margin-left:40px}.phone{display:table;margin-top:22px;font-size:20px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:30px var(--gutter);font-size:12px;color:var(--muted)}
@media(prefers-color-scheme:dark){:root{--surface:#172522;--ink:#e5ece5;--muted:#b7c7bd;--line:#3a4a42;--panel:#263c32;color-scheme:dark}}
@media(min-width:1700px){.hero-copy{top:23%}}
@media(max-height:780px) and (min-width:768px){.stage{min-height:600px}.hero-copy{top:18%}.hero-copy h1{font-size:clamp(54px,5.5vw,80px)}.intro{margin-top:20px}.hero-actions{margin-top:22px}}
@media(max-width:767px){:root{--gutter:24px}.header{height:76px}.wordmark{font-size:21px}.header nav{gap:18px;font-size:13px}.nav-work,.nav-about{display:none}.nav-contact span{margin-left:10px}.stage{min-height:700px;height:100svh;max-height:980px}.invitation{background-position:68% 0;background-size:auto 70%;background-repeat:no-repeat;background-color:#14201e;transform-origin:65% 28%}.shade{background:linear-gradient(0deg,#14201e 13%,#14201ef2 26%,#14201e66 45%,transparent 65%),linear-gradient(180deg,#14201e77,transparent 25%)}.hero-copy{top:auto;bottom:98px;left:24px;width:calc(100% - 48px)}.byline{font-size:12px;margin-bottom:15px}.hero-copy h1{font-size:clamp(42px,11vw,68px);line-height:1.02}.intro{font-size:13px;line-height:1.65;margin-top:18px}.intro br{display:none}.hero-actions{gap:20px;margin-top:23px}.button{font-size:12px;padding:15px 17px;gap:20px}.hero-actions .text-link{font-size:12px;gap:8px}.scene-controls{bottom:25px;font-size:11px}.motion-ready .story{height:290svh}.desk-copy{bottom:19%;max-width:85%}.desk-copy p{font-size:34px}.desk-copy span{font-size:15px}.project-caption{bottom:17%;padding:18px 20px}.project-caption p{font-size:24px}.section{padding-top:80px;padding-bottom:80px}.section h2{font-size:43px}.project-heading>p:last-child{font-size:15px;margin-bottom:30px}.browser-chrome{font-size:10px;padding:12px}.project-crop{aspect-ratio:4/3}.project-details{gap:8px;flex-wrap:wrap}.project-details h3{width:100%;font-size:19px}.project-details p{font-size:12px}.project-details a{font-size:12px}.about{grid-template-columns:1fr;gap:35px;padding-top:15px}.portrait{max-width:460px}.about-copy>p{font-size:16px}.contact h2{font-size:52px}.contact-email{font-size:22px}.contact-email span{margin-left:14px}.contact>p{font-size:14px}.phone{font-size:18px}footer{flex-wrap:wrap;font-size:11px}footer>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.motion-ready .story{height:auto}.motion-ready .stage{position:relative}}
.motion-off .story{height:auto!important}.motion-off .stage{position:relative}.motion-off .desk,.motion-off .seated,.motion-off .desk-copy,.motion-off .project-caption{display:none}
/* Seated-client revision: laptop opening ends the scene; no monitor fly-through. */
img{height:auto}
.hero-sentinel{position:absolute;top:0;left:0;width:1px;height:80svh;pointer-events:none}
.header{height:80px}
.seated{position:absolute;inset:0;opacity:0;background:#14201e url('assets/macbook-zamkniety.jpg') center / cover no-repeat;pointer-events:none}
.desk{background:#14201e}
.desk-plate{transform-origin:50% 50%}
.monitor-screen{left:31.76%;top:26.38%;width:36.55%;height:37.13%;clip-path:polygon(2% 0,97.1% 0,100% 100%,0 100%)}
.monitor-screen img{filter:brightness(.87)}
.project-caption{bottom:10%;padding:14px 22px}
.project-caption p{font-size:23px}
@media(max-width:767px){.invitation{background-position:80% 0}.desk-copy{bottom:auto;top:15%;max-width:85%}.project-caption{bottom:auto;top:14%;left:24px}.stage{min-height:100svh}.hero-sentinel{height:50svh}}
@media(max-width:767px) and (max-height:700px){.hero-copy{bottom:85px}.hero-copy h1{font-size:36px}.byline{margin-bottom:10px}.intro{margin-top:12px;font-size:12px}.hero-actions{margin-top:15px;gap:14px}.hero-actions .button{gap:12px;padding:13px 14px}.hero-actions .text-link{gap:6px}.scene-controls{bottom:20px}.header{height:64px}.wordmark{font-size:19px}.header nav{font-size:12px}}
@media(max-width:360px){.wordmark i,.nav-contact span{display:none}.nav-contact{white-space:nowrap}.hero-actions .button{font-size:11px;padding:13px 12px;gap:10px}.hero-actions .text-link{font-size:11px;white-space:nowrap}.hero-actions{gap:12px}.contact-email{font-size:19px}.contact-email span{margin-left:7px}}
