:root {
  --cream: #f4f0e6;
  --cream-2: #fffdf8;
  --ink: #173026;
  --muted: #3e5348;
  --green: #0e7a49;
  --green-deep: #0c4630;
  --mint: #d9f3e4;
  --olive: #8fa04a;
  --moss: #464738;
  --orange: #ff6200;
  --pen: #ff6200;
  --pink: #f6c6d8;
  --sap: #e5f0cf;
  --line: rgba(12, 70, 48, 0.14);
  --shadow: 0 18px 40px rgba(18, 40, 28, 0.12);
  --header: 140px;
  /* Koppenschaal: paginatitel > sectietitel > tussenkop. */
  --h1: clamp(44px, 5.6vw, 72px);
  --h2: clamp(32px, 3.5vw, 48px);
  --h3: clamp(22px, 2vw, 28px);
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --script: "Kalam", "Segoe Script", cursive;
}

/* Lettergroottes lopen in stappen van 4px, ook als ze met het scherm meeschalen. */
@supports (width: round(1px, 1px)) {
  :root {
    --h1: round(clamp(44px, 5.6vw, 72px), 4px);
    --h2: round(clamp(32px, 3.5vw, 48px), 4px);
    --h3: round(clamp(22px, 2vw, 28px), 4px);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: calc(28 / 18);
  font-weight: 400;
}

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

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; cursor: pointer; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection { background: var(--orange); color: white; }

.ink-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  background: white;
  color: var(--green-deep);
  padding: 8px 12px;
  border-radius: 999px;
}

.skip:focus { top: 12px; }

section,
.footer { scroll-margin-top: var(--header); }

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

.wrap {
  width: min(1180px, calc(100% - 8vw));
  margin-inline: auto;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker.center { justify-content: center; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}

.section-title {
  font-size: var(--h2);
  color: var(--green-deep);
}

h1.section-title { font-size: var(--h1); line-height: 1.02; }

.kicker + .section-title { margin-top: 12px; }

/* Inleidende tekst: bovenaan elke pagina even groot (20/32), een stap boven de broodtekst (18/28). */
.lede,
.about-copy p:not(.pull):not(.kicker) { font-size: 20px; line-height: 32px; }

.stip {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: 0.12em;
}

.smile { overflow: visible; color: var(--moss); }
.footer .smile { color: var(--cream); }
.smile .pupil {
  transform-box: fill-box;
  transform-origin: center;
  transform: translate(var(--ex, 0px), var(--ey, 0px));
}

/* Knoppen: één systeem.
   .btn            primair (licht, oranje stip met pijl; zelfde rand en maat als secundair)
   .btn.btn-light  primair op donkere vlakken (witte rand)
   .btn.btn-ghost  secundair (omlijnd)
   .btn-on-dark    secundair op donkere vlakken
   .btn-sm         kleine maat
   Losse hulpacties zonder knopmarkup gebruiken dezelfde kleine omlijnde pil (zie onderaan). */
.btn {
  --btn-ink: #111;
  --btn-move: 0.4s cubic-bezier(0.25, 1.15, 0.4, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 2px 24px 2px 2px;
  border: 2px solid rgba(70, 71, 56, 0.18);
  border-radius: 50px;
  background: #fff;
  color: var(--btn-ink);
  font-family: "Barlow", var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}

.btn::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: 36px;
  border-radius: 50px;
  background: var(--pen);
  transition: width var(--btn-move);
}

.btn:hover::before,
.btn:focus-visible::before { width: calc(100% - 4px); }

.btn-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: #fff;
}

.btn-arrows {
  display: flex;
  width: 18px;
  overflow: hidden;
}

.btn-arrows svg {
  width: 18px;
  height: 18px;
  flex: none;
  transform: translateX(-18px);
  transition: transform var(--btn-move);
}

.btn:hover .btn-arrows svg,
.btn:focus-visible .btn-arrows svg { transform: translateX(0); }

.btn-label {
  position: relative;
  z-index: 1;
  display: grid;
  height: 20px;
  overflow: hidden;
}

.btn-label span {
  grid-area: 1 / 1;
  transition: transform var(--btn-move);
}

.btn-label span + span { color: #fff; transform: translateY(calc(100% + 2px)); }

.btn:hover .btn-label span,
.btn:focus-visible .btn-label span { transform: translateY(calc(-100% - 2px)); }

.btn:hover .btn-label span + span,
.btn:focus-visible .btn-label span + span { transform: translateY(0); }

.btn-ghost {
  --ghost-fill: var(--green-deep);
  --ghost-ink: #fff;
  justify-content: center;
  gap: 0;
  padding: 2px 24px;
  border-color: var(--green-deep);
  background: transparent;
  color: var(--green-deep);
}

.btn-ghost::before {
  top: 2px;
  right: 2px;
  bottom: 2px;
  left: 2px;
  width: auto;
  background: var(--ghost-fill);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--btn-move);
}

.btn-ghost:hover::before,
.btn-ghost:focus-visible::before,
.cat:hover .cat-go::before,
.cat:focus-visible .cat-go::before { width: auto; background: var(--ghost-fill); clip-path: inset(0 0 0 0); }

.btn-ghost .btn-label span + span { color: var(--ghost-ink); }

.cat:hover .cat-go .btn-label span,
.cat:focus-visible .cat-go .btn-label span { transform: translateY(calc(-100% - 2px)); }

.cat:hover .cat-go .btn-label span + span,
.cat:focus-visible .cat-go .btn-label span + span { transform: translateY(0); }

.btn-on-dark {
  --ghost-fill: var(--cream);
  --ghost-ink: var(--green-deep);
  border-color: var(--cream);
  color: var(--cream);
}

.btn-light { border-color: #fff; }

/* Op wit (menu, kaarten, venster) krijgt de primaire knop een crème vulling. */
:is(.nav-actions, .postcard, .piece-card, .care-way, .gift-label) .btn:not(.btn-ghost) { background: var(--cream); }

.btn-sm { min-height: 40px; font-size: 16px; }

.do-copy .btn,
.story-card .btn,
.about-copy .btn { margin-top: 24px; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 0 max(12px, 2.5vw, calc((100% - 1260px) / 2));
  background: transparent;
  pointer-events: none;
}

.logo,
.nav,
.nav-toggle {
  pointer-events: auto;
  transition: transform 0.85s ease;
}

.logo { transform-origin: top left; }

.nav,
.nav-toggle { transform-origin: top right; }

.header.is-scrolled .logo,
.header.is-scrolled .nav,
.header.is-scrolled .nav-toggle { transform: scale(0.96); }

.header { transition: translate 0.35s ease; }
.header.is-away:not(:focus-within) { translate: 0 -120%; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px 32px;
  background: #fff;
  color: var(--olive);
  text-decoration: none;
  filter: drop-shadow(0 12px 18px rgba(18, 40, 28, 0.12));
  -webkit-mask: url("images/brush-header-logo.png?v=3") center / 100% 100% no-repeat;
  mask: url("images/brush-header-logo.png?v=3") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.logo .logo-mark { width: 66px; height: auto; display: block; }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 48px;
  margin-left: auto;
  padding: 16px 52px 48px;
  background: #fff;
  filter: drop-shadow(0 12px 18px rgba(18, 40, 28, 0.12));
  -webkit-mask: url("images/brush-header-nav.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-header-nav.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.nav > a {
  padding: 8px 0;
  position: relative;
  isolation: isolate;
  white-space: nowrap;
  color: #464738;
  font-family: "Barlow", var(--font);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  text-decoration: none;
}

.nav-ink {
  position: absolute;
  z-index: 1;
  left: -1.15em;
  right: -1.15em;
  top: 50%;
  height: 2.05em;
  padding-left: 1.15em;
  display: flex;
  align-items: center;
  color: #fff;
  font: inherit;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
  -webkit-mask: url("images/brush-nav-reveal.png?v=1") 100% center / 320% 100% no-repeat;
  mask: url("images/brush-nav-reveal.png?v=1") 100% center / 320% 100% no-repeat;
  transition: mask-position 0.62s cubic-bezier(0.4, 0.02, 0.15, 1), -webkit-mask-position 0.62s cubic-bezier(0.4, 0.02, 0.15, 1);
}

.nav > a::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1.15em;
  right: -1.15em;
  top: 50%;
  height: 2.05em;
  border-style: solid;
  border-width: 0 1.15em;
  border-image: url("images/brush-nav-swipe-orange.png?v=1") 0 10% 0 22% fill / 0 1.15em / 0 stretch;
  transform: translateY(-50%);
  -webkit-mask: url("images/brush-nav-reveal.png?v=1") 100% center / 320% 100% no-repeat;
  mask: url("images/brush-nav-reveal.png?v=1") 100% center / 320% 100% no-repeat;
  transition: mask-position 0.62s cubic-bezier(0.4, 0.02, 0.15, 1), -webkit-mask-position 0.62s cubic-bezier(0.4, 0.02, 0.15, 1);
}

.nav > a:hover::before,
.nav > a:focus-visible::before,
.nav > a[aria-current="page"]::before,
.nav > a:hover .nav-ink,
.nav > a:focus-visible .nav-ink,
.nav > a[aria-current="page"] .nav-ink {
  -webkit-mask-position: 0% center;
  mask-position: 0% center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  margin-left: 20px;
}

.btn-social {
  width: 44px;
  height: 44px;
  flex: none;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.btn-social::before,
.btn-social:hover::before,
.btn-social:focus-visible::before {
  top: 2px;
  left: 2px;
  width: 36px;
  height: 36px;
  bottom: auto;
}

.btn-social::before { transition: transform var(--btn-move); }
.btn-social:hover::before,
.btn-social:focus-visible::before { transform: scale(1.12); }

.btn-social .btn-icon svg { width: 16px; height: 16px; }

.btn-social:hover .btn-icon svg,
.btn-social:focus-visible .btn-icon svg {
  transform: rotate(-360deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--green-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[hidden] { display: none !important; }

.intro { position: relative; }

.script-word {
  display: inline-block;
  font-style: normal;
  margin-top: 0.08em;
  color: var(--pen);
  font-family: var(--script);
  font-size: 1.08em;
  font-size: round(1.08em, 2px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  rotate: -2deg;
  transform-origin: left center;
  filter: url("#ink-brush");
}

.hero h1 { overflow: visible; }

.hero {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding: 0 0 72px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  column-gap: clamp(28px, 4vw, 60px);
}

.hero h1 {
  margin-top: 16px;
  color: var(--green-deep);
  font-size: clamp(40px, min(4.9vw, 10vh), 72px);
  font-size: round(clamp(40px, min(4.9vw, 10vh), 72px), 4px);
  line-height: 1.02;
}

.hero h1 span { display: block; width: max-content; }

.hero-copy { position: relative; z-index: 3; }

.hero .lede {
  max-width: 34ch;
  margin: 20px 0 28px;
  color: var(--ink);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Vier categorieën naast elkaar: in één blik zie je wat er te vinden is. */
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 680px;
  height: clamp(520px, calc(100svh - 180px), 780px);
  justify-self: end;
}

.hero-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.hero-col + .hero-col { padding-block: 24px 0; }
.hero-col:first-child { padding-block: 0 24px; }

.hero-tile {
  position: relative;
  flex: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-tile-vazen,
.hero-tile-sieraden { flex: 1.4; }

.hero-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 12px 18px rgba(18, 40, 28, 0.14));
  -webkit-mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.hero-tile-vazen img { object-position: 40% 70%; }
.hero-tile-beelden img { object-position: center 38%; -webkit-mask-image: url("images/brush-square-3.png?v=2"); mask-image: url("images/brush-square-3.png?v=2"); }
.hero-tile-servies img { object-position: center 45%; -webkit-mask-image: url("images/brush-square-4.png?v=2"); mask-image: url("images/brush-square-4.png?v=2"); }
.hero-tile-sieraden img { object-position: 40% 55%; -webkit-mask-image: url("images/brush-square-2.png?v=2"); mask-image: url("images/brush-square-2.png?v=2"); }

.hero-label {
  position: absolute;
  z-index: 2;
  left: -4px;
  bottom: 14px;
  padding: 0.6em 1.1em 0.5em 1.2em;
  background: url("images/brush-limited.png?v=5") center / 100% 100% no-repeat;
  color: #fff;
  font-family: var(--script);
  font-size: clamp(20px, 1.7vw, 24px);
  font-size: round(clamp(20px, 1.7vw, 24px), 2px);
  font-weight: 700;
  line-height: 1;
  rotate: -5deg;
}

.hero-tile:hover,
.hero-tile:focus-visible { transform: translateY(-5px) rotate(-1.2deg); }

/* Sticker: een geverfde groene stip op de hoek van de collage. */
.badge {
  position: absolute;
  z-index: 4;
  top: -2px;
  left: -64px;
  width: clamp(128px, 11vw, 158px);
  aspect-ratio: 1;
  isolation: isolate;
  color: var(--cream);
  filter: drop-shadow(0 12px 16px rgba(18, 40, 28, 0.24));
  rotate: -8deg;
  pointer-events: none;
}

.badge::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--green-deep);
  -webkit-mask: url("images/brush-ring.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-ring.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.badge-ring {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  overflow: visible;
  animation: spin 28s linear infinite;
}

.badge-ring text {
  font-family: var(--script);
  font-weight: 700;
  letter-spacing: 0;
  fill: currentColor;
}

.badge .smile {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  color: var(--cream);
  transform: translate(-50%, -52%);
}

.do {
  position: relative;
  z-index: 1;
  padding: 140px 0 136px;
  background: var(--green);
  color: var(--cream);
}

.do::before,
.do::after,
.cats::before,
.home-cta::before,
.footer::before {
  content: "";
  position: absolute;
  left: -4%;
  z-index: 1;
  width: 108%;
  height: 142px;
  background: inherit;
  pointer-events: none;
  -webkit-mask: url("images/brush-seam.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-seam.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.do::before { top: -81px; }

.do::after {
  height: 154px;
  bottom: -87px;
  -webkit-mask-image: url("images/brush-seam-down.png?v=1");
  mask-image: url("images/brush-seam-down.png?v=1");
}

.cats::before {
  top: -90px;
  height: 158px;
  -webkit-mask-image: url("images/brush-seam-cats.png?v=1");
  mask-image: url("images/brush-seam-cats.png?v=1");
}

.home-cta::before {
  top: -73px;
  height: 128px;
  -webkit-mask-image: url("images/brush-seam-cta.png?v=1");
  mask-image: url("images/brush-seam-cta.png?v=1");
}

.footer::before {
  top: -84px;
  height: 148px;
  -webkit-mask-image: url("images/brush-seam-footer.png?v=1");
  mask-image: url("images/brush-seam-footer.png?v=1");
}

.do-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.do-photo {
  position: relative;
  z-index: 3;
  margin-top: 0;
  overflow: visible;
  aspect-ratio: 1;
  background: transparent;
  transform: rotate(2.4deg);
  -webkit-mask: url("images/brush-square.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.do-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.do-copy { position: relative; z-index: 4; }
.do .kicker { color: var(--mint); }
.do h2 { margin: 16px 0 20px; color: white; font-size: var(--h2); }
.do .lede { max-width: 38ch; color: white; }
.do .quiet { max-width: 42ch; margin-top: 12px; color: var(--mint); }

.story {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(860px, 96vh, 1040px);
  padding: 72px 0 104px;
  overflow: hidden;
  background: #d7c3b4;
}

.story-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.story-card {
  position: relative;
  z-index: 3;
  width: min(480px, calc(100% - 32px));
  padding: 48px 40px 36px;
  border-radius: 18px 64px 28px 72px;
  background: var(--cream);
  box-shadow: 0 24px 60px rgba(30, 24, 18, 0.2);
  transform: rotate(-1.8deg);
}

.story-card h2 {
  margin: 12px 0 16px;
  color: var(--pen);
  font-size: var(--h2);
}

.story-card p:not(.kicker) { color: var(--muted); }

.cats {
  position: relative;
  padding: 104px 0 132px;
  background: var(--pink);
}

.cats-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 46ch;
  margin-inline: auto;
  text-align: center;
}

.cats-head .lede { color: var(--green-deep); }

.cat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.cat {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: var(--green-deep);
  text-decoration: none;
}

.cat:nth-child(2) { margin-top: 28px; }
.cat:nth-child(4) { margin-top: 16px; }
.cat:nth-child(5) { margin-top: 36px; }

.cat:nth-child(1) .blob { -webkit-mask-image: url("images/brush-blob-1.png?v=2"); mask-image: url("images/brush-blob-1.png?v=2"); }
.cat:nth-child(2) .blob { -webkit-mask-image: url("images/brush-blob-2.png?v=2"); mask-image: url("images/brush-blob-2.png?v=2"); }
.cat:nth-child(3) .blob { -webkit-mask-image: url("images/brush-blob-3.png?v=2"); mask-image: url("images/brush-blob-3.png?v=2"); }
.cat:nth-child(4) .blob { -webkit-mask-image: url("images/brush-blob-4.png?v=2"); mask-image: url("images/brush-blob-4.png?v=2"); }
.cat:nth-child(5) .blob { -webkit-mask-image: url("images/brush-blob-5.png?v=2"); mask-image: url("images/brush-blob-5.png?v=2"); }

.cat:hover .blob,
.cat:focus-visible .blob { transform: translateY(-6px); }

.blob {
  display: block;
  aspect-ratio: 1;
  background: transparent;
  transition: transform 0.35s ease;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.blob :is(img, .still-smile) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.cat:hover .blob img { transform: scale(1.07); }

.cat h3 {
  margin-top: 16px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.cat p { margin-top: 6px; color: var(--green-deep); font-size: 18px; }

.cat-go {
  margin-top: 10px;
  align-self: flex-start;
}

.home-cta {
  position: relative;
  padding: 96px 0 148px;
  background: var(--sap);
}

.home-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.home-cta h2 { max-width: 12ch; }
.shop-cta h2 { max-width: 11ch; }
.home-cta .lede { max-width: 42ch; margin-top: 16px; color: var(--muted); }
.shop-cta .lede { max-width: 34ch; }
.home-cta .hero-actions { justify-content: flex-end; }

/* CTA met foto's in penseelvorm en een handgeschreven krabbel. */
.photo-cta .home-cta-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.photo-cta.shop-cta .home-cta-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.photo-cta .hero-actions { justify-content: flex-start; margin-top: 28px; }

.cta-collage,
.cta-studio { position: relative; }
.cta-collage { padding: 0 0 80px 8%; }
.cta-studio { padding-bottom: 36px; }

.cta-shot {
  aspect-ratio: 4 / 3;
  rotate: 2deg;
  filter: drop-shadow(0 16px 24px rgba(18, 40, 28, 0.16));
  transition: rotate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cta-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.cta-shot-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  rotate: -6deg;
}

.cta-shot-small img { -webkit-mask-image: url("images/brush-square-4.png?v=2"); mask-image: url("images/brush-square-4.png?v=2"); }
.cta-studio .cta-shot { rotate: -2deg; }
.cta-studio .cta-shot img { -webkit-mask-image: url("images/brush-square-2.png?v=2"); mask-image: url("images/brush-square-2.png?v=2"); }

.cta-collage:hover .cta-shot-main,
.cta-studio:hover .cta-shot { rotate: 0deg; }
.cta-collage:hover .cta-shot-small { rotate: -2deg; }

.cta-note {
  position: absolute;
  right: 4%;
  bottom: 12px;
  rotate: -4deg;
  color: var(--pen);
  font-family: var(--script);
  font-size: clamp(24px, 2.4vw, 32px);
  font-size: round(clamp(24px, 2.4vw, 32px), 4px);
  font-weight: 700;
  line-height: 1.2;
}

.cta-studio .cta-note { bottom: -8px; }

.cta-steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  counter-reset: stap;
}

.cta-steps li { font-weight: 600; }

/* Getekende cijferstippen, bij de CTA op Mijn werk en naast het contactformulier. */
.cta-steps li,
.desk-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--green-deep);
  counter-increment: stap;
}

.cta-steps li::before,
.desk-steps li::before {
  content: counter(stap);
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: var(--orange);
  color: white;
  font-family: var(--script);
  font-size: 20px;
  -webkit-mask: url("images/brush-blob-1.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-blob-1.png?v=2") center / 100% 100% no-repeat;
}

.cta-steps li:nth-child(2)::before,
.desk-steps li:nth-child(2)::before { -webkit-mask-image: url("images/brush-blob-2.png?v=2"); mask-image: url("images/brush-blob-2.png?v=2"); }
.cta-steps li:nth-child(3)::before,
.desk-steps li:nth-child(3)::before { -webkit-mask-image: url("images/brush-blob-3.png?v=2"); mask-image: url("images/brush-blob-3.png?v=2"); }

.shop { padding: 36px 0 120px; }

.shop-head {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 32px;
  align-items: end;
}

.shop-head .lede { color: var(--muted); }

.filter-bar {
  position: sticky;
  top: 112px;
  z-index: 20;
  margin-top: 28px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream-2);
  box-shadow: 0 8px 20px rgba(18, 40, 28, 0.06);
  transition: box-shadow 0.3s ease, top 0.35s ease;
}

.filter-bar.is-stuck { box-shadow: 0 16px 34px rgba(18, 40, 28, 0.16); }

/* 1. Collectie: de belangrijkste keuze, dus het grootst. */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filters button {
  display: inline-flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px 0 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--cream);
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filters button:hover { border-color: var(--green-deep); }

.filters button[aria-pressed="true"] {
  background: var(--green-deep);
  color: var(--cream);
}

.filter-count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 600;
}

.filters button[aria-pressed="true"] .filter-count { background: var(--orange); color: #fff; }

.filters button.is-none:not([aria-pressed="true"]) { color: #55655c; }
.filters button.is-none .filter-count { opacity: 0.6; }

/* 2. Verfijnen: prijs, beschikbaarheid en volgorde. */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 10px;
  padding: 10px 8px 0;
  border-top: 1px solid var(--line);
}

.filter-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}

.price-filter,
.sort-filter,
.stock-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-label {
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field,
.sort-button {
  height: 40px;
  border: 1.5px solid rgba(12, 70, 48, 0.3);
  border-radius: 12px;
  background-color: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
}

.field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: var(--muted);
  cursor: text;
}

.field input {
  width: 4.4ch;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  appearance: textfield;
  -moz-appearance: textfield;
}

.field input::placeholder { color: var(--muted); opacity: 0.65; }

.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.field input:focus-visible { outline: none; }

.field:hover,
.sort-button:hover,
.sort-button[aria-expanded="true"] { border-color: var(--green-deep); }

.field:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 92, 34, 0.2);
}

.price-filter.is-invalid .field { border-color: var(--orange); background: #fff1ea; }

.price-sep { color: var(--muted); }

.stock-filter {
  position: relative;
  min-height: 40px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.stock-filter input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #b9c1b6;
  transition: background 0.25s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(18, 40, 28, 0.25);
  transition: transform 0.25s ease;
}

.stock-filter input:checked + .switch { background: var(--green); }
.stock-filter input:checked + .switch::after { transform: translateX(18px); }
.stock-filter input:focus-visible + .switch { outline: 3px solid var(--orange); outline-offset: 3px; }

.sort-menu { position: relative; }

.sort-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-width: 232px;
  padding: 0 16px 0 12px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.sort-button svg {
  width: 10px;
  height: 7px;
  flex: none;
  color: var(--green-deep);
  transition: transform 0.25s ease;
}

.sort-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort-button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.sort-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  display: grid;
  gap: 2px;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream-2);
  box-shadow: var(--shadow);
  list-style: none;
}

.sort-list [role="option"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

.sort-list [role="option"].is-active { background: var(--mint); }

.sort-list [role="option"][aria-selected="true"] {
  background: var(--green-deep);
  color: var(--cream);
}

.sort-list [role="option"][aria-selected="true"]::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
}


.filter-result {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.result-count {
  color: var(--muted);
  font-size: 16px;
  white-space: nowrap;
}

.filter-toggle,
.panel-result { display: none; }

.filter-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 44px 24px;
  border: 1.5px dashed rgba(12, 70, 48, 0.3);
  border-radius: 28px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .filter-bar {
    top: 108px;
    padding: 8px;
    border-radius: 24px;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
  }

  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .filters button:focus-visible { outline-offset: -4px; }

  .filter-row { gap: 8px 12px; margin-top: 8px; padding: 8px 0 0; }

  .filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border: 1.5px solid var(--green-deep);
    border-radius: 999px;
    background: transparent;
    color: var(--green-deep);
    font-size: 16px;
    font-weight: 600;
  }

  .filter-toggle svg { width: 18px; height: 18px; }
  .filter-toggle[aria-expanded="true"] { background: var(--green-deep); color: var(--cream); }

  .filter-badge {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
  }

  .filter-tools {
    display: none;
    order: 3;
    width: 100%;
    max-height: calc(100svh - 240px);
    overflow-y: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 12px;
    padding: 6px 4px 4px;
  }

  .filter-tools.is-open { display: flex; }
  .field-label { width: 64px; flex: none; }
  .field { flex: 1; min-width: 0; }
  .field input { width: 100%; }
  .sort-filter { align-items: flex-start; }
  .sort-filter .field-label { line-height: 40px; }
  .sort-menu { flex: 1; min-width: 0; }
  .sort-button { min-width: 0; }
  .sort-list { position: static; margin-top: 8px; box-shadow: none; }
}

/* Eenmaal bij de producten: alles op één regel, de rest achter Verfijnen. */
.filter-bar.is-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
}

.header.is-away + main .filter-bar.is-compact { top: 10px; }

.filter-bar.is-compact .filters {
  flex: 1;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
}

.filter-bar.is-compact .filters::-webkit-scrollbar { display: none; }
.filter-bar.is-compact .filters button { min-height: 40px; }
.filter-bar.is-compact .filters button:focus-visible { outline-offset: -4px; }

.filter-bar.is-compact .filter-row {
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.filter-bar.is-compact .filter-result { display: none; }

.filter-bar.is-compact .filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--green-deep);
  border-radius: 999px;
  background: transparent;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 600;
}

.filter-bar.is-compact .filter-toggle svg { width: 18px; height: 18px; }
.filter-bar.is-compact .filter-toggle[aria-expanded="true"] { background: var(--green-deep); color: var(--cream); }

.filter-bar.is-compact .filter-badge {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
}

.filter-bar.is-compact .filter-badge[hidden] { display: none; }

.filter-bar.is-compact .filter-tools {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 16px;
  width: min(400px, 100%);
  max-height: calc(100svh - 200px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream-2);
  box-shadow: var(--shadow);
}

.filter-bar.is-compact .filter-tools.is-open { display: flex; }
.filter-bar.is-compact .field-label { width: 64px; flex: none; }
.filter-bar.is-compact .field { flex: 1; min-width: 0; }
.filter-bar.is-compact .field input { width: 100%; }
.filter-bar.is-compact .sort-filter { align-items: flex-start; }
.filter-bar.is-compact .sort-filter .field-label { line-height: 40px; }
.filter-bar.is-compact .sort-menu { flex: 1; min-width: 0; }
.filter-bar.is-compact .sort-button { min-width: 0; }
.filter-bar.is-compact .sort-list { position: static; margin-top: 8px; box-shadow: none; }

.filter-bar.is-compact .panel-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .filter-bar.is-compact .toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .filter-bar.is-compact .filter-toggle { padding: 0 10px; gap: 6px; }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
  grid-auto-flow: row dense;
}

/* Op brede schermen zijn ook de rijen onderling even hoog. */
@media (min-width: 981px) {
  .product-grid { grid-auto-rows: 1fr; }
}

.impression {
  grid-column: span 2;
  min-height: 320px;
  position: relative;
  align-self: stretch;
  margin: 0;
}

.impression img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 62%;
  filter: drop-shadow(0 8px 12px rgba(18, 40, 28, 0.1));
  -webkit-mask: url("images/brush-studio.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-studio.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.product {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream-2);
  box-shadow: 0 12px 28px rgba(18, 40, 28, 0.07);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.product:hover,
.product:has(:focus-visible) {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(18, 40, 28, 0.13);
}

html.motion .product.rise.is-in {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
  transition-delay: 0ms;
}

.product-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 0.55s ease;
  filter: drop-shadow(0 8px 12px rgba(18, 40, 28, 0.1));
  -webkit-mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.product[data-frame="2"] .product-media img {
  -webkit-mask-image: url("images/brush-square-2.png?v=2");
  mask-image: url("images/brush-square-2.png?v=2");
}

.product[data-frame="3"] .product-media img {
  -webkit-mask-image: url("images/brush-square-3.png?v=2");
  mask-image: url("images/brush-square-3.png?v=2");
}

.product[data-frame="4"] .product-media img {
  -webkit-mask-image: url("images/brush-square-4.png?v=2");
  mask-image: url("images/brush-square-4.png?v=2");
}

.product[data-frame="5"] .product-media img {
  -webkit-mask-image: url("images/brush-square-5.png?v=2");
  mask-image: url("images/brush-square-5.png?v=2");
}

.product[data-frame="6"] .product-media img {
  -webkit-mask-image: url("images/brush-square-6.png?v=2");
  mask-image: url("images/brush-square-6.png?v=2");
}

.product-media img.crop-top { object-position: center 12%; }

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

.tag-limited,
.sold,
.open-mark,
.stamp { pointer-events: none; }

.tag-limited {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: -6px;
  padding: 0.85em 0.85em 0.7em 1.2em;
  background: url("images/brush-limited.png?v=5") center / 100% 100% no-repeat;
  color: var(--cream-2);
  font-family: var(--script);
  font-size: 20px;
  line-height: 1;
  transform: rotate(-7deg);
}

.sold {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 46%;
  width: max-content;
  max-width: 92%;
  padding: 0.82em 1.7em 0.66em;
  background: url("images/brush-sold.png?v=1") center / 100% 100% no-repeat;
  color: var(--cream-2);
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 7.2cqi, 24px);
  font-size: round(clamp(18px, 7.2cqi, 24px), 2px);
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-6deg);
}

.product.is-sold .product-media img,
.piece.is-sold .piece-frame > img {
  filter: brightness(0.72) drop-shadow(0 8px 12px rgba(18, 40, 28, 0.1));
}

.stamp {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(18, 40, 28, 0.16);
  transition: transform 0.3s ease;
}

.stamp .smile { width: 26px; }

.product:hover .stamp,
.product:has(:focus-visible) .stamp { transform: rotate(-12deg); }

.open-mark {
  --btn-move: 0.4s cubic-bezier(0.25, 1.15, 0.4, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 2px solid var(--green-deep);
  border-radius: 50px;
  background: transparent;
  color: var(--green-deep);
}

.open-mark::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 50px;
  background: var(--green-deep);
  clip-path: inset(0 100% 0 0);
  transition: clip-path var(--btn-move);
}

.open-mark svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
}

.product:hover .open-mark::before,
.product:has(:focus-visible) .open-mark::before { clip-path: inset(0 0 0 0); }

.product:hover .open-mark,
.product:has(:focus-visible) .open-mark { color: #fff; }

.product-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 6px 2px;
}

.product-line {
  color: var(--muted);
  font-size: 18px;
}

.product-facts {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.product-facts div {
  display: grid;
  grid-template-columns: 7.6rem minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.product-facts dt {
  color: var(--green);
  font-size: 14px;
  font-weight: 650;
}

.product-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.ask { margin-top: 12px; align-self: flex-start; }

.product {
  position: relative;
  padding: 8px 8px 12px;
}

.product-open {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

/* De naam is de knop; het klikvlak ligt over de hele kaart. */
.product-hit {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
}

.product-hit::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: 28px;
  cursor: pointer;
}

.product-hit:focus-visible { outline: none; }
.product-hit:focus-visible::after { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Een heel lang woord breekt af in plaats van buiten zijn vak te lopen. */
h1, h2, h3, p, li { overflow-wrap: break-word; }
.product-head,
.product-title,
.product-sub { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.product-meta .product-price { flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; }

/* Kaarten in een rij zijn even hoog; de prijs staat altijd onderaan. */
.product-open,
.product-body { flex: 1; }

.product-body { padding: 10px 8px 2px; gap: 0; }

.product-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.product-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.product-sub {
  margin-top: 1px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.product-sub { margin-bottom: 10px; }

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.product-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--pen);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-price small {
  color: var(--muted);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.product.is-sold .product-price {
  color: var(--muted);
  text-decoration: line-through;
}

.product-count {
  padding: 2px 8px 4px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.product-detail { display: none; }

.piece {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  perspective: 1600px;
}

.piece[hidden] { display: none; }

.piece-back {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23, 48, 38, 0.42);
  cursor: pointer;
}

.piece-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px 36px;
  align-items: start;
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px 24px 24px 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream-2);
  box-shadow: 0 28px 70px rgba(18, 40, 28, 0.22);
  transform-origin: center center;
  transform: translateY(18px) rotateY(-70deg) scale(0.78);
  opacity: 0;
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

.piece.is-in .piece-card {
  transform: none;
  opacity: 1;
}

.piece-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  container-type: inline-size;
}

.piece-frame {
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
}

.piece-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  -webkit-mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.piece-frame.can-flip > img { cursor: pointer; }

html.motion .piece-frame > img.is-swapping {
  animation: piece-swap 0.28s ease;
}

@keyframes piece-swap {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.piece-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: 0 6px 14px rgba(18, 40, 28, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
}

.piece-nav[hidden] { display: none; }

.piece-prev { left: 10px; }
.piece-next { right: 10px; }

.piece-nav svg { width: 16px; height: 16px; }
.piece-prev svg { transform: scaleX(-1); }

.piece-nav:hover,
.piece-nav:focus-visible { transform: translateY(-50%) rotate(-8deg); }

.piece-film {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.piece-film[hidden] { display: none; }

.piece-thumb {
  position: relative;
  flex: 0 0 68px;
  width: 68px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
}

.piece-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  -webkit-mask: url("images/brush-square-3.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square-3.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.piece-thumb:hover,
.piece-thumb:focus-visible,
.piece-thumb[aria-current="true"] { opacity: 1; }

.piece-thumb[aria-current="true"] { transform: rotate(-3deg); }

.piece-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 2px 2px 4px;
}

.piece-top {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-right: 148px;
}

.piece-cat {
  margin: 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
}

.piece-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-size: round(clamp(28px, 3vw, 40px), 4px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-transform: none;
}

.piece-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 2px 0 0;
}

.piece-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--pen);
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 40px);
  font-size: round(clamp(32px, 3.4vw, 40px), 4px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.piece-price small {
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.piece.is-sold .piece-amount {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.piece-status {
  margin: 0;
  padding: 4px 10px 4px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.piece-status.is-out {
  background: #f8d7c8;
  color: var(--ink);
}

.piece-line {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.piece-facts {
  gap: 0;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.piece-facts div {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
}

.piece-facts dt {
  color: var(--muted);
  font-weight: 600;
}

.piece-facts[hidden] { display: none; }

.piece-ask {
  align-self: flex-start;
  margin: 8px 0 0;
}

.piece-ask .btn-label,
.piece-ask .btn-label span { white-space: nowrap; }

.piece-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  gap: 8px;
  margin: 0;
  padding-inline: 16px 16px;
}

.piece-close svg {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  flex: none;
}

.piece-close:hover svg,
.piece-close:focus-visible svg { color: #fff; }

body.piece-open { overflow: hidden; }

@media (max-width: 760px) {
  .piece { padding: 16px; }
  .piece-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 16px 20px;
  }
  .piece-close { position: relative; top: auto; right: auto; }
  .piece-photo { width: min(100%, 320px); justify-self: center; }
  .piece-thumb { flex-basis: 56px; width: 56px; }
  .piece-nav { width: 38px; height: 38px; }
  .piece-copy { padding: 0 2px; }
  .piece-top { justify-content: space-between; padding-right: 0; }
  .piece-ask { align-self: flex-start; }
}

@container (max-width: 280px) {
  .sold { top: 62%; }
  .product-price { flex-direction: column; align-items: flex-start; gap: 0; }
  .product-price > span { white-space: nowrap; }
  .product-price small { white-space: nowrap; }

  .product-facts div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .ask {
    padding-inline: 16px;
    font-size: 16px;
  }

  .ask .btn-label,
  .ask .btn-label span { white-space: nowrap; }
}

body.page-process { background: var(--cream); }

.process { padding: 36px 0 108px; background: transparent; }

.process-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.studio {
  aspect-ratio: 5 / 4;
  -webkit-mask: url("images/brush-studio.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-studio.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.studio img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.process h1 { margin: 12px 0 16px; }
.process .lede { max-width: 46ch; color: var(--muted); }

.temps {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
}

.temp {
  color: var(--pen);
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 56px);
  font-size: round(clamp(40px, 4vw, 56px), 4px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.temp span { font: inherit; color: inherit; }
.temp small {
  display: block;
  margin-top: 4px;
  color: var(--green-deep);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trail {
  position: relative;
  padding: 104px 0 132px;
  background: var(--pink);
}

.trail::before {
  content: "";
  position: absolute;
  left: -4%;
  top: -90px;
  z-index: 1;
  width: 108%;
  height: 158px;
  background: inherit;
  pointer-events: none;
  -webkit-mask: url("images/brush-seam-cats.png?v=1") center / 100% 100% no-repeat;
  mask: url("images/brush-seam-cats.png?v=1") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.trail-run { position: relative; z-index: 2; }

.trail-line {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.trail-guide,
.trail-draw {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trail-guide { stroke: rgba(255, 253, 248, 0.72); stroke-width: 18; }
.trail-draw { stroke: var(--pen); stroke-width: 6; }

.trail-bead {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--pen);
  box-shadow: 0 0 0 5px rgba(255, 253, 248, 0.9), 0 0 0 10px rgba(255, 98, 0, 0.24);
  pointer-events: none;
  opacity: 0;
}

.trail-steps {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 84px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trail-step { width: min(400px, 44%); }
.trail-step:nth-child(even) { margin-left: auto; }

.trail-step article {
  padding: 24px 24px 20px;
  color: var(--ink);
  background: var(--cream-2);
  border-radius: 22px;
}

.trail-step:nth-child(odd) article { transform: rotate(-0.8deg); }
.trail-step:nth-child(even) article { transform: rotate(0.9deg); }

.trail-no {
  color: var(--pen);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.trail-step h3 {
  margin: 8px 0 10px;
  color: var(--green-deep);
  font-family: var(--display);
  font-size: var(--h3);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

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

.make-cta .home-cta-inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.make-cta .pull { max-width: 20ch; margin: 16px 0 0; }
.make-cta .lede { max-width: 38ch; }
.make-cta .hero-actions { justify-content: flex-start; margin-top: 28px; }

.make-pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 24px);
  padding: 0 0 36px;
  list-style: none;
}

.make-piece {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.4;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.make-piece img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 12px 18px rgba(18, 40, 28, 0.14));
  -webkit-mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square-1.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.make-pieces li:nth-child(1) { rotate: -2deg; translate: 0 28px; }
.make-pieces li:nth-child(2) { rotate: 1.5deg; }
.make-pieces li:nth-child(3) { rotate: -1deg; translate: 0 36px; }
.make-pieces li:nth-child(1) img { object-position: center 62%; }
.make-pieces li:nth-child(2) img { object-position: 38% center; -webkit-mask-image: url("images/brush-square-4.png?v=2"); mask-image: url("images/brush-square-4.png?v=2"); }
.make-pieces li:nth-child(3) img { object-position: center 65%; -webkit-mask-image: url("images/brush-square-2.png?v=2"); mask-image: url("images/brush-square-2.png?v=2"); }

.make-piece:hover,
.make-piece:focus-visible { transform: translateY(-6px) rotate(-1.2deg); }

html.motion .trail.is-live .trail-bead { opacity: 1; }

html.motion .trail.is-live .trail-step article {
  opacity: 0.72;
  transition: opacity 0.55s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.motion .trail.is-live .trail-step:nth-child(odd) article { transform: translateY(22px) rotate(-0.8deg); }
html.motion .trail.is-live .trail-step:nth-child(even) article { transform: translateY(22px) rotate(0.9deg); }

html.motion .trail.is-live .trail-step.is-lit article { opacity: 1; }

html.motion .trail.is-live .trail-step.is-lit:nth-child(odd) article { transform: rotate(-0.8deg); }
html.motion .trail.is-live .trail-step.is-lit:nth-child(even) article { transform: rotate(0.9deg); }

html.motion .trail.is-live .stip {
  transform: scale(0.65);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.motion .trail.is-live .trail-step.is-lit .stip { transform: scale(1.15); }

@media (max-width: 860px) {
  .trail-steps { gap: 68px; }
  .trail-step,
  .trail-step:nth-child(even) {
    width: auto;
    margin-left: 56px;
  }
  .trail-step article,
  .trail-step:nth-child(even) article { transform: none; }
  html.motion .trail.is-live .trail-step:nth-child(odd) article,
  html.motion .trail.is-live .trail-step:nth-child(even) article { transform: translateY(18px); }
  html.motion .trail.is-live .trail-step.is-lit:nth-child(odd) article,
  html.motion .trail.is-live .trail-step.is-lit:nth-child(even) article { transform: none; }
}

.about { padding: 36px 0 72px; }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  aspect-ratio: 4 / 5;
  filter: drop-shadow(0 16px 24px rgba(18, 40, 28, 0.12));
  -webkit-mask: url("images/brush-about.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-about.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.pull {
  max-width: 34ch;
  margin: 16px 0 20px;
  color: var(--pen);
  font-family: var(--script);
  font-size: clamp(28px, 2.4vw, 36px);
  font-size: round(clamp(28px, 2.4vw, 36px), 4px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.about-copy p + p { margin-top: 16px; }
.about-copy p { color: var(--muted); }
.about-copy .pull { color: var(--pen); }

.footer {
  position: relative;
  padding: 104px 0 36px;
  background: var(--green-deep);
  color: var(--cream);
}

.footer-hero {
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: 760px;
}

.footer .logo-mark { width: 96px; height: auto; display: block; }
.footer .kicker { color: var(--mint); }
.footer-title {
  color: white;
  font-family: var(--display);
  font-size: var(--h2);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.footer-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 240, 230, 0.18);
  color: var(--mint);
  font-size: 14px;
}

.footer-meta a { display: inline-block; padding: 4px 0; color: white; text-decoration: none; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 8px 16px; }
.legal { display: flex; flex-direction: column; gap: 2px; }

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

@keyframes rise-in {
  from { opacity: 0; translate: 0 22px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes line-up {
  from { opacity: 0; translate: 0 70%; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; translate: 0 0; clip-path: inset(-0.2em -0.08em); }
}

@keyframes smile-in {
  from { opacity: 0; translate: 0 70%; rotate: -12deg; clip-path: inset(0 0 100% 0); }
  to { opacity: 1; translate: 0 0; rotate: -2deg; clip-path: none; }
}


html.motion .hero .kicker,
html.motion .hero .lede,
html.motion .hero-actions,
html.motion .hero-tile {
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.motion .hero h1 span {
  animation: line-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.motion .hero h1 .script-word { animation-name: smile-in; animation-duration: 1s; }

html.motion .hero .kicker { animation-delay: 0.02s; }
html.motion .hero h1 span:nth-child(1) { animation-delay: 0.1s; }
html.motion .hero h1 span:nth-child(2) { animation-delay: 0.2s; }
html.motion .hero h1 span:nth-child(3) { animation-delay: 0.34s; }
html.motion .hero .lede { animation-delay: 0.46s; }
html.motion .hero-actions { animation-delay: 0.56s; }
html.motion .hero-tile-vazen { animation-delay: 0.14s; }
html.motion .hero-tile-servies { animation-delay: 0.24s; }
html.motion .hero-tile-beelden { animation-delay: 0.34s; }
html.motion .hero-tile-sieraden { animation-delay: 0.44s; }

html.motion.ready .rise {
  transition:
    opacity 0.7s ease,
    translate 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

html.motion .rise:not(.is-in) {
  opacity: 0;
  translate: 0 18px;
}

html.motion .rise.is-in { opacity: 1; }

.contact-top { padding: 36px 0 124px; }
.contact-head { max-width: 760px; margin-inline: auto; text-align: center; }
.contact-head .kicker { justify-content: center; text-align: center; width: 100%; }
.contact-head .lede { max-width: 46ch; margin: 16px auto 0; color: var(--muted); }

.topics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 2.4vw, 32px);
  margin: 40px 0 0;
  padding: 0;
  border: 0;
}

.topic { position: relative; display: grid; gap: 10px; justify-items: center; cursor: pointer; }
.topic input { position: absolute; opacity: 0; }
.topic .blob { width: 100%; max-width: 140px; }
.topic .topic-smile { object-fit: contain; background: var(--sap); padding: 22%; }
.topic-blob-1 { -webkit-mask-image: url("images/brush-blob-1.png?v=2"); mask-image: url("images/brush-blob-1.png?v=2"); }
.topic-blob-2 { -webkit-mask-image: url("images/brush-blob-2.png?v=2"); mask-image: url("images/brush-blob-2.png?v=2"); }
.topic-blob-3 { -webkit-mask-image: url("images/brush-blob-3.png?v=2"); mask-image: url("images/brush-blob-3.png?v=2"); }
.topic-blob-4 { -webkit-mask-image: url("images/brush-blob-4.png?v=2"); mask-image: url("images/brush-blob-4.png?v=2"); }
.topic-blob-5 { -webkit-mask-image: url("images/brush-blob-5.png?v=2"); mask-image: url("images/brush-blob-5.png?v=2"); }
.topic:hover .blob { transform: translateY(-6px) rotate(-3deg); }
.topic-name {
  padding: 4px 16px;
  border-radius: 50px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.topic input:checked ~ .blob { transform: translateY(-8px) rotate(-4deg) scale(1.06); }
.topic input:checked ~ .topic-name { background: var(--orange); color: white; }
.topic input:focus-visible ~ .topic-name { outline: 3px solid var(--orange); outline-offset: 3px; }

.band.contact-desk { padding: 100px 0 148px; }

.desk-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.postcard {
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: 28px 40px 30px 36px;
  background: var(--cream-2);
  box-shadow: var(--shadow), 10px 12px 0 rgba(12, 70, 48, 0.08);
}

.contact-form { display: grid; gap: 20px; }
.contact-form.is-leaving { animation: card-away 0.45s ease-in forwards; }
@keyframes card-away { to { opacity: 0; transform: translate(40%, -30px) rotate(7deg); } }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-hello { color: var(--pen); font-family: var(--script); font-size: clamp(32px, 3.4vw, 44px); font-size: round(clamp(32px, 3.4vw, 44px), 4px); font-weight: 700; }
.card-stamp { flex: none; width: 76px; padding: 8px; border: 2px dashed var(--orange); border-radius: 8px; rotate: 5deg; }
.card-stamp :is(img, svg) { display: block; width: 100%; }

.contact-form label { display: grid; gap: 8px; color: var(--green-deep); font-size: 16px; font-weight: 600; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(12, 70, 48, 0.28);
  border-radius: 10px 10px 0 0;
  background: rgba(229, 240, 207, 0.45);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 12px 16px;
}

.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(23, 48, 38, 0.55); }
.contact-form .card-send { justify-self: start; }
.contact-form .card-send:disabled { opacity: 0.6; cursor: wait; }
.form-note { color: var(--green-deep); font-size: 16px; }

.card-privacy { color: var(--muted); font-size: 14px; }

.desk-side { display: grid; gap: 28px; }
.desk-photo {
  margin: 0;
  aspect-ratio: 5 / 4;
  rotate: 2deg;
  -webkit-mask: url("images/brush-studio.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-studio.png?v=2") center / 100% 100% no-repeat;
}
.desk-photo img { width: 100%; height: 100%; object-fit: cover; }

.desk-steps { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: stap; }
.desk-steps li { font-weight: 500; }

.desk-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; color: var(--green-deep); }
.desk-direct p { width: 100%; color: var(--green-deep); font-family: var(--script); font-size: 24px; font-weight: 700; }

.thanks { padding: 36px 0 124px; }
.thanks-inner { display: grid; justify-items: center; max-width: 760px; text-align: center; }
.thanks-smile { width: 110px; }
svg.thanks-smile { height: auto; }
.thanks .kicker { margin-bottom: 12px; }
.thanks .lede { margin-top: 20px; overflow-wrap: anywhere; }
.thanks-hint { max-width: 48ch; margin-top: 8px; color: var(--muted); }
.thanks-steps { margin: 28px 0 0; text-align: left; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.band.thanks-next { padding: 100px 0 148px; }
.thanks-next .wrap { position: relative; z-index: 2; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.next-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 28px 48px 32px 40px; background: var(--cream-2); color: var(--green-deep); text-decoration: none; transition: transform 0.35s ease; }
.next-card:hover { transform: translateY(-6px); }
.next-card h3 { font-size: var(--h3); line-height: 1.15; }

.legal-page { padding: 36px 0 148px; }
.legal-text { max-width: 760px; }
.legal-text .lede { margin-top: 16px; }
.legal-text h2 { margin: 36px 0 8px; color: var(--green-deep); font-size: var(--h3); }
.legal-text p, .legal-text li { color: var(--muted); }
.legal-text ul { display: grid; gap: 10px; padding-left: 20px; }
.legal-text .legal-date { margin-top: 36px; font-size: 14px; }

@media (max-width: 980px) {
  .next-grid { grid-template-columns: 1fr; }
  .desk-grid { grid-template-columns: 1fr; }
  .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .card-row { grid-template-columns: 1fr; }
}

.care { padding: 36px 0 88px; }

.care-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.care h1 { margin: 12px 0 0; }

.care-copy .pull { margin-bottom: 8px; }

.care-copy .lede {
  max-width: 42ch;
  margin-top: 8px;
  color: var(--muted);
}

.care-copy p { max-width: 46ch; color: var(--muted); }
.care-copy p + p { margin-top: 16px; }
.care-copy .pull { color: var(--pen); }

.care-gift {
  position: relative;
  z-index: 1;
  padding: 108px 0 100px;
  background: var(--sap);
}

.care-gift::before,
.care-gift::after {
  content: "";
  position: absolute;
  left: -4%;
  z-index: 1;
  width: 108%;
  background: inherit;
  pointer-events: none;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.care-gift::before {
  top: -78px;
  height: 136px;
  -webkit-mask: url("images/brush-seam.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-seam.png?v=2") center / 100% 100% no-repeat;
}

.care-gift::after {
  bottom: -84px;
  height: 148px;
  -webkit-mask: url("images/brush-seam-down.png?v=1") center / 100% 100% no-repeat;
  mask: url("images/brush-seam-down.png?v=1") center / 100% 100% no-repeat;
}

.care-gift-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.care-gift-copy .pull { margin: 16px 0 16px; color: var(--pen); }
.care-gift-copy p { max-width: 42ch; color: var(--muted); }
.care-gift-copy p + p { margin-top: 16px; }

.care-rest { padding: 108px 0 148px; }
.care-rest-title { margin-bottom: 28px; text-align: center; }

.care-ways { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.care-way { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: 28px 64px 32px 40px; background: var(--cream-2); }
.care-way h3 { font-size: var(--h3); line-height: 1.15; }
.care-way p { max-width: 42ch; color: var(--muted); }
.care-way .btn { margin-top: auto; }
.care-way-note { border-radius: 48px 24px 56px 28px; background: var(--sap); }
.care-way .way-flag { color: var(--pen); font-family: var(--script); font-size: 22px; font-weight: 700; line-height: 1; }

.care-broken { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; margin-top: 24px; padding: 28px 32px; border-radius: 40px 28px 48px 32px; background: var(--pink); color: var(--green-deep); }
.care-broken :is(img, .still-smile) { flex: none; width: 72px; rotate: -12deg; }
.care-broken h3 { font-size: var(--h3); line-height: 1.15; }
.care-broken p { max-width: 56ch; margin-top: 6px; }

.care-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; margin-top: 48px; }
.care-close .pull { margin: 0; color: var(--pen); }
.care-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.unwrap { width: min(100%, 440px); justify-self: center; }
.unwrap-box {
  position: relative;
  aspect-ratio: 4 / 5;
  rotate: 2deg;
  overflow: hidden;
  -webkit-mask: url("images/brush-about.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-about.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}
.unwrap-photo { width: 100%; height: 100%; object-fit: cover; }
.unwrap-paper { position: absolute; inset: 0; padding: 0; border: 0; background: none; }
.unwrap-paper[hidden], .unwrap-foot[hidden] { display: none; }
.unwrap-paper:focus-visible { outline: 4px solid var(--orange); outline-offset: -16px; }
.paper, .ribbon, .seal, .unwrap-tag { position: absolute; transition: transform 0.7s cubic-bezier(0.6, 0, 0.25, 1), opacity 0.35s ease; }
.paper { top: 0; bottom: 0; width: 50.5%; background: radial-gradient(circle, var(--cream-2) 5px, transparent 6px) 0 0 / 38px 38px, var(--pink); }
.paper-left { left: 0; transform-origin: left bottom; }
.paper-right { right: 0; transform-origin: right bottom; }
.ribbon { background: var(--orange); }
.ribbon-v { top: 0; bottom: 0; left: calc(50% - 17px); width: 34px; }
.ribbon-h { left: 0; right: 0; top: calc(44% - 17px); height: 34px; }
.seal { top: calc(44% - 58px); left: calc(50% - 58px); display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--cream-2); box-shadow: var(--shadow); }
.seal :is(img, svg) { width: 70%; }
.unwrap-tag { left: 50%; bottom: 16%; translate: -50% 0; padding: 6px 24px; border-radius: 50px; background: var(--green-deep); color: white; font-family: var(--script); font-size: 24px; font-weight: 700; white-space: nowrap; rotate: -4deg; }
.unwrap-paper:hover .seal { transform: scale(1.08) rotate(-8deg); }
.unwrap-paper.is-open { pointer-events: none; }
.unwrap-paper.is-open .paper-left { transform: translateX(-105%) rotate(-12deg); }
.unwrap-paper.is-open .paper-right { transform: translateX(105%) rotate(12deg); }
.unwrap-paper.is-open :is(.ribbon, .seal, .unwrap-tag) { opacity: 0; transform: scale(1.3); }
.unwrap-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

.gift-label { position: relative; display: grid; gap: 16px; justify-items: start; width: min(100%, 440px); justify-self: center; padding: 56px 36px 36px; border-radius: 70px 70px 28px 28px; background: var(--cream-2); box-shadow: var(--shadow); rotate: 2deg; }
.gift-hole { position: absolute; top: 18px; left: calc(50% - 11px); width: 22px; height: 22px; border: 4px solid var(--orange); border-radius: 50%; background: var(--sap); }
.gift-label label { color: var(--pen); font-family: var(--script); font-size: 32px; font-weight: 700; }
.gift-label input[type="text"] { width: 100%; padding: 10px 2px; border: 0; border-bottom: 2px solid rgba(12, 70, 48, 0.3); background: none; color: var(--ink); font: inherit; }
.gift-label p { color: var(--muted); font-size: 18px; }

@media (max-width: 640px) {
  .care-broken { grid-template-columns: 1fr; justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .paper, .ribbon, .seal, .unwrap-tag { transition: none; }
}

.band {
  position: relative;
  z-index: 1;
  padding: 120px 0 108px;
}

.band-pink { background: var(--pink); color: var(--ink); }
.band-green { background: var(--green); color: var(--cream); }

.band::before,
.band::after {
  content: "";
  position: absolute;
  left: -4%;
  z-index: 1;
  width: 108%;
  background: inherit;
  pointer-events: none;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.band::before {
  top: -78px;
  height: 136px;
  -webkit-mask: url("images/brush-seam.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-seam.png?v=2") center / 100% 100% no-repeat;
}

.band::after {
  bottom: -84px;
  height: 148px;
  -webkit-mask: url("images/brush-seam-down.png?v=1") center / 100% 100% no-repeat;
  mask: url("images/brush-seam-down.png?v=1") center / 100% 100% no-repeat;
}

/* De footer heeft al een eigen penseelrand; twee randen over elkaar geven losse strepen. */
main > .band:last-child::after { content: none; }

.band-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.band-grid-flip { grid-template-columns: 0.9fr 1.1fr; }

.band-copy .pull { margin: 12px 0 16px; color: var(--pen); }
.band-copy p { max-width: 42ch; }
.band-copy p + p { margin-top: 16px; }
.band-pink .band-copy p:not(.pull) { color: var(--green-deep); }
.band-green .kicker { color: var(--mint); }
.band-green h2 { color: white; }
.band-green .band-copy p { color: var(--mint); }
.band-green .band-copy .pull { color: var(--cream); }

.band-photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  transform: rotate(-2deg);
  filter: drop-shadow(0 16px 24px rgba(18, 40, 28, 0.14));
  -webkit-mask: url("images/brush-about.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-about.png?v=2") center / 100% 100% no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.band-grid-flip .band-photo { transform: rotate(2.2deg); }

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

.band-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 980px) {
  .hero-grid,
  .do-grid,
  .shop-head,
  .home-cta-inner,
  .process-top,
  .about-grid,
  .care-top,
  .care-gift-grid,
  .care-ways { grid-template-columns: 1fr; }

  .make-cta .home-cta-inner,
  .photo-cta .home-cta-inner,
  .photo-cta.shop-cta .home-cta-inner { grid-template-columns: 1fr; }
  .cta-collage,
  .cta-studio { width: 100%; max-width: 560px; margin-inline: auto; }
  .shop-cta .cta-studio { order: 1; }
  .make-pieces { max-width: 640px; }

  .band-grid,
  .band-grid-flip { grid-template-columns: 1fr; }
  .band-photo { max-width: 480px; margin-inline: auto; }

  .home-cta .hero-actions { justify-content: flex-start; }

  .hero-grid { min-height: 0; grid-template-columns: minmax(0, 1fr); justify-content: start; }
  .hero { margin-top: 8px; padding: 0 0 60px; }
  .hero-art {
    max-width: 600px;
    height: min(136vw, 680px);
    margin-top: 36px;
    justify-self: center;
  }
  .do-photo { margin-top: 0; }
  .cat:nth-child(2),
  .cat:nth-child(4),
  .cat:nth-child(5) { margin-top: 0; }
  .badge { top: -48px; left: auto; right: -6px; width: 108px; }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .impression {
    grid-column: 1 / -1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Telefoon en tablet: een schermvullend menu. Eerst veegt oranje verf omlaag,
   daar overheen groen, daarna komen de links een voor een binnen. */
.nav-home,
.nav-foot { display: none; }

@media (max-width: 1240px) {
  .logo,
  .nav-toggle { position: relative; z-index: 2; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    min-height: 0;
    padding: 20px 20px 32px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    font-size: 12px;
    filter: drop-shadow(0 12px 18px rgba(18, 40, 28, 0.12));
    -webkit-mask: url("images/brush-header-toggle.png?v=2") center / 100% 100% no-repeat;
    mask: url("images/brush-header-toggle.png?v=2") center / 100% 100% no-repeat;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
  }

  .toggle-label { min-width: 3.5em; text-align: left; }

  .burger { position: relative; width: 22px; height: 16px; flex: none; }
  .burger i {
    position: absolute;
    left: 0;
    top: 6.5px;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: var(--green-deep);
    transition: translate 0.3s ease, rotate 0.3s cubic-bezier(0.25, 1.5, 0.45, 1), opacity 0.2s ease, width 0.3s ease;
  }
  .burger i:first-child { translate: 0 -6.5px; rotate: -3deg; }
  .burger i:last-child { translate: 0 6.5px; width: 68%; background: var(--orange); rotate: 3deg; }
  .nav-toggle[aria-expanded="true"] .burger i { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .burger i:first-child { opacity: 1; translate: 0 0; rotate: 45deg; }
  .nav-toggle[aria-expanded="true"] .burger i:last-child { opacity: 1; translate: 0 0; rotate: -45deg; width: 100%; }

  .header.is-scrolled .nav { transform: none; }

  .nav {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    gap: clamp(0px, 0.7vh, 8px);
    margin: 0;
    padding: 120px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: transparent;
    visibility: hidden;
    transform: none;
    filter: none;
    -webkit-mask: none;
    mask: none;
    transition: visibility 0s linear 0.6s;
  }

  .nav.is-open { visibility: visible; transition-delay: 0s; }

  /* De twee verflagen, met een geverfde onderrand. */
  .nav::before,
  .nav::after {
    content: "";
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: calc(100vh + 110px);
    height: calc(100lvh + 110px);
    background: var(--orange);
    pointer-events: none;
    translate: 0 -101%;
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 89px) no-repeat, url("images/brush-seam-down.png?v=1") bottom / max(100%, 900px) 90px no-repeat;
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 89px) no-repeat, url("images/brush-seam-down.png?v=1") bottom / max(100%, 900px) 90px no-repeat;
    transition: translate 0.5s cubic-bezier(0.7, 0, 0.25, 1) 0.1s;
  }
  .nav::after { background: var(--green-deep); transition-delay: 0.03s; }
  .nav.is-open::before,
  .nav.is-open::after { translate: 0 0; }
  .nav.is-open::before { transition-duration: 0.6s; transition-delay: 0s; }
  .nav.is-open::after { transition-duration: 0.6s; transition-delay: 0.1s; }

  .nav > * {
    flex: none;
    opacity: 0;
    translate: 0 28px;
    transition: opacity 0.15s ease, translate 0.25s ease;
  }
  .nav.is-open > * {
    --wait: calc(0.3s + var(--i, 0) * 55ms);
    opacity: 1;
    translate: 0 0;
    transition: opacity 0.4s ease var(--wait), translate 0.6s cubic-bezier(0.22, 1.35, 0.36, 1) var(--wait);
  }

  .nav > a {
    display: block;
    padding: 0.24em 0;
    color: var(--cream);
    font-family: var(--display);
    font-size: clamp(28px, min(8.4vw, 5.2vh), 52px);
    font-size: round(clamp(28px, min(8.4vw, 5.2vh), 52px), 4px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
  }
  .nav > a::before,
  .nav-ink {
    left: -0.6em;
    right: -0.6em;
    height: 1.55em;
  }
  .nav > a::before {
    border-width: 0 0.6em;
    border-image: url("images/brush-menu-swipe.png?v=1") 0 10% 0 22% fill / 0 0.6em / 0 stretch;
  }
  .nav-ink { padding-left: 0.6em; }

  /* Op de huidige pagina trekt de verfstreep pas als het menu open is. */
  .nav:not(.is-open) > a[aria-current="page"]::before,
  .nav:not(.is-open) > a[aria-current="page"] .nav-ink {
    -webkit-mask-position: 100% center;
    mask-position: 100% center;
    transition-delay: 0.4s;
  }
  .nav.is-open > a[aria-current="page"]::before,
  .nav.is-open > a[aria-current="page"] .nav-ink { transition-delay: 0.75s; }

  .nav-actions { margin: clamp(16px, 3vh, 32px) 0 0; gap: 12px; }
  .nav-actions .btn:not(.btn-ghost) { background: #fff; }

  .nav-foot {
    display: grid;
    justify-items: center;
    gap: 4px;
    margin-top: clamp(10px, 2.6vh, 28px);
    color: var(--cream);
    font-size: 16px;
  }
  .nav-foot p { color: var(--pink); font-family: var(--script); font-size: 22px; font-weight: 700; rotate: -2deg; }
  .nav-mail { color: #fff; }

  .nav > .nav-home { display: block; }

  html.menu-open { overflow: hidden; }
  html.menu-open .header { z-index: 60; }
}

/* Liggende telefoon: links in twee kolommen, zodat alles in beeld blijft. */
@media (max-width: 1240px) and (max-height: 560px) and (orientation: landscape) {
  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    align-content: safe center;
    align-items: center;
    gap: 4px 16px;
    padding: 84px 24px 20px;
  }
  .nav > a { font-size: clamp(22px, 7vh, 36px); font-size: round(clamp(22px, 7vh, 36px), 2px); }
  .nav-actions { grid-column: 1 / -1; margin-top: 16px; }
  .nav-foot { grid-column: 1 / -1; margin-top: 8px; }
  .nav-foot p { display: none; }
  .nav > a:nth-child(5) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .burger i,
  .nav,
  .nav::before,
  .nav::after,
  .nav > *,
  .nav.is-open > *,
  .nav.is-open::before,
  .nav.is-open::after,
  .nav > a::before,
  .nav > a .nav-ink { transition: none; }
}

@media (max-width: 760px) {
  .cat-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .cat { flex: 0 0 72%; scroll-snap-align: center; }
  .product-grid { gap: 16px; }
  .story { min-height: min(92vh, 820px); }
  .story-card { padding: 28px 24px; }
}

.to-top {
  position: fixed;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 25;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  filter: drop-shadow(0 6px 10px rgba(18, 40, 28, 0.22));
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  translate: 0 10px;
  transition: opacity 0.3s ease, translate 0.3s ease, color 0.25s ease, visibility 0s 0.3s;
}

/* Geverfde stip: oranje in rust, crème bij hover en focus. */
.to-top::before,
.to-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/brush-top.svg?v=2") center / 100% 100% no-repeat;
  transition: opacity 0.25s ease, rotate 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.to-top::after {
  background-image: url("images/brush-top-hover.svg?v=2");
  opacity: 0;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition-delay: 0s;
}

.to-top:hover,
.to-top:focus-visible { color: var(--green-deep); }

.to-top:hover::before,
.to-top:focus-visible::before { opacity: 0; rotate: 40deg; }

.to-top:hover::after,
.to-top:focus-visible::after { opacity: 1; rotate: 40deg; }

.to-top svg { width: 22px; height: 22px; }

body.piece-open .to-top { display: none; }

/* Ruimte onderaan, zodat de knop niets in de footer bedekt. */
.footer-meta { padding-bottom: 48px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge-ring,
  .cta-shot,
  .blob,
  .blob img,
  .product,
  .product-media img,
  .stamp,
  .piece-card,
  .piece-back,
  .piece-close,
  .btn,
  .btn::before,
  .btn-ghost::before,
  .btn-arrows svg,
  .btn-label span,
  .nav a,
  .nav a::before,
  .nav-ink,
  .logo,
  .nav,
  .nav-toggle,
  .cat-go,
  .ask,
  .filters button,
  .filter-bar,
  .header,
  .to-top,
  .to-top::before,
  .to-top::after,
  .hero .kicker,
  .hero h1 span,
  .hero .lede,
  .hero-actions,
  .hero-tile,
  .badge,
  .rise,
  .tag-limited,
  .open-mark,
  .open-mark::before { animation: none; transition: none; }
  .btn-social:hover,
  .btn-social:focus-visible,
  .btn-social:hover::before,
  .btn-social:focus-visible::before,
  .btn-social:hover .btn-icon svg,
  .btn-social:focus-visible .btn-icon svg { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form.is-leaving { animation: none; }
}

/* Hulpacties: dezelfde omlijnde pil als .btn-ghost.btn-sm. */
.filter-reset,
.filter-bar .filter-toggle,
.copy-mail,
.desk-direct a,
.next-card span {
  min-height: 40px;
  padding: 0 20px;
  border: 2px solid var(--green-deep);
  border-radius: 50px;
  background: transparent;
  color: var(--green-deep);
  font-family: "Barlow", var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.copy-mail,
.desk-direct a,
.next-card span { display: inline-flex; align-items: center; }
.next-card span { align-self: flex-start; margin-top: auto; }
.desk-direct { column-gap: 10px; row-gap: 10px; }
.filter-reset:hover,
.filter-bar .filter-toggle:hover,
.filter-bar .filter-toggle[aria-expanded="true"],
.copy-mail:hover,
.copy-mail:focus-visible,
.desk-direct a:hover,
.desk-direct a:focus-visible,
.next-card:hover span,
.next-card:focus-visible span { background: var(--green-deep); color: #fff; }

/* Tekstlinks (geen knoppen): een getekende stiftlijn. Bij hover trekt de stift er van links
   naar rechts een veeg overheen, bij weggaan loopt die rechts weer uit.
   Gebruik dit voor elke nieuwe tekstlink. */
.thanks-hint a,
.card-privacy a,
.legal-text a,
.footer-meta a,
.nav-mail {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 1px 4px 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none' fill='%23f6c6d8'%3E%3Cpath d='M1 6.8C14 3.6 27 7.6 42 5.8S70 2.4 99 4.6L97 7.4C82 5.8 68 8.8 52 8.6S22 7.4 3 9.8Z'/%3E%3Cpath d='M9 3.4C24 1.2 36 4.2 51 2.6L50 3.8C36 5.4 23 2.8 10 4.6Z' opacity='.7'/%3E%3Cpath d='M63 9.4C74 7.8 84 9 94 8L93 9C84 10.2 73 9.2 64 10Z' opacity='.6'/%3E%3C/svg%3E") left bottom / 100% 8px no-repeat;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease 0.08s;
}
.thanks-hint a,
.card-privacy a,
.legal-text a { color: var(--green-deep); }

/* De veeg houdt zijn vorm; alleen het masker schuift hem in en uit beeld. */
.thanks-hint a::before,
.card-privacy a::before,
.legal-text a::before,
.footer-meta a::before,
.nav-mail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 24' preserveAspectRatio='none' fill='%23f6c6d8'%3E%3Cpath d='M3 5L10 3C30 .6 52 4.4 76 2L98 3.2L95 7L100 9.5L96 13.5L99 18.5L93 21.2C72 23.8 46 19.8 23 22.8L2 21.4L5 17L0 14.5L4 10.5L1 8Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) right center / 0% 100% no-repeat;
  mask: linear-gradient(#000 0 0) right center / 0% 100% no-repeat;
  transition: -webkit-mask-size 0.35s cubic-bezier(0.65, 0, 0.35, 1), mask-size 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}

.thanks-hint a:hover,
.thanks-hint a:focus-visible,
.card-privacy a:hover,
.card-privacy a:focus-visible,
.legal-text a:hover,
.legal-text a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible,
.nav-mail:hover,
.nav-mail:focus-visible { color: var(--green-deep); }

.thanks-hint a:hover::before,
.thanks-hint a:focus-visible::before,
.card-privacy a:hover::before,
.card-privacy a:focus-visible::before,
.legal-text a:hover::before,
.legal-text a:focus-visible::before,
.footer-meta a:hover::before,
.footer-meta a:focus-visible::before,
.nav-mail:hover::before,
.nav-mail:focus-visible::before {
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
  .thanks-hint a, .card-privacy a, .legal-text a, .footer-meta a,
  .thanks-hint a::before, .card-privacy a::before, .legal-text a::before, .footer-meta a::before { transition: none; }
}

/* Het verborgen spamveld mag de pagina niet verbreden. */
.contact-form input.visually-hidden { width: 1px; padding: 0; border: 0; }

.band-copy .section-title + p:not(.pull) { margin-top: 16px; }

/* De smile als terugkerend merkteken: voor elk bovenkopje, bij de handgeschreven
   notities en als knipoog van de oranje stip. */
.kicker::before,
.cta-note::before {
  content: "";
  flex: none;
  aspect-ratio: 38 / 32;
  background: url("images/smile-groen.svg") center / contain no-repeat;
}

.kicker::before { width: 26px; rotate: -8deg; }

.do .kicker::before,
.band-green .kicker::before { background-image: url("images/smile-creme.svg"); }

/* De footer heeft het grote logo al. */
.footer .kicker::before { content: none; }

.cta-note::before {
  display: inline-block;
  width: 1.5em;
  margin-right: 0.45em;
  vertical-align: -0.25em;
}

/* Ingevoegd door main.js; vervangt de achtergrondafbeelding hierboven. */
.has-smile::before { content: none; }
.mini-smile { flex: none; height: auto; color: var(--green-deep); }
.kicker .mini-smile { width: 26px; rotate: -8deg; }
.do .kicker .mini-smile,
.band-green .kicker .mini-smile { color: var(--cream); }
.cta-note .mini-smile { display: inline-block; width: 1.5em; margin-right: 0.45em; vertical-align: -0.25em; }
.still-smile { color: var(--moss); }

.smile .pupil [fill="#ff6200"] { transform-box: fill-box; transform-origin: center; }

/* Twee namen voor dezelfde beweging: alleen zo start de hover opnieuw
   op plekken die bij het laden al geknipoogd hebben. */
@keyframes knipoog-start {
  0%, 100%, 30%, 70% { scale: 1 1; }
  50% { scale: 1.25 0.12; }
}

@keyframes knipoog {
  0%, 100%, 30%, 70% { scale: 1 1; }
  50% { scale: 1.25 0.12; }
}

@media (prefers-reduced-motion: no-preference) {
  .logo-mark .pupil [fill="#ff6200"],
  .badge .pupil [fill="#ff6200"] { animation: knipoog-start 0.6s ease 2.5s; }

  :is(
    .logo:hover,
    .logo:focus-visible,
    .footer-hero .logo-mark:hover,
    .hero-art:hover .badge,
    :hover > .kicker,
    :hover > .cta-note,
    .card-head:hover,
    .topic:hover,
    .topic:has(:focus-visible),
    .unwrap-paper:hover,
    .unwrap-paper:focus-visible,
    .care-broken:hover,
    .thanks-inner:hover,
    .product:hover .stamp,
    .product:has(:focus-visible) .stamp
  ) .pupil [fill="#ff6200"] { animation: knipoog 0.5s ease; }

  .kicker::before,
  .kicker .mini-smile { transition: rotate 0.4s cubic-bezier(0.25, 1.4, 0.4, 1); }
  section:hover .kicker::before,
  section:hover .kicker .mini-smile { rotate: 6deg; }
}

/* Beweging: koppen, foto's, handschrift, scrollen en paginawissels. */
.confetti { position: fixed; inset: 0; z-index: 80; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; border-radius: 50%; }

html.motion .words .word {
  display: inline-block;
  opacity: 0;
  translate: 0 0.55em;
  rotate: 5deg;
  transition:
    opacity 0.45s ease,
    translate 0.7s cubic-bezier(0.22, 1.25, 0.36, 1),
    rotate 0.7s cubic-bezier(0.22, 1.25, 0.36, 1);
  transition-delay: calc(var(--w) * 65ms);
}

html.motion .words.words-in .word { opacity: 1; translate: 0 0; rotate: 0deg; }

html.motion .paint img { opacity: 0; }
html.motion .paint.is-painted img {
  opacity: 1;
  animation: paint-in 1.1s cubic-bezier(0.65, 0, 0.25, 1) var(--p, 0ms) backwards;
}

@keyframes paint-in {
  from { clip-path: inset(0 100% 0 0); scale: 1.1; }
  to { clip-path: inset(0 0 0 0); scale: 1; }
}

html.motion .write { opacity: 0; }
html.motion .write.is-written {
  opacity: 1;
  animation: write-in 1.2s cubic-bezier(0.45, 0, 0.35, 1) 0.25s backwards;
}

@keyframes write-in {
  from { clip-path: inset(-30% 100% -30% -5%); }
  to { clip-path: inset(-30% -5% -30% -5%); }
}

html.motion :where(.footer) .logo-mark:where(:not(.winks)) .pupil [fill="#ff6200"] { animation: none; }
html.motion :where(.footer) .logo-mark.winks .pupil [fill="#ff6200"] { animation: knipoog-start 0.6s ease 0.5s; }

/* Diepte tijdens het scrollen, alleen waar de browser scrollanimaties kent. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story { view-timeline-name: --ambacht; }
    .story-bg { animation: drift-bg linear both; animation-timeline: --ambacht; }
    .story-card { animation: drift-card linear both; animation-timeline: --ambacht; }
    .cta-collage { view-timeline-name: --collage; }
    .cta-shot-small { animation: drift-shot linear both; animation-timeline: --collage; }
  }

  @media (prefers-reduced-motion: no-preference) and (min-width: 981px) {
    .hero-col:first-child { animation: drift-hero-up linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    .hero-col + .hero-col { animation: drift-hero-down linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
  }
}

@keyframes drift-bg { from { translate: 0 -7%; scale: 1.16; } to { translate: 0 7%; scale: 1.16; } }
@keyframes drift-card { from { translate: 0 46px; } to { translate: 0 -46px; } }
@keyframes drift-shot { from { translate: 0 44px; } to { translate: 0 -34px; } }
@keyframes drift-hero-up { from { translate: 0 0; } to { translate: 0 -34px; } }
@keyframes drift-hero-down { from { translate: 0 0; } to { translate: 0 26px; } }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .header { view-transition-name: kop; }
  ::view-transition-group(kop) { z-index: 10; }
  ::view-transition-group(filterbalk) { z-index: 5; }
  ::view-transition-old(root) { animation: page-out 0.22s ease both; }
  ::view-transition-new(root) { animation: page-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
  html.is-sorting::view-transition-old(root) { display: none; }
  html.is-sorting::view-transition-new(root) { animation: none; }
  html.is-sorting::view-transition-group(*) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
}

@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }

/* Tot main.js klaar is blijft verborgen wat straks in beeld animeert, anders
   zie je het eerst staan en daarna opnieuw verschijnen. Laadt het script niet,
   dan komt alles na vier seconden alsnog tevoorschijn. */
html.motion:not(.ready) :is(
  .do-photo,
  .do-copy > *,
  .story-card,
  .cats-head > *,
  .cat,
  .home-cta-inner > *,
  .shop-head > *,
  .product,
  .studio,
  .process-top > div > *,
  .about-photo,
  .about-copy > *,
  .band-photo,
  .band-copy > *,
  .care-copy > *,
  .care-gift-copy > *,
  .unwrap,
  .gift-label,
  .care-way,
  .care-broken,
  .care-close > *,
  .contact-head > *,
  .topic,
  .postcard,
  .desk-side > *,
  .thanks-inner > *,
  .next-card,
  .legal-text > *,
  .footer-hero > .kicker,
  .footer-title,
  .footer-actions,
  h1.section-title,
  h2.section-title,
  .do-copy h2,
  .story-card h2,
  .do-photo img,
  .about-photo img,
  .band-photo img,
  .studio img,
  .cta-shot img,
  .make-piece img,
  .pull,
  .cta-note,
  .way-flag,
  .card-hello,
  .trail-step article
) {
  opacity: 0;
  animation: show-anyway 0s linear 4s forwards;
}

@keyframes show-anyway { to { opacity: 1; } }

/* 404: een groot getal met de smile als nul, met twee stukken die van niets weten. */
.lost { padding: 12px 0 156px; }
.lost-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "left number right" "copy copy copy";
  align-items: center;
  gap: 20px 36px;
}
.lost-number { grid-area: number; display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 16px); }
.lost-digit {
  color: var(--orange);
  font-family: var(--display);
  font-size: clamp(104px, 17vw, 240px);
  font-size: round(clamp(104px, 17vw, 240px), 4px);
  font-weight: 800;
  line-height: 1;
  rotate: -7deg;
}
.lost-digit:last-child { rotate: 8deg; }
.lost-face {
  display: grid;
  place-items: center;
  width: clamp(120px, 20vw, 270px);
  aspect-ratio: 1;
  background: var(--green-deep);
  color: var(--cream);
  -webkit-mask: url("images/brush-blob-2.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-blob-2.png?v=2") center / 100% 100% no-repeat;
}
.lost-face .smile { width: 60%; height: auto; color: var(--cream); rotate: -8deg; transition: rotate 0.4s cubic-bezier(0.25, 1.4, 0.4, 1); }
html.motion .lost-face { cursor: pointer; }
.lost-face:hover .smile { rotate: 8deg; }

.lost-photo { width: min(230px, 100%); }
.lost-photo-left { grid-area: left; justify-self: start; rotate: -5deg; }
.lost-photo-right { grid-area: right; justify-self: end; rotate: 5deg; }
.lost-frame {
  display: block;
  aspect-ratio: 4 / 5;
  -webkit-mask: url("images/brush-square.png?v=2") center / 100% 100% no-repeat;
  mask: url("images/brush-square.png?v=2") center / 100% 100% no-repeat;
}
.lost-frame img { width: 100%; height: 100%; object-fit: cover; }
.lost-photo figcaption {
  margin-top: 8px;
  color: var(--green-deep);
  font-family: var(--script);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.lost-copy { grid-area: copy; display: grid; justify-items: center; max-width: 720px; margin-inline: auto; text-align: center; }
.lost-copy .section-title { margin-top: 12px; }
.lost-copy .lede { max-width: 52ch; margin-top: 20px; }
.lost-hint { margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .lost-digit, .lost-face { animation: lost-drop 0.8s cubic-bezier(0.25, 1.5, 0.45, 1) backwards; }
  .lost-face { animation-delay: 0.12s; }
  .lost-digit:last-child { animation-delay: 0.24s; }
  .lost-photo { animation: lost-bob 5s ease-in-out infinite alternate; }
  .lost-photo-right { animation-delay: -2.5s; }
  .lost-face:hover .pupil [fill="#ff6200"] { animation: knipoog 0.5s ease; }
}

@keyframes lost-drop { from { opacity: 0; translate: 0 -48px; scale: 0.8; } }
@keyframes lost-bob { from { translate: 0 -7px; } to { translate: 0 9px; } }

@media (max-width: 980px) {
  .lost-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "number number" "copy copy" "left right";
  }
  .lost-photo { width: min(230px, 92%); margin-top: 28px; align-self: start; }
  .lost-photo-left, .lost-photo-right { justify-self: center; }
}

/* ---- Mobiel en tablet: nalopen ---- */
@media (max-width: 980px) {
  /* Voettekstlinks met genoeg raakvlak voor een duim; de stiftlijn blijft onder de tekst. */
  .footer-meta a { padding: 8px 4px 12px; background-position: left bottom 7px; }
  .footer-meta a::before { inset: 7px 0; }
  .footer-nav { gap: 0 16px; }

  /* Onderwerpen op contact: alle vlekken even groot, namen op een lijn. */
  .topics { align-items: start; }
  .topic { align-content: start; }
  .topic .blob { width: min(100%, 132px); height: auto; min-height: 0; aspect-ratio: 1; }
  .topic .topic-smile { padding: 28px; }
  .topic-name { padding-inline: 10px; }
}

@media (max-width: 900px) {
  /* Zachte rand rechts laat zien dat er meer filters zijn. */
  .filters {
    padding-right: 28px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  }
}

@media (max-width: 760px) {
  /* Logo wat kleiner tijdens het scrollen, dan staat het minder in de weg. */
  .header.is-scrolled .logo { transform: scale(0.82); }

  /* Collecties: veegbaar tot aan de schermrand, alle foto's even hoog. */
  .cat-row {
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    scroll-padding-inline: 4vw;
    scrollbar-width: none;
  }
  .cat-row::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 min(70vw, 300px); scroll-snap-align: start; }
  .cat .blob { flex: none; min-height: 0; aspect-ratio: 4 / 5; }

  .story { min-height: min(92svh, 820px); }

  /* Productvenster: sluitknop blijft bovenin staan tijdens het scrollen. */
  .piece-card { display: flex; flex-direction: column; align-items: stretch; padding-top: 0; max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); overscroll-behavior: contain; }
  .piece-copy { display: contents; }
  .piece-card > *,
  .piece-copy > * { flex: none; }
  .piece-top { order: -1; position: sticky; top: 0; z-index: 5; margin: 0 -16px; padding: 10px 16px 6px; background: var(--cream-2); }
  .piece-photo { align-self: center; }
}

/* Smalle productkaarten (twee naast elkaar op een telefoon). */
@container (max-width: 200px) {
  .tag-limited { top: 6px; left: -8px; padding-inline: 0.9em 0.7em; font-size: 16px; }
  .stamp { top: 8px; right: 8px; width: 34px; height: 34px; }
  .stamp .smile { width: 19px; }
  .sold { max-width: 100%; padding-inline: 0.8em; font-size: 16px; }
}

@media (max-width: 560px) {
  /* Voettekst: links netjes in twee kolommen. */
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: start; gap: 0 16px; }
}

@media (max-width: 380px) {
  .topic-name { padding-inline: 6px; font-size: 14px; white-space: nowrap; }
  .make-piece .hero-label { left: -4px; padding-inline: 0.65em; font-size: 16px; }
}
