/* NURT — styl nowoczesny: duża typografia (Space Grotesk), monochrom + zieleń,
   pełnokadrowa fotografia, numerowane sekcje. */

:root {
  --bg: #f4f4f1;
  --ink: #141414;
  --ink-soft: #56564f;
  --line: #dcdcd4;
  --accent: #3f7a52;
  --maxw: 78rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, .brand, .btn, .project-no, .contact-phone {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 20;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: .9rem; padding-bottom: .9rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.35rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none;
}
.brand span { color: var(--accent); }
.brand-mark { height: 1.7rem; width: auto; display: block; }
.nav {
  display: flex; flex-wrap: wrap; gap: .25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  display: block; padding: .45rem .8rem;
  text-decoration: none; font-size: .95rem; font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.nav-cta {
  border: 1.5px solid var(--ink); border-radius: 999px;
}
.nav-cta:hover { background: var(--ink); color: #fff !important; }

/* ---------- hero ---------- */

.hero { position: relative; }
.hero-img {
  width: 100%; height: min(88svh, 54rem); object-fit: cover;
}
.hero-panel {
  position: absolute; inset: auto 0 0 0;
  padding: 6rem 0 3rem;
  background: linear-gradient(transparent, rgba(10, 12, 10, .78));
  color: #fff;
}
.eyebrow {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: #cfd8cf; margin: 0 0 1rem;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.02em;
  margin: 0 0 1.25rem;
}
h1 em { font-style: normal; color: #a8d5b4; }
.hero .lead { max-width: 34rem; margin: 0 0 2rem; color: #e8e8e4; font-size: 1.15rem; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: .9rem 1.9rem;
  background: #fff; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1rem; border-radius: 999px;
  border: 1.5px solid #fff;
}
.btn:hover { background: transparent; color: #fff; }
.btn-line { background: transparent; color: #fff; }
.btn-line:hover { background: #fff; color: var(--ink); }

/* ---------- sekcje ---------- */

section { padding: 5.5rem 0 2rem; }
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.15;
  margin: 0 0 2.5rem; max-width: 46rem;
}
.sec-no {
  display: block; font-size: .8rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem;
}

/* ---------- projekty ---------- */

.projects { padding-bottom: 0; }
.project { padding: 2.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.project-head {
  display: grid; gap: 1rem 3rem;
  grid-template-columns: minmax(5rem, 10rem) minmax(0, 42rem);
  margin-bottom: 2.25rem;
}
.project-no {
  font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; line-height: .9;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
@supports not (-webkit-text-stroke: 2px black) {
  .project-no { color: var(--line); }
}
.project h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .4rem; letter-spacing: -.01em; }
.project-tags {
  margin: 0 0 1rem; font-size: .8rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.project p:last-child { margin: 0; color: var(--ink-soft); }
@media (max-width: 40rem) { .project-head { grid-template-columns: 1fr; } }

.gallery {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: min(100rem, 100%); margin: 0 auto; padding: 0 .8rem;
}
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.g-wide { grid-column: 1 / -1; }
@media (max-width: 40rem) { .gallery { grid-template-columns: 1fr; } }

/* ---------- pracownia ---------- */

.studio { background: var(--ink); color: #ecece7; }
.studio h2 { color: #fff; }
.studio-logo { height: clamp(7rem, 14vw, 10rem); width: auto; display: block; }
.studio .sec-no { color: #a8d5b4; }
.studio-grid {
  display: grid; gap: 2rem 4rem;
  grid-template-columns: minmax(14rem, 1fr) minmax(0, 2fr);
  padding-bottom: 3rem;
}
.big { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; font-weight: 500; color: #fff; margin: 0 0 1.25rem; }
.studio p { color: #c9c9c1; }
@media (max-width: 46rem) { .studio-grid { grid-template-columns: 1fr; } }

/* ---------- proces ---------- */

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  counter-reset: step;
}
.steps li { border-top: 2px solid var(--ink); padding-top: 1.1rem; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700; color: var(--accent); font-size: .95rem; letter-spacing: .15em;
}
.steps h3 { font-size: 1.15rem; margin: .5rem 0 .5rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- kontakt ---------- */

.contact { text-align: center; padding-bottom: 4rem; }
.contact h2 { margin-left: auto; margin-right: auto; }
.contact-person { margin: 0 0 .3rem; font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.contact-phone {
  display: inline-block;
  font-size: clamp(2.6rem, 9vw, 5.5rem); font-weight: 700; letter-spacing: .01em;
  text-decoration: none; line-height: 1.1; margin-bottom: .4rem;
}
.contact-phone:hover { color: var(--accent); }
.contact-mail {
  display: block;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 500;
  text-decoration: none; margin-bottom: 2.5rem; color: var(--ink-soft);
}
.contact-mail:hover { color: var(--accent); }
.contact-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 4rem; justify-content: center;
}
.contact-meta h3 {
  margin: 0 0 .3rem; font-size: .75rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--accent);
}
.contact-meta p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding-top: 1.4rem; padding-bottom: 1.4rem;
  font-size: .9rem; color: var(--ink-soft);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { color: var(--ink-soft); }

/* ---------- podstrony prawne ---------- */

.legal { padding: 4.5rem 0 5rem; }
.legal .wrap { max-width: 50rem; }
.legal h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .6rem;
}
.legal-meta { color: var(--ink-soft); font-size: .9rem; margin: 0 0 3rem; }
.legal h2 { font-size: 1.45rem; margin: 2.6rem 0 1rem; max-width: none; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal a:hover { color: var(--accent); }
