:root{--sand:#d8c5a4;--rust:#ae5139}
.site-header{border-bottom:2px solid var(--ink)}
.brand{display:block;flex:none;line-height:0}
.brand-logo{display:block;width:140px;height:26px;max-width:none;object-fit:cover;object-position:center}
.footer-brand{display:block;line-height:0}
.footer-logo{display:block;width:170px;height:34px;max-width:none;object-fit:cover;object-position:center}
.footer-title{font-size:12px;letter-spacing:.13em}
footer{align-items:center}
.site-header nav a:nth-child(2){display:inline}
.site-header nav a{white-space:nowrap}
.nav-contact{border-radius:0;border-width:2px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.hero{background-color:var(--sand);background-image:linear-gradient(#15191512 1px,transparent 1px),linear-gradient(90deg,#15191512 1px,transparent 1px);background-size:130px 130px;color:var(--ink);max-width:none;min-height:760px;height:min(94vh,1050px);border-bottom:3px solid var(--ink)}
.hero h1{font-family:'Archivo Black',Impact,sans-serif;font-weight:400;font-size:clamp(100px,14vw,225px);line-height:.88;letter-spacing:-.092em;margin:auto 0;position:relative;z-index:2;text-transform:uppercase}
.hero h1>span{display:block;width:max-content;max-width:100%;transform-origin:center;animation:claim-arrive 1.05s cubic-bezier(.16,1,.3,1) var(--arrival-delay) both,claim-float var(--float-duration) ease-in-out var(--float-delay) infinite}
.hero h1>span:nth-child(1){--arrival-delay:.08s;--float-delay:1.13s;--float-duration:6.8s;--bob:-5px;--tilt:.35deg}
.hero h1>span:nth-child(2){--arrival-delay:.26s;--float-delay:1.31s;--float-duration:8.1s;--bob:-7px;--tilt:-.4deg}
.hero h1>span:nth-child(3){--arrival-delay:.44s;--float-delay:1.49s;--float-duration:7.4s;--bob:-4px;--tilt:.3deg}
@keyframes claim-arrive{from{opacity:0;transform:translateX(calc(-100vw - 100%)) rotate(-3deg)}to{opacity:1;transform:translate(0,0) rotate(0)}}
@keyframes claim-float{0%,100%{transform:translate(0,0) rotate(0)}25%{transform:translate(3px,var(--bob)) rotate(var(--tilt))}50%{transform:translate(0,2px) rotate(0)}75%{transform:translate(-3px,calc(var(--bob) * .5)) rotate(calc(var(--tilt) * -1))}}
@media(prefers-reduced-motion:reduce){.hero h1>span{animation:none;opacity:1;transform:none;clip-path:none}}
.hero h1 .claim-invert{background:var(--ink);color:var(--sand);padding:0 .15em .07em .08em;margin:0 0 0 clamp(30px,17vw,290px);line-height:.96}
.hero-period{color:var(--rust)}
.hero .hero-bottom{border-top:2px solid var(--ink);padding-top:22px}
.hero .hero-bottom p{font-weight:800;max-width:450px}
.hero .round-arrow{border:2px solid var(--ink);color:var(--ink);border-radius:0;background:transparent}
.hero .round-arrow:hover{background:var(--ink);color:var(--sand)}
.hero-mark{position:absolute;right:5%;top:23%;width:clamp(180px,22vw,350px);aspect-ratio:1;border:2px solid var(--ink);padding:18px;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(9deg);z-index:0}
.hero-mark span{font-size:11px;font-weight:800;letter-spacing:.12em}
.hero-mark strong{font-size:clamp(140px,20vw,310px);line-height:.8;align-self:center;font-weight:400}
.work{border-bottom:3px solid var(--ink)}
.about{background:#e7e1d4;padding:110px clamp(24px,4.5vw,78px) 125px}
.about-inner{max-width:1564px;margin:0 auto}
.about-grid{grid-template-columns:1fr 1fr;align-items:start;margin-top:65px;gap:100px}
.about h2{font-size:clamp(80px,10vw,160px);line-height:.9}
.about h2 em{color:var(--rust)}
.about-grid>div{max-width:570px;padding-top:10px}
.about-grid p.about-lead{font:700 clamp(26px,3vw,45px)/1.24 Manrope,sans-serif;letter-spacing:-.045em;margin:0 0 35px}
.about-grid p.about-placeholder{font-size:17px;line-height:1.65;max-width:480px;margin:0;color:#373e34}
.about .back-top{margin-top:55px}
.contact-section{background:var(--sand);border-top:3px solid var(--ink);padding:110px clamp(24px,4.5vw,78px) 120px}
.contact-inner{max-width:1564px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:clamp(55px,8vw,150px)}
.contact-heading h2{font:400 clamp(72px,9vw,150px)/.9 'Archivo Black',Impact,sans-serif;letter-spacing:-.09em;margin:42px 0 28px}
.contact-heading h2 span{color:var(--rust)}
.contact-heading p{font-size:22px;font-weight:600;max-width:330px;line-height:1.35}
.contact-form{padding-top:45px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.form-field{display:flex;flex-direction:column;gap:13px;margin-bottom:35px}
.form-field label{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.form-field input,.form-field textarea{background:transparent;color:var(--ink);border:0;border-bottom:2px solid var(--ink);border-radius:0;outline:0;padding:12px 0 14px;font:500 17px/1.4 'DM Sans',sans-serif;resize:vertical;width:100%}
.form-field input::placeholder,.form-field textarea::placeholder{color:#6f6758}
.form-field input:focus,.form-field textarea:focus{border-bottom-color:var(--rust);box-shadow:0 3px 0 var(--rust)}
.form-submit{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ink);color:var(--sand);border:2px solid var(--ink);padding:20px 22px;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.form-submit span{font-size:24px;line-height:1}
.form-submit:hover{background:transparent;color:var(--ink)}
.form-submit:focus-visible{outline:3px solid var(--rust);outline-offset:4px}
.form-note,.form-status{font-size:12px;line-height:1.5;margin:15px 0 0;color:#4d4b43}
.form-status:empty{display:none}
.form-status:not(:empty){font-weight:800;color:var(--ink)}
#home,#projekty,#o-mne,#kontakt{scroll-margin-top:20px}
@media(max-width:900px){.hero{min-height:680px;height:770px}.hero h1{font-size:clamp(90px,14vw,150px)}.hero-mark{right:4%;top:30%;opacity:.45}.contact-inner{gap:55px}.contact-heading h2{font-size:10vw}}
@media(max-width:700px){.contact-inner,.about-grid{grid-template-columns:1fr;gap:35px}.contact-heading h2{font-size:clamp(65px,14vw,100px)}.contact-form{padding-top:0}.about h2{font-size:clamp(80px,14vw,120px)}.about-grid>div{padding-top:0}}
@media(max-width:560px){
  .site-header{height:70px;padding-left:16px;padding-right:16px}
  .site-header nav{gap:8px;font-size:10px}
  .site-header nav>a:first-child,.site-header nav a:nth-child(2){display:inline}
  .brand-logo{width:78px;height:16px}
  .footer-logo{width:120px;height:25px}
  .footer-title{font-size:10px}
  .nav-contact{padding:8px 9px;gap:5px}
  .hero{min-height:620px;height:680px;padding:25px 24px 30px}
  .hero h1{font-size:clamp(58px,17.5vw,98px);line-height:.95;letter-spacing:-.09em}
  .hero h1 .claim-invert{margin-left:6vw;padding-right:.12em}
  .hero-mark{width:160px;right:-30px;top:31%;padding:11px;opacity:.34}
  .hero-mark span{font-size:7px}.hero-mark strong{font-size:140px}
  .hero .hero-bottom p{font-size:17px;max-width:230px}
  .hero .round-arrow{width:54px;height:54px}
  .about{padding-top:80px;padding-bottom:90px}.about-grid{margin-top:48px}.about h2{font-size:21vw}.about-grid p.about-lead{font-size:29px}.about-grid p.about-placeholder{font-size:15px}
  .contact-section{padding-top:80px;padding-bottom:90px}.contact-heading h2{font-size:17vw}.contact-heading p{font-size:18px}.field-row{grid-template-columns:1fr;gap:0}.form-field{margin-bottom:27px}
}
@media(max-width:360px){.site-header{padding-left:12px;padding-right:12px}.site-header nav{gap:8px}.brand-logo{width:63px;height:14px}.hero{padding-left:18px;padding-right:18px}.hero h1{font-size:17vw}}
