/* tuincentrum-footer 1.0.0 · 21st-port van @kedhareswer/ridgeline-dither-footer (21st.dev).
   De gescopete .rdf-stijlen uit de bron, vertaald naar .tf-: kader met hairlines die bij in beeld komen van boven naar beneden
   tekenen (1,4 s, de rechter 0,08 s later), onderdelen die gestaffeld uit een blur van 5 px en 12 px omhoog komen
   (--d in ms), raster 1.9fr plus drie kolommen, links die 7 px opschuiven met een streepje ervoor, badge als kleine pill,
   scene met pixel-geschaald canvas (image-rendering pixelated) dat 64 px onder de onderregel begint.
   De monospace-stack van de bron is vervangen door het bodyfont van het merk. */
.msm-tuincentrum-footer {
  --tf-ease: cubic-bezier(.2, .7, .1, 1);
  --tf-pad: clamp(20px, 3.2vw, 30px);
  --tf-n: 3;
  box-sizing: border-box;
  position: relative;
  display: grid;
  width: 100%;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: var(--m-bg, #dce5d4);
  color: var(--m-ink, #203522);
  font-family: var(--m-font-body, 'Figtree', ui-sans-serif, system-ui, sans-serif);
  -webkit-font-smoothing: antialiased;
}
.msm-tuincentrum-footer *,
.msm-tuincentrum-footer *::before,
.msm-tuincentrum-footer *::after { box-sizing: border-box; }
.msm-tuincentrum-footer .tf-frame {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(260px, 1fr);
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.msm-tuincentrum-footer .tf-frame::before,
.msm-tuincentrum-footer .tf-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  z-index: 3;
  pointer-events: none;
  background: var(--m-line, #c4cfbb);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 1.4s var(--tf-ease);
}
.msm-tuincentrum-footer .tf-frame::before { left: 0; }
.msm-tuincentrum-footer .tf-frame::after { right: 0; transition-delay: .08s; }
.msm-tuincentrum-footer.is-in .tf-frame::before,
.msm-tuincentrum-footer.is-in .tf-frame::after { transform: scaleY(1); }

.msm-tuincentrum-footer .tf-r {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(5px);
  transition: opacity .9s var(--tf-ease), transform 1s var(--tf-ease), filter .9s ease;
  transition-delay: calc(var(--d, 0) * 1ms);
}
.msm-tuincentrum-footer.is-in .tf-r { opacity: 1; transform: none; filter: none; }

.msm-tuincentrum-footer .tf-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) repeat(var(--tf-n), minmax(0, 1fr));
  gap: 28px;
  padding: clamp(44px, 6.4vw, 80px) var(--tf-pad) clamp(30px, 4vw, 52px);
}
.msm-tuincentrum-footer .tf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.msm-tuincentrum-footer .tf-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--m-ink, #203522);
  text-decoration: none;
  font-family: var(--m-font-display, 'Fraunces', ui-serif, Georgia, serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1;
}
.msm-tuincentrum-footer .tf-tag { margin: 0; max-width: 30ch; font-size: 13.5px; line-height: 1.55; color: var(--m-muted, #5b6a57); text-wrap: pretty; }
.msm-tuincentrum-footer .tf-quick { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 0; padding: 0; list-style: none; }
.msm-tuincentrum-footer .tf-quick a {
  display: inline-block;
  padding: 4px 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--m-muted, #5b6a57);
  text-decoration: none;
  transition: color .3s ease, transform .45s var(--tf-ease);
}
.msm-tuincentrum-footer .tf-quick a:hover { color: var(--m-ink, #203522); transform: translateY(-2px); }

.msm-tuincentrum-footer .tf-col h3 {
  margin: 4px 0 18px;
  font: 500 10.5px/1 var(--m-font-body, 'Figtree', ui-sans-serif, system-ui, sans-serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--m-muted, #5b6a57);
}
.msm-tuincentrum-footer .tf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.msm-tuincentrum-footer .tf-fact { font-size: 14px; line-height: 1.35; color: var(--m-ink, #203522); }
.msm-tuincentrum-footer .tf-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--m-ink, #203522);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -.005em;
  transition: color .3s ease, transform .5s var(--tf-ease);
}
.msm-tuincentrum-footer .tf-link::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: var(--m-accent2, #4f7a52);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .45s var(--tf-ease);
}
.msm-tuincentrum-footer .tf-link:hover { color: var(--m-accent2, #4f7a52); transform: translateX(7px); }
.msm-tuincentrum-footer .tf-link:hover::before { transform: scaleX(1); }
.msm-tuincentrum-footer .tf-badge {
  font: 500 9px/1 var(--m-font-body, 'Figtree', ui-sans-serif, system-ui, sans-serif);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 6px 3px;
  border-radius: 99px;
  color: var(--m-accent2, #4f7a52);
  background: color-mix(in srgb, var(--m-accent2, #4f7a52) 11%, transparent);
}
.msm-tuincentrum-footer a:focus-visible { outline: 1px solid var(--m-accent2, #4f7a52); outline-offset: 4px; border-radius: 3px; }

.msm-tuincentrum-footer .tf-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 0 var(--tf-pad);
  font-size: 12px;
  color: var(--m-muted, #5b6a57);
}
.msm-tuincentrum-footer .tf-bar p { margin: 0; }
.msm-tuincentrum-footer .tf-legal { display: grid; gap: 4px; }

.msm-tuincentrum-footer .tf-scene { position: relative; z-index: 1; margin-top: -64px; overflow: hidden; }
.msm-tuincentrum-footer .tf-scene canvas {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  max-width: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@media (max-width: 760px) {
  .msm-tuincentrum-footer .tf-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 36px; }
  .msm-tuincentrum-footer .tf-brand { grid-column: 1 / -1; }
  .msm-tuincentrum-footer .tf-bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .msm-tuincentrum-footer .tf-scene { margin-top: -40px; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-tuincentrum-footer .tf-r,
  .msm-tuincentrum-footer .tf-frame::before,
  .msm-tuincentrum-footer .tf-frame::after,
  .msm-tuincentrum-footer .tf-link,
  .msm-tuincentrum-footer .tf-link::before,
  .msm-tuincentrum-footer .tf-quick a { transition: none; }
  .msm-tuincentrum-footer .tf-r { filter: none; }
}
