/* B-ART — koncepcja 01 „Słoje”
   Ciepły minimalizm: kremowy papier, orzech, oliwka. Fraunces + Instrument Sans. */

:root {
  --paper: #F3EDE3;
  --linen: #E7DECF;
  --walnut: #3B2A1E;
  --bark: #241911;
  --olive: #66683A;
  --olive-soft: #A9A877;
  --oak: #E5D3B4;
  --ash: #F1EEE6;
  --rule: rgba(59, 42, 30, .2);
  --rule-light: rgba(243, 237, 227, .22);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --g: clamp(20px, 4.2vw, 68px);       /* margines boczny */
  --bar: 64px;                          /* wysokość paska */
  --ease: cubic-bezier(.22, .7, .15, 1);

  /* skala typograficzna ~ kwarta 4:3 od 17 px */
  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.4167rem;
  --t-xl: 1.889rem;
  --t-2xl: clamp(2.1rem, 3.6vw, 3.4rem);
  --t-3xl: clamp(2.6rem, 5vw, 4.6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--walnut);
  font-family: var(--sans);
  font-size: var(--t-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--olive); color: var(--paper); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--walnut); color: var(--paper); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

h2 {
  font-family: var(--serif);
  font-weight: 330;
  font-size: var(--t-3xl);
  line-height: 1.04;
  letter-spacing: -.015em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}

/* ---------- Logo ---------- */
.logo, .foot__mark {
  font-family: var(--serif);
  font-weight: 420;
  font-variation-settings: "opsz" 72;
  letter-spacing: .01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.logo { font-size: 1.45rem; }
.logo__ring {
  display: inline-block;
  width: .62em; height: .4em;
  margin: 0 .1em;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  transform: translateY(.02em);
}
.logo__ring::after {
  content: ""; position: absolute; inset: 22% 26%;
  border: 1px solid currentColor; border-radius: 50%; opacity: .7;
}

/* ---------- Pasek ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 var(--g);
  background: rgba(243, 237, 227, .95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  color: var(--walnut);
}
.bar__nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: var(--t-s); }
.bar__nav a { text-decoration: none; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.bar__nav a:hover { background-size: 100% 1px; }
.bar__cta {
  font-size: var(--t-s); font-weight: 500; text-decoration: none;
  padding: .5rem 1rem; border: 1px solid var(--walnut); border-radius: 999px;
  transition: background .25s, color .25s;
}
.bar__cta:hover { background: var(--walnut); color: var(--paper); }

/* ---------- Licznik słojów (w pasku) ---------- */
.rings {
  display: flex; align-items: center; gap: 10px;
  padding-left: 1.4rem; margin-left: .2rem;
  border-left: 1px solid var(--rule);
  height: 30px;
}
.rings__svg { width: 34px; height: 34px; flex: none; }
.rings__svg path { fill: none; stroke: var(--walnut); stroke-width: 2.4; stroke-linecap: round; transition: stroke-dashoffset .9s var(--ease); }
.rings__svg circle { fill: var(--olive); }
.rings__label { font-family: var(--serif); font-style: italic; font-size: var(--t-s); white-space: nowrap; }

/* ---------- Rozdziały ---------- */
.chapter {
  display: flex; align-items: baseline; gap: .9rem;
  font-size: var(--t-s);
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--rule);
}
.chapter__no { font-family: var(--serif); font-style: italic; font-size: var(--t-l); color: var(--olive); min-width: 1.6em; line-height: 1; }
.chapter__name { letter-spacing: .01em; }
.chapter--light { border-color: var(--rule-light); }
.chapter--light .chapter__no { color: var(--olive-soft); }

/* ---------- Plansze przypinane: wspólne ---------- */
.pin { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { height: 300vh; }
.hero__stage { background: var(--paper); }
.hero__mark {
  position: absolute; left: 0; right: 0; top: 47%;
  transform: translateY(-50%);
  display: flex; justify-content: center; align-items: center;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(5.5rem, 25vw, 27rem);
  line-height: .8;
  letter-spacing: -.035em;
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
}
.hero__mark--ink { color: var(--walnut); z-index: 1; }
.hero__mark--paper { color: var(--paper); z-index: 2; }
.hero__half { display: block; will-change: transform; }
.hero__gap {
  display: block; flex: none;
  width: .6em; height: .38em;
  margin: 0 .04em;
  transform: translateY(.03em);
}
.hero__mark--ink .hero__gap { border: 2px solid var(--walnut); border-radius: 50%; }

.hero__photo {
  position: absolute; inset: 0; z-index: 2;
  clip-path: ellipse(0 0 at 50% 50%);
  will-change: clip-path;
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%;
  transform-origin: 50% 52%;
  will-change: transform;
}
.hero__photo::after { /* przyciemnienie pod podpis */
  content: ""; position: absolute; inset: 45% 0 0 0;
  background: linear-gradient(to bottom, rgba(36, 25, 17, 0), rgba(36, 25, 17, .72));
  opacity: var(--cap, 0);
}
.hero__caption {
  position: absolute; left: var(--g); bottom: clamp(28px, 7vh, 72px); z-index: 3;
  max-width: 34rem; color: var(--paper);
  opacity: var(--cap, 0);
  transform: translateY(calc((1 - var(--cap, 0)) * 24px));
}
.hero__caption-title { font-family: var(--serif); font-style: italic; font-size: var(--t-xl); line-height: 1.1; margin-bottom: .5rem; }
.hero__caption p:last-child { font-size: var(--t-m); line-height: 1.55; opacity: .92; }

.hero__lead {
  position: absolute; z-index: 3;
  left: 50%; bottom: clamp(70px, 14vh, 150px);
  transform: translateX(-50%);
  width: min(34rem, calc(100% - 2 * var(--g)));
  text-align: center;
  font-family: var(--serif);
  font-size: var(--t-l);
  font-weight: 340;
  line-height: 1.4;
  font-variation-settings: "opsz" 24;
  opacity: var(--lead, 1);
}
.hero__hint {
  position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: var(--t-xs); letter-spacing: .04em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: var(--lead, 1);
}
.hero__hint span { width: 1px; height: 30px; background: var(--walnut); transform-origin: top; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   WSTĘP
   ========================================================= */
.intro {
  padding: clamp(90px, 16vh, 170px) var(--g) clamp(80px, 14vh, 150px);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: end;
}
.intro__big {
  grid-column: 1 / span 8;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  text-wrap: balance;
}
.intro__side { grid-column: 10 / span 3; font-size: var(--t-s); display: grid; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); }

/* =========================================================
   TRZY GATUNKI
   ========================================================= */
.species { height: 380vh; }
.species__stage {
  --bg: var(--oak); --fg: var(--walnut);
  background: var(--bg); color: var(--fg);
  transition: background-color 1s var(--ease), color 1s var(--ease);
  padding: calc(var(--bar) + 28px) var(--g) 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: clamp(28px, 5vw, 90px);
}
.species[data-active="1"] .species__stage { --bg: var(--ash); }
.species[data-active="2"] .species__stage { --bg: var(--walnut); --fg: var(--paper); }
.species[data-active="2"] .chapter { border-color: var(--rule-light); }
.species[data-active="2"] .chapter__no { color: var(--olive-soft); }

.species .chapter { grid-column: 1 / -1; transition: border-color 1s; }
.species__title {
  grid-column: 1; margin-top: 1.2rem;
  font-size: var(--t-xl); font-weight: 340; font-style: italic; font-variation-settings: "opsz" 36;
}
.species__tabs { grid-column: 1; display: flex; gap: 1.6rem; margin-top: 1.2rem; }
.species__tabs button {
  background: none; border: 0; padding: 0 0 6px; cursor: pointer;
  font-size: var(--t-s); opacity: .55;
  border-bottom: 1px solid transparent;
  transition: opacity .4s, border-color .4s;
}
.species__tabs button[aria-selected="true"] { opacity: 1; border-color: currentColor; }

.species__words { grid-column: 1; grid-row: 4; position: relative; align-self: center; height: 1.12em; font-size: clamp(5rem, 17.5vw, 17rem); overflow: hidden; }
.species__word {
  position: absolute; left: -.04em; top: 0;
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144;
  line-height: .9; letter-spacing: -.04em;
  transform: translateY(130%);
  transition: transform 1s var(--ease);
}
.species__word.is-on { transform: translateY(0); }
.species__word.is-past { transform: translateY(-130%); }

.species__texts { grid-column: 1; grid-row: 5; position: relative; min-height: 11.5rem; }
.species__text {
  position: absolute; inset: 0 auto auto 0; width: min(100%, 40rem);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s, transform .8s var(--ease);
  pointer-events: none;
}
.species__text.is-on { opacity: 1; transform: none; transition-delay: .2s; pointer-events: auto; }
.species__text p { font-size: var(--t-m); line-height: 1.6; max-width: 32ch; }
.species__text dl { font-size: var(--t-s); }
.species__text dl div { display: grid; gap: 1px; padding: 7px 0; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 22%, transparent); }
.species__text dt { opacity: .62; font-size: var(--t-xs); }

.species__media { grid-column: 2; grid-row: 2 / 6; position: relative; margin-top: 1.2rem; }
.species__fig {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0; transform: scale(1.03);
  transition: opacity .9s var(--ease), transform 1.4s var(--ease);
}
.species__fig.is-on { opacity: 1; transform: none; }
.species__fig img { flex: 1; min-height: 0; width: 100%; object-fit: cover; border-radius: 999px 999px 4px 4px; }
.species__fig figcaption { font-family: var(--serif); font-style: italic; font-size: var(--t-s); margin-top: .7rem; max-width: 36ch; }

/* =========================================================
   KUCHNIA — poziomy pas
   ========================================================= */
.kitchen { height: 400vh; }
.kitchen__stage { background: var(--paper); }
.kitchen__track {
  position: absolute; top: 0; left: 0; height: 100%;
  display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px);
  padding: calc(var(--bar) + 20px) var(--g) 60px;
  will-change: transform;
}
.kitchen__intro { flex: none; width: min(30rem, 80vw); align-self: center; }
.kitchen__intro h2 { margin: 1.6rem 0 1.2rem; }
.kitchen__intro p { max-width: 36ch; }
.kitchen__hint { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; font-size: var(--t-s); color: var(--olive); }

.card { flex: none; align-self: flex-start; margin-top: 2vh; }
.card--low { align-self: flex-end; margin-bottom: 2vh; }
.card img { height: 54vh; width: auto; max-width: none; object-fit: cover; }
.card--crop img { height: 40vh; aspect-ratio: 1600 / 780; object-position: 50% 0; }
.card figcaption { display: grid; gap: 2px; margin-top: .9rem; padding-top: .7rem; border-top: 1px solid var(--rule); max-width: 26rem; }
.card__name { font-family: var(--serif); font-size: var(--t-l); line-height: 1.2; font-weight: 380; }
.card__note { font-size: var(--t-s); opacity: .75; }

.kitchen__outro { flex: none; width: min(22rem, 76vw); align-self: center; padding-right: 4vw; }
.kitchen__outro p { font-family: var(--serif); font-size: var(--t-xl); line-height: 1.2; font-weight: 330; margin-bottom: 1.4rem; }
.link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--olive); }
.link:hover { color: var(--walnut); }

.kitchen__progress { position: absolute; left: var(--g); right: var(--g); bottom: 26px; height: 1px; background: var(--rule); }
.kitchen__progress span { position: absolute; inset: 0; background: var(--walnut); transform-origin: left; transform: scaleX(var(--kp, 0)); }

/* =========================================================
   PŁASKORZEŹBY — galeria z przenikaniem
   ========================================================= */
.reliefs { height: 480vh; background: var(--bark); }
.reliefs__stage {
  background: var(--bark); color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr);
  gap: clamp(28px, 4vw, 72px);
  padding: calc(var(--bar) + 28px) var(--g) 40px;
  align-items: stretch;
}
.reliefs__side { display: flex; flex-direction: column; min-height: 0; }
.reliefs__side h2 { margin: 1.4rem 0 1rem; font-size: clamp(2.2rem, 3.6vw, 3.6rem); }
.reliefs__intro { font-size: var(--t-s); opacity: .8; max-width: 38ch; }
.reliefs__list { margin-top: auto; display: grid; border-top: 1px solid var(--rule-light); }
.reliefs__list button {
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: .55rem 0; border-bottom: 1px solid var(--rule-light);
  font-family: var(--serif); font-size: var(--t-l); line-height: 1.2; font-weight: 330;
  opacity: .4; transition: opacity .4s, padding .5s var(--ease);
}
.reliefs__list button[aria-selected="true"] { opacity: 1; padding-left: .8rem; }

.reliefs__frame { position: relative; height: 100%; aspect-ratio: 3 / 4; max-height: calc(100svh - var(--bar) - 68px); justify-self: center; }
.relief { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease); }
.relief.is-on { opacity: 1; transform: none; }
.relief img { width: 100%; height: 100%; object-fit: cover; }

.reliefs__captions { position: relative; align-self: end; min-height: 12rem; }
.reliefs__cap { position: absolute; left: 0; right: 0; bottom: 3rem; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .8s var(--ease); }
.reliefs__cap.is-on { opacity: 1; transform: none; transition-delay: .25s; }
.reliefs__kind { font-family: var(--serif); font-style: italic; font-size: var(--t-xl); color: var(--olive-soft); margin-bottom: .5rem; line-height: 1.1; }
.reliefs__cap p:last-child { font-size: var(--t-s); max-width: 30ch; opacity: .85; }
.reliefs__count { position: absolute; left: 0; bottom: 0; font-size: var(--t-xs); opacity: .6; }

/* inne realizacje */
.more { background: var(--bark); color: var(--paper); padding: clamp(60px, 10vh, 110px) var(--g) clamp(80px, 14vh, 140px); }
.more__title { font-family: var(--serif); font-weight: 330; font-size: var(--t-xl); font-style: italic; margin-bottom: 2rem; padding-bottom: .9rem; border-bottom: 1px solid var(--rule-light); }
.more__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.more__grid figure:nth-child(even) { margin-top: 48px; }
.more__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.more__grid figcaption { font-size: var(--t-xs); opacity: .72; margin-top: .5rem; line-height: 1.35; }

/* =========================================================
   PROCES
   ========================================================= */
.process { padding: clamp(90px, 14vh, 150px) var(--g) clamp(60px, 10vh, 120px); }
.process__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; margin-top: 3rem; }
.process__sticky { grid-column: 1 / span 6; position: sticky; top: calc(var(--bar) + 32px); height: calc(100vh - var(--bar) - 64px); display: flex; gap: 24px; }
.process__frame { position: relative; flex: none; height: 100%; aspect-ratio: 3 / 4; max-width: 72%; }
.process__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.process__big { position: relative; flex: 1; align-self: flex-end; height: 1em; overflow: hidden; font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(6rem, 12vw, 12rem); line-height: 1; color: var(--olive); }
.process__big span { position: absolute; left: 0; bottom: 0; transform: translateY(100%); transition: transform .8s var(--ease); }
.process[data-active="0"] .process__frame img:nth-child(1),
.process[data-active="1"] .process__frame img:nth-child(2),
.process[data-active="2"] .process__frame img:nth-child(3),
.process[data-active="3"] .process__frame img:nth-child(4) { opacity: 1; }
.process[data-active="0"] .process__big span:nth-child(1),
.process[data-active="1"] .process__big span:nth-child(2),
.process[data-active="2"] .process__big span:nth-child(3),
.process[data-active="3"] .process__big span:nth-child(4) { transform: none; }

.process__steps { grid-column: 8 / span 5; list-style: none; padding: 0; counter-reset: s; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--rule); padding: 2rem 0; counter-increment: s; }
.step:last-child { min-height: 60vh; }
.step::before { content: counter(s) " z 4"; font-size: var(--t-xs); opacity: .6; margin-bottom: 1rem; }
.step h3 { font-family: var(--serif); font-weight: 340; font-size: var(--t-2xl); line-height: 1.08; margin-bottom: 1rem; letter-spacing: -.01em; }
.step p { max-width: 38ch; }
.step__img { display: none; }

/* =========================================================
   PRACOWNIA
   ========================================================= */
.barn { background: var(--linen); padding: clamp(80px, 13vh, 140px) var(--g); }
.barn__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; margin-top: 3rem;
  grid-template-areas:
    "t t t t t . w w w w w w"
    "x x x x . . w w w w w w"
    "a a a . b b b . . . . .";
}
.barn__title { grid-area: t; align-self: start; }
.barn__wide { grid-area: w; }
.barn__text { grid-area: x; display: grid; gap: 1rem; align-self: end; max-width: 40ch; }
.barn__tall--a { grid-area: a; }
.barn__tall--b { grid-area: b; margin-top: 90px; }
.barn__wide img, .barn__tall img { width: 100%; object-fit: cover; }
.barn__wide img { aspect-ratio: 4 / 3; }
.barn__tall img { aspect-ratio: 3 / 4; }
.barn figcaption { font-family: var(--serif); font-style: italic; font-size: var(--t-s); margin-top: .6rem; }

/* =========================================================
   ZAMÓWIENIA
   ========================================================= */
.order { padding: clamp(90px, 14vh, 150px) var(--g) clamp(90px, 14vh, 150px); }
.order__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; margin-top: 3rem; }
.order__info { grid-column: 1 / span 5; }
.order__info h2 { margin-bottom: 1.4rem; }
.order__info > p { max-width: 42ch; }
.order__contact { margin-top: 2.6rem; display: grid; }
.order__contact div { display: grid; grid-template-columns: 8rem 1fr; padding: .7rem 0; border-top: 1px solid var(--rule); }
.order__contact div:last-child { border-bottom: 1px solid var(--rule); }
.order__contact dt { font-size: var(--t-s); opacity: .65; }
.order__contact dd { font-family: var(--serif); font-size: var(--t-l); line-height: 1.3; }
.order__contact a { text-decoration: none; }
.order__contact a:hover { color: var(--olive); }

.form { grid-column: 7 / span 6; display: grid; gap: 1.4rem; align-content: start; background: var(--linen); padding: clamp(24px, 3vw, 44px); border-radius: 4px; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: var(--t-s); }
.field input[type="text"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--t-m); color: var(--walnut);
  background: transparent; border: 0; border-bottom: 1px solid var(--walnut);
  padding: .5rem 0; border-radius: 0;
}
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--walnut) 50%) right 6px center / 7px 7px no-repeat, transparent; cursor: pointer; }
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--olive); box-shadow: 0 1px 0 var(--olive); }
.field ::placeholder { color: var(--walnut); opacity: .45; }
.field--chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.field--chips legend { width: 100%; margin-bottom: .5rem; }
.field--chips label { cursor: pointer; }
.field--chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field--chips span { display: inline-block; padding: .35rem .95rem; border: 1px solid var(--walnut); border-radius: 999px; font-size: var(--t-s); transition: background .2s, color .2s; }
.field--chips input:checked + span { background: var(--walnut); color: var(--paper); }
.field--chips input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.btn {
  justify-self: start; cursor: pointer;
  background: var(--olive); color: var(--paper); border: 0; border-radius: 999px;
  padding: .85rem 1.7rem; font-weight: 500; font-size: var(--t-m);
  transition: background .25s;
}
.btn:hover { background: var(--walnut); }
.form__status { font-family: var(--serif); font-style: italic; font-size: var(--t-m); color: var(--olive); min-height: 1.5em; }

/* ---------- Stopka ---------- */
.foot { background: var(--walnut); color: var(--paper); padding: clamp(60px, 10vh, 100px) var(--g) 36px; overflow: hidden; }
.foot__mark { font-size: clamp(5rem, 22vw, 22rem); font-weight: 300; font-variation-settings: "opsz" 144; letter-spacing: -.035em; line-height: .8; display: flex; }
.foot__mark .logo__ring { border-width: 2px; }
.foot__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 2.6rem; padding-top: 1rem; border-top: 1px solid var(--rule-light); font-size: var(--t-s); opacity: .8; }

/* =========================================================
   TABLET / TELEFON
   ========================================================= */
@media (max-width: 1100px) {
  .bar__nav { display: none; }
  .bar__cta { margin-left: auto; }
  .rings { border-left: 0; padding-left: .4rem; }
  .intro__big { grid-column: 1 / -1; }
  .intro__side { grid-column: 1 / span 8; margin-top: 2.4rem; }
  .more__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  :root { --bar: 56px; }
  .logo { font-size: 1.3rem; }
  .bar__cta { padding: .4rem .85rem; font-size: var(--t-xs); }
  .rings { display: none; }

  .hero { height: 240vh; }
  .hero__mark { top: 42%; }
  .hero__lead { bottom: 96px; font-size: 1.15rem; }

  .intro { display: block; }
  .intro__side { margin-top: 2rem; }

  .species { height: 330vh; }
  .species__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    padding: calc(var(--bar) + 14px) var(--g) 18px;
  }
  .species__title { display: none; }
  .species__tabs { grid-row: 2; margin-top: .9rem; }
  .species__words { grid-row: 3; font-size: 21vw; margin-top: .6rem; }
  .species__media { grid-column: 1; grid-row: 4; margin: .9rem 0; }
  .species__fig figcaption { display: none; }
  .species__texts { grid-row: 5; min-height: 8.6rem; }
  .species__text { grid-template-columns: 1fr; gap: 0; }
  .species__text dl { display: none; }
  .species__text p { font-size: var(--t-s); }

  .kitchen__track { gap: 22px; padding-bottom: 50px; }
  .card img { height: 46vh; }
  .card--crop img { height: 30vh; }
  .card figcaption { max-width: 78vw; }
  .kitchen__intro h2 { font-size: 2.3rem; }

  .reliefs { height: 430vh; }
  .reliefs__stage {
    grid-template-columns: 1fr; grid-template-rows: auto 1fr auto;
    gap: 14px; padding: calc(var(--bar) + 14px) var(--g) 18px;
  }
  .reliefs__side h2 { font-size: 1.9rem; margin: .8rem 0 0; }
  .reliefs__intro, .reliefs__list { display: none; }
  .reliefs__frame { height: auto; max-height: none; min-height: 0; width: 100%; aspect-ratio: auto; }
  .reliefs__frame .relief img { object-fit: contain; }
  .reliefs__captions { min-height: 7.2rem; }
  .reliefs__cap { bottom: 1.6rem; }
  .reliefs__kind { font-size: var(--t-l); margin-bottom: .2rem; }

  .more__grid { grid-template-columns: repeat(2, 1fr); }
  .more__grid figure:nth-child(even) { margin-top: 32px; }

  .process__grid { display: block; margin-top: 2rem; }
  .process__sticky { display: none; }
  .step { min-height: 0; padding: 2rem 0 2.4rem; }
  .step:last-child { min-height: 0; }
  .step__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 1.4rem; order: 3; }

  .barn__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "t t" "w w" "x x" "a b"; gap: 24px 14px; }
  .barn__tall--b { margin-top: 40px; }

  .order__grid { display: block; }
  .form { margin-top: 3rem; }
  .order__contact div { grid-template-columns: 6.5rem 1fr; }
}

/* =========================================================
   TRYB STATYCZNY (prefers-reduced-motion) — plansze nie są przypinane,
   przełączanie tylko przyciskami / poziomym przewijaniem
   ========================================================= */
html.static .pin { height: auto !important; }
html.static .sticky { position: relative; }
html.static .hero__hint span { animation: none; transform: scaleY(1); }
html.static .kitchen__track { position: relative; overflow-x: auto; width: 100%; transform: none !important; }
html.static .kitchen__progress { display: none; }
html.static *, html.static *::before, html.static *::after { transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
