/* ==========================================================================
   embray — wspólny arkusz stylów
   Mobile-first. Kolejność: fonty, tokeny, reset, typografia, layout,
   komponenty, podstrony, animacje, preferencje użytkownika.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonty (hostowane lokalnie, patrz assets/fonts/README.txt)
   Podział na latin + latin-ext z unicode-range — przeglądarka pobiera tylko
   potrzebne pliki. Polskie znaki (ą ć ę ł ń ś ź ż) są w latin-ext.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "K2D";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/k2d-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "K2D";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/k2d-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "K2D";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/k2d-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "K2D";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/k2d-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pontano-sans-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pontano-sans-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/pontano-sans-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/pontano-sans-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokeny
   Zasady palety:
   - --clay (#B5745A) tylko dekoracyjnie i w dużych elementach graficznych
     (kontrast 3.3:1 — za mało dla zwykłego tekstu).
   - --clay-ink to terakota do tekstu, linków i przycisków (AA na obu tłach).
   - --moss dekoracyjnie; --moss-ink gdy oliwka ma być tekstem.
   - Tekst zawsze --ink lub --ink-muted, nigdy czysta czerń.
   -------------------------------------------------------------------------- */
:root {
  /* kolory */
  --bg: #F5F1EA;            /* off-white / ecru — tło główne */
  --surface: #EDE6DA;       /* tło sekcji i pól */
  --sand: #D9CDB8;          /* piasek — linie, placeholdery */
  --sand-deep: #C9BAA0;     /* mocniejsza linia, obramowania pól */
  --clay: #B5745A;          /* terakota — akcent dekoracyjny */
  --clay-ink: #8E503A;      /* terakota do tekstu/przycisków: 5.1:1 na --surface, 6.4:1 z białym */
  --clay-ink-hover: #74402E;
  --moss: #6B6B4A;          /* oliwka — akcent drugorzędny */
  --moss-ink: #5B5B3E;      /* oliwka jako tekst: 5.4:1 na --surface */
  --ink: #3B322B;           /* tekst główny: 11:1 na --bg */
  --ink-muted: #6E645B;     /* tekst przyciemniony: 5.1:1 na --bg, 4.7:1 na --surface */
  --paper: #FFFDF9;         /* tekst na ciemnych przyciskach */
  --error: #9B2F22;         /* 6.5:1 na --bg */
  --success: #4F5A32;

  /* typografia */
  --ff-display: "K2D", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Pontano Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* skala ~1.25 na telefonie → ~1.333 na desktopie */
  --fs-xs: 0.8125rem;
  --fs-s: 0.9375rem;
  --fs-m: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-l: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-2xl: clamp(1.625rem, 1.4rem + 1.1vw, 2.25rem);
  --fs-3xl: clamp(2.125rem, 1.7rem + 2.1vw, 3.25rem);
  --fs-display: clamp(2.5rem, 1.55rem + 4.5vw, 5rem);

  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-body: 1.6;

  /* odstępy (rytm 4px) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);

  /* siatka */
  --container: 76rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --measure: 38rem;          /* ok. 65 znaków */

  /* kształty */
  --radius-img: 3px;
  --radius-field: 6px;
  --radius-pill: 999px;

  /* ruch */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;

  --header-h: 4rem;
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--fs-m);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul[class],
ol[class] {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. Typografia
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
}

h2 {
  font-size: var(--fs-2xl);
  line-height: 1.15;
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-l);
}

p {
  text-wrap: pretty;
}

p + p {
  margin-top: var(--sp-4);
}

strong {
  font-weight: 600;
}

a {
  color: var(--clay-ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}

a:hover {
  color: var(--clay-ink-hover);
}

/* odstęp między nagłówkiem a treścią pod nim (niska specyficzność — łatwo nadpisać) */
:where(h1, h2, h3) + :where(p, ul, ol, .lead) {
  margin-top: var(--sp-4);
}

:where(h1, h2) + :where(.lead) {
  margin-top: var(--sp-5);
}

.lead {
  font-size: var(--fs-l);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: var(--measure);
}

.muted {
  color: var(--ink-muted);
}

.small {
  font-size: var(--fs-s);
}

::selection {
  background: var(--sand);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   5. Dostępność
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--clay-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-2);
  z-index: 100;
  padding: var(--sp-2) var(--sp-4);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--ff-display);
  font-weight: 600;
  border-radius: var(--radius-field);
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  color: var(--paper);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   6. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

.section--surface {
  background: var(--surface);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--sp-4) var(--sp-6);
  margin-bottom: var(--sp-7);
}

.section-head > div {
  max-width: var(--measure);
}

.section-head p {
  margin-top: var(--sp-3);
  color: var(--ink-muted);
}

.split {
  display: grid;
  gap: var(--sp-7);
}

@media (min-width: 64em) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-8);
  }

  .split--even {
    grid-template-columns: 1fr 1fr;
  }
}

.page-intro {
  padding-top: clamp(3rem, 2rem + 4vw, 6rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.page-intro .lead {
  margin-top: var(--sp-5);
}

.page-intro .btn-row {
  margin-top: var(--sp-6);
}

/* --------------------------------------------------------------------------
   7. Nagłówek i nawigacja
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 234, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

@supports (backdrop-filter: blur(1px)) {
  .site-header {
    background: rgba(245, 241, 234, 0.82);
    backdrop-filter: saturate(1.2) blur(10px);
  }
}

.site-header.is-scrolled,
.site-header[data-nav-open] {
  border-bottom-color: var(--sand);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: var(--header-h);
  padding-block: var(--sp-2);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo__mark {
  width: 2.5rem;
  height: auto;
  fill: currentColor;
  flex: none;
}

.logo__word {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: 0.04em;
  line-height: 1;
  /* optyczne wyrównanie do znaku */
  padding-bottom: 0.08em;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-5);
}

.nav a {
  display: inline-block;
  padding-block: var(--sp-2);
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: var(--fs-s);
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 calc(100% - 0.35rem);
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  background-size: 100% 1px;
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  margin-right: calc(var(--sp-3) * -1);
  background: none;
  border: 0;
  border-radius: var(--radius-field);
  font-family: var(--ff-display);
  font-size: var(--fs-s);
  font-weight: 600;
}

.nav-toggle__bars {
  position: relative;
  width: 1.25rem;
  height: 0.75rem;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle__bars::before {
  top: 0.125rem;
}

.nav-toggle__bars::after {
  top: 0.5rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0.3125rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0.3125rem;
  transform: rotate(-45deg);
}

/* Menu mobilne: chowamy linki tylko gdy działa JS (bez JS menu jest zawsze widoczne). */
@media (max-width: 47.99em) and (scripting: enabled) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    flex-basis: 100%;
  }

  .site-header[data-nav-open] .nav {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding-block: var(--sp-2) var(--sp-4);
  }

  .nav__list li + li {
    border-top: 1px solid var(--sand);
  }

  .nav a {
    display: block;
    padding-block: var(--sp-3);
    font-size: var(--fs-l);
    background-image: none;
  }
}

@media (min-width: 48em) {
  .site-header__inner {
    flex-wrap: nowrap;
  }
}

/* --------------------------------------------------------------------------
   8. Przyciski i linki akcji
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-s);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--clay-ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--clay-ink-hover);
  color: var(--paper);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn--block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn__spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-loading .btn__spinner {
  display: inline-block;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.text-link {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-s);
  color: var(--ink);
  text-decoration-color: var(--clay);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.text-link:hover {
  color: var(--clay-ink);
}

/* --------------------------------------------------------------------------
   9. Zdjęcia i placeholdery
   Placeholdery to pliki SVG w assets/img/placeholder/. Zamiana na zdjęcie:
   podmień src (i width/height) — styl zostaje ten sam.
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-img);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--4x5 {
  aspect-ratio: 4 / 5;
}

.media--4x3 {
  aspect-ratio: 4 / 3;
}

.media--3x2 {
  aspect-ratio: 3 / 2;
}

.media--1x1 {
  aspect-ratio: 1 / 1;
}

/* --------------------------------------------------------------------------
   10. Hero (strona główna)
   -------------------------------------------------------------------------- */
.hero {
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  padding-bottom: var(--sp-6);
}

.hero__grid {
  display: grid;
  gap: var(--sp-7);
  align-items: end;
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 13ch;
}

.hero__lead {
  margin-top: var(--sp-5);
}

.hero .btn-row {
  margin-top: var(--sp-6);
}

.hero__media {
  max-width: 28rem;
}

@media (min-width: 48em) {
  .hero__grid {
    grid-template-columns: 7fr 5fr;
  }

  .hero__media {
    max-width: none;
  }

  .hero__content {
    padding-bottom: var(--sp-6);
  }
}

/* Ścieg — przerywana linia nawiązująca do znaku embray (zygzak + „ucho igły”) */
.stitch {
  margin-top: var(--sp-6);
  color: var(--clay);
}

.stitch svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.stitch__thread {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 10;
}

.stitch__reveal {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stitch__eye {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

@media (prefers-reduced-motion: no-preference) {
  .stitch__reveal {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: sew 2.4s var(--ease) 0.3s forwards;
  }

  .stitch__eye {
    opacity: 0;
    animation: fade-in 0.5s var(--ease) 2.5s forwards;
  }
}

/* --------------------------------------------------------------------------
   11. Karty produktów i filtr sklepu
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  gap: var(--sp-7) var(--sp-5);
}

@media (min-width: 36em) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-8) var(--sp-6);
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.product-card .media img {
  transition: transform 700ms var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .product-card.is-entering {
    animation: card-in 420ms var(--ease) both;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.product-card:hover .media img {
  transform: scale(1.03);
}

.product-card__body {
  display: grid;
  gap: var(--sp-2);
}

.product-card__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
}

.product-card__title {
  font-size: var(--fs-l);
  font-weight: 600;
}

.product-card__title a {
  color: inherit;
  text-decoration: none;
}

/* cała karta klikalna, bez zagnieżdżania linków */
.product-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card__title a:focus-visible {
  outline: none;
}

.product-card:has(a:focus-visible) {
  outline: 2px solid var(--clay-ink);
  outline-offset: 6px;
  border-radius: var(--radius-img);
}

.product-card__price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.product-card__desc {
  color: var(--ink-muted);
  font-size: var(--fs-s);
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}

.swatches {
  display: flex;
  gap: 0.3rem;
}

.swatch-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(59, 50, 43, 0.25);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.availability::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--moss);
}

.availability--na-zamowienie::before {
  background: var(--clay);
}

.availability--niedostepny::before {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--ink-muted);
}

.filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-7);
  border-bottom: 1px solid var(--sand);
}

.filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.chip {
  min-height: 2.5rem;
  padding: 0.5rem 1.125rem;
  background: transparent;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-pill);
  font-family: var(--ff-display);
  font-size: var(--fs-s);
  color: var(--ink);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.chip:hover {
  border-color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  font-weight: 600;
}

.filter__count {
  font-size: var(--fs-s);
  color: var(--ink-muted);
}

.shop-empty,
.load-error {
  padding: var(--sp-7) 0;
  color: var(--ink-muted);
}

/* szkielet ładowania — utrzymuje wysokość siatki */
.product-card--skeleton .media {
  background: var(--surface);
}

.product-card--skeleton .product-card__body::before,
.product-card--skeleton .product-card__body::after {
  content: "";
  display: block;
  height: 0.875rem;
  border-radius: 2px;
  background: var(--surface);
}

.product-card--skeleton .product-card__body::after {
  width: 60%;
}

/* --------------------------------------------------------------------------
   12. Sekcje strony głównej
   -------------------------------------------------------------------------- */
.services {
  display: grid;
  gap: var(--sp-7) var(--sp-6);
}

@media (min-width: 48em) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service {
  display: grid;
  gap: var(--sp-4);
  align-content: start;
}

.service h3 {
  margin-top: var(--sp-2);
}

.service p {
  color: var(--ink-muted);
}

.principles {
  display: grid;
  gap: var(--sp-6);
}

@media (min-width: 40em) {
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-7) var(--sp-6);
  }
}

.principles dt {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-l);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--sand-deep);
}

.principles dd {
  margin-top: var(--sp-2);
  color: var(--ink-muted);
}

.patches-feature {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}

.patches-feature__art {
  max-width: 34rem;
}

.patches-feature .btn-row {
  margin-top: var(--sp-6);
}

@media (min-width: 64em) {
  .patches-feature {
    grid-template-columns: 6fr 5fr;
    gap: var(--sp-8);
  }
}

.patches-art {
  width: 100%;
  height: auto;
  overflow: visible;
}

.patches-art text {
  font-family: var(--ff-display);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   13. Haft na zamówienie
   -------------------------------------------------------------------------- */
.audience {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

.audience li {
  padding-left: 1.25rem;
  position: relative;
}

.audience li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.625rem;
  border-top: 2px dashed var(--clay);
}

.steps {
  display: grid;
  gap: var(--sp-6);
  counter-reset: step;
}

@media (min-width: 40em) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  counter-increment: step;
  display: grid;
  gap: var(--sp-3);
  align-content: start;
}

.steps.steps--compact {
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

.steps--compact .step {
  grid-template-columns: auto 1fr;
  column-gap: var(--sp-4);
}

.steps--compact .step::before {
  grid-row: span 2;
}

.steps--compact .step h3 {
  font-size: var(--fs-l);
  align-self: center;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px dashed var(--clay);
  border-radius: 50%;
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--clay-ink);
}

.step p {
  color: var(--ink-muted);
}

.checklist {
  display: grid;
  gap: var(--sp-3);
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.45em;
  width: 0.875rem;
  height: 0.5rem;
  border-left: 2px solid var(--moss);
  border-bottom: 2px solid var(--moss);
  transform: rotate(-45deg);
}

.note {
  padding: var(--sp-5);
  background: var(--surface);
  border-radius: var(--radius-field);
  border-left: 3px solid var(--moss);
}

.section--surface .note {
  background: var(--bg);
}

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}

.formats li {
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-family: var(--ff-display);
  letter-spacing: 0.02em;
}

/* FAQ — natywne <details>, dostępne z klawiatury bez JS */
.faq {
  border-top: 1px solid var(--sand-deep);
}

.faq details {
  border-bottom: 1px solid var(--sand-deep);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-l);
  line-height: var(--lh-snug);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 0.75rem;
  height: 0.75rem;
  margin-right: 0.25rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(25%) rotate(-135deg);
}

.faq summary:hover {
  color: var(--clay-ink);
}

.faq__answer {
  padding-bottom: var(--sp-5);
  max-width: var(--measure);
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   14. Formularze
   -------------------------------------------------------------------------- */
.form-wrap {
  display: grid;
  gap: var(--sp-7);
}

.form-wrap__aside > h2 + * {
  margin-top: var(--sp-5);
}

@media (min-width: 64em) {
  .form-wrap {
    grid-template-columns: 4fr 7fr;
    gap: var(--sp-8);
  }

  .form-wrap__aside {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-6));
    align-self: start;
  }
}

.form {
  display: grid;
  gap: var(--sp-5);
}

.form__row {
  display: grid;
  gap: var(--sp-5);
}

@media (min-width: 40em) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: var(--sp-2);
  align-content: start;
}

.field label,
.field legend,
.field__label {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-s);
}

.field__opt {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink-muted);
}

.field__hint {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
}

.field__error {
  font-size: var(--fs-xs);
  color: var(--error);
  font-weight: 600;
}

.field__error:empty {
  display: none;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.6875rem 0.875rem;
  background: var(--paper);
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-field);
  font-size: 1rem; /* min. 16px — iOS nie powiększa widoku */
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.textarea {
  min-height: 8rem;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%233B322B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--ink-muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--clay-ink);
  box-shadow: 0 0 0 3px rgba(142, 80, 58, 0.18);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--fs-s);
}

.check input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.15rem 0 0;
  accent-color: var(--clay-ink);
}

.check .field__error {
  grid-column: 2;
}

/* honeypot — ukryte dla ludzi, widoczne dla prostych botów */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Pole plików: natywny input działa zawsze, drop-zone to ulepszenie */
.dropzone {
  position: relative;
  display: grid;
  gap: var(--sp-2);
  justify-items: start;
  padding: var(--sp-5);
  background: var(--paper);
  border: 1.5px dashed var(--sand-deep);
  border-radius: var(--radius-field);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.dropzone.is-dragover {
  border-color: var(--clay-ink);
  background: var(--surface);
}

.dropzone__input {
  max-width: 100%;
  font-size: var(--fs-s);
}

.dropzone__input::file-selector-button {
  margin-right: var(--sp-3);
  padding: 0.5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  background: transparent;
  font-family: var(--ff-display);
  font-weight: 600;
  cursor: pointer;
}

.dropzone__input::file-selector-button:hover {
  background: var(--ink);
  color: var(--bg);
}

.dropzone__text {
  font-size: var(--fs-s);
  color: var(--ink-muted);
}

.dropzone__text--drag {
  display: none;
}

.dropzone.is-enhanced .dropzone__text--drag {
  display: block;
}

.file-list {
  display: grid;
  gap: var(--sp-2);
}

.file-list:empty {
  display: none;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-4);
  background: var(--surface);
  border-radius: var(--radius-field);
  font-size: var(--fs-s);
}

.file-item__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item__size {
  flex: none;
  margin-left: auto;
  color: var(--ink-muted);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
}

.file-item__remove {
  flex: none;
  padding: 0.375rem 0.75rem;
  background: none;
  border: 0;
  border-radius: var(--radius-field);
  font-size: var(--fs-xs);
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--clay-ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form__footer {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}

.form-status {
  width: 100%;
}

.form-status:empty {
  display: none;
}

.form-status__box {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-field);
  border-left: 3px solid currentColor;
  background: var(--surface);
}

.form-status__box--error {
  color: var(--error);
}

.form-status__box--success {
  color: var(--success);
}

.form-status__box--loading {
  color: var(--ink-muted);
}

.form-status__box p,
.form-status__box ul {
  color: var(--ink);
}

.form-status__box strong {
  display: block;
  margin-bottom: var(--sp-1);
  font-family: var(--ff-display);
  color: inherit;
}

.form-status__box ul {
  margin: var(--sp-2) 0 0;
  padding-left: 1.25rem;
}

.form-success {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
  padding: var(--sp-6);
  background: var(--surface);
  border-radius: var(--radius-field);
  border-left: 3px solid var(--moss);
}

.form-success[hidden] {
  display: none;
}

.order-summary {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-4);
  background: var(--surface);
  border-radius: var(--radius-field);
}

.order-summary[hidden] {
  display: none;
}

.order-summary .media {
  aspect-ratio: 4 / 5;
}

.order-summary__name {
  font-family: var(--ff-display);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. Podstrona produktu
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-top: var(--sp-5);
  font-size: var(--fs-s);
  color: var(--ink-muted);
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: var(--sand-deep);
}

.breadcrumbs a {
  color: var(--ink-muted);
}

.breadcrumbs [aria-current] {
  color: var(--ink);
}

.product {
  display: grid;
  gap: var(--sp-7);
  padding-top: var(--sp-5);
  padding-bottom: var(--section);
}

@media (min-width: 56em) {
  .product {
    grid-template-columns: 7fr 5fr;
    gap: var(--sp-8);
  }

  .product__info {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-5));
    align-self: start;
  }
}

.gallery {
  display: grid;
  gap: var(--sp-3);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
}

.gallery__thumb {
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-img);
  background: none;
  overflow: hidden;
  opacity: 0.7;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.gallery__thumb:hover {
  opacity: 1;
}

.gallery__thumb[aria-current="true"] {
  opacity: 1;
  border-color: var(--ink);
}

.gallery__thumb img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.product__info {
  display: grid;
  gap: var(--sp-5);
  align-content: start;
}

.product__head {
  display: grid;
  gap: var(--sp-3);
}

.product__price {
  font-size: var(--fs-xl);
  font-variant-numeric: tabular-nums;
}

.product__short {
  color: var(--ink-muted);
}

.product__options {
  display: grid;
  gap: var(--sp-5);
}

.option {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.option legend {
  padding: 0;
  margin-bottom: var(--sp-3);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-s);
}

.option legend span {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--ink-muted);
}

.option__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.option__item {
  position: relative;
}

.option__item input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.option__pill {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-field);
  font-family: var(--ff-display);
  font-size: var(--fs-s);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.option__item:hover .option__pill {
  border-color: var(--ink);
}

.option__item input:checked + .option__pill {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.option__item input:focus-visible + .option__pill {
  outline: 2px solid var(--clay-ink);
  outline-offset: 3px;
}

.option__swatch {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 2.75rem;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem;
  border: 1px solid var(--sand-deep);
  border-radius: var(--radius-pill);
  font-size: var(--fs-s);
  transition: border-color var(--dur) var(--ease);
}

.option__swatch .swatch-dot {
  width: 1.5rem;
  height: 1.5rem;
}

.option__item:hover .option__swatch {
  border-color: var(--ink);
}

.option__item input:checked + .option__swatch {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.option__item input:focus-visible + .option__swatch {
  outline: 2px solid var(--clay-ink);
  outline-offset: 3px;
}

.product__actions {
  display: grid;
  gap: var(--sp-3);
}

.product__actions p {
  font-size: var(--fs-s);
  color: var(--ink-muted);
}

.details-list {
  border-top: 1px solid var(--sand-deep);
}

.details-list details {
  border-bottom: 1px solid var(--sand-deep);
}

.details-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--sp-4);
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-weight: 600;
}

.details-list summary::-webkit-details-marker {
  display: none;
}

.details-list summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}

.details-list details[open] summary::after {
  transform: rotate(45deg);
}

.details-list__body {
  padding-bottom: var(--sp-5);
  color: var(--ink-muted);
  font-size: var(--fs-s);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-s);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.size-table caption {
  text-align: left;
  padding-bottom: var(--sp-3);
  color: var(--ink-muted);
  font-size: var(--fs-xs);
}

.size-table th,
.size-table td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid var(--sand);
  white-space: nowrap;
}

.size-table thead th {
  font-family: var(--ff-display);
  font-weight: 600;
}

.product-missing {
  padding-block: var(--section);
  max-width: var(--measure);
}

.product-missing p {
  margin-block: var(--sp-4) var(--sp-6);
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   16. Kontakt i treści prawne
   -------------------------------------------------------------------------- */
.contact-list {
  display: grid;
  gap: var(--sp-5);
}

.contact-list dt {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: var(--fs-s);
  color: var(--ink-muted);
}

.contact-list dd {
  margin-top: var(--sp-1);
  font-size: var(--fs-l);
}

.contact-list a {
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--clay-ink);
}

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-size: var(--fs-xl);
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-4);
}

.prose h3 {
  font-size: var(--fs-l);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  margin-top: var(--sp-3);
}

.prose li + li {
  margin-top: var(--sp-2);
}

.prose ul + p,
.prose ol + p {
  margin-top: var(--sp-4);
}

.legal-note {
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border: 1.5px dashed var(--clay);
  border-radius: var(--radius-field);
  font-size: var(--fs-s);
}

.center-page {
  display: grid;
  align-content: center;
  min-height: 60vh;
  padding-block: var(--section);
}

.center-page .lead {
  margin-top: var(--sp-5);
}

.center-page .btn-row {
  margin-top: var(--sp-6);
}

.gate__form {
  width: 100%;
  max-width: 22rem;
  margin-top: var(--sp-6);
}

.gate__contact {
  margin-top: var(--sp-7);
}

.big-mark {
  width: clamp(6rem, 4rem + 8vw, 10rem);
  fill: var(--clay);
  margin-bottom: var(--sp-6);
}

/* --------------------------------------------------------------------------
   17. Stopka
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  padding-top: var(--sp-8);
  background: var(--surface);
  font-size: var(--fs-s);
}

.site-footer__grid {
  display: grid;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}

@media (min-width: 40em) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
  }
}

.site-footer__brand p {
  margin-top: var(--sp-4);
  max-width: 22rem;
  color: var(--ink-muted);
}

.footer-title {
  font-size: var(--fs-s);
  margin-bottom: var(--sp-3);
}

.footer-links {
  display: grid;
  gap: var(--sp-2);
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--sand-deep);
  color: var(--ink-muted);
  font-size: var(--fs-xs);
}

.site-footer__bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
}

.site-footer__bottom a {
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   18. Animacje
   Klasa .reveal-ready jest dodawana przez main.js — bez JS treść jest
   widoczna od razu.
   -------------------------------------------------------------------------- */
@keyframes sew {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  }

  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn__spinner {
    animation: none;
    border-right-color: currentColor;
    opacity: 0.5;
  }
}

/* --------------------------------------------------------------------------
   19. Druk
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .stitch,
  .btn-row {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
