/* camping-hero 1.0.0 · block-port van ReactBitsPro Blocks/hero-16 met ReactBits Backgrounds/Galaxy (origineel gecompileerd)
   en ReactBitsPro Components/spring-lettering (origineel gecompileerd) op de h1.
   Tailwind-maten uit de bron: min-h-screen, py-12, px-4/6/8, max-w 1400, kop 4xl tot 8xl, leading 1.05, tracking -0.02em,
   max-w-4xl, intro max-w-md, knoppen rounded-xl, pijlknop w-11/12. Fonts levert de site via assets/fonts.css. */
.msm-camping-hero {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: max(560px, calc(100vh - 80px));
  min-height: max(560px, calc(100svh - 80px));
  padding: 48px 16px;
  overflow: hidden;
  background: var(--m-ink, #1d2620);
  color: var(--m-surface, #fffdf7);
  font-family: var(--m-font-body, 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif);
}
.msm-camping-hero *,
.msm-camping-hero *::before,
.msm-camping-hero *::after { box-sizing: border-box; }

/* Lucht: foto als terugval, Galaxy als WebGL-laag, uitgesneden voorgrond eroverheen. */
.msm-camping-hero .ch-sky { position: absolute; inset: 0; z-index: 0; }
.msm-camping-hero .ch-fallback,
.msm-camping-hero .ch-fallback img,
.msm-camping-hero .ch-foreground {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 100%;
}
.msm-camping-hero .ch-fallback { transition: opacity .6s ease-in-out; }
.msm-camping-hero .ch-galaxy { position: absolute; inset: 0; display: none; }
.msm-camping-hero .ch-foreground { display: none; }
.msm-camping-hero.is-galaxy .ch-galaxy,
.msm-camping-hero.is-galaxy .ch-foreground { display: block; }
.msm-camping-hero.is-galaxy .ch-fallback { opacity: 0; }
.msm-camping-hero .ch-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, color-mix(in srgb, var(--m-ink, #1d2620) 55%, transparent) 0%, transparent 42%),
    linear-gradient(to top, color-mix(in srgb, var(--m-ink, #1d2620) 78%, transparent) 0%, transparent 46%);
  pointer-events: none;
}

/* Originele component-CSS van Galaxy en spring-lettering, gescoped. */
.msm-camping-hero .galaxy-container { position: relative; width: 100%; height: 100%; overflow: hidden; }
.msm-camping-hero .galaxy-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.msm-camping-hero .spring-lettering { position: relative; display: inline-block; }
/* De spaties tussen de woordblokken staan inline op pre-wrap; bij een regelafbreking zou de spatie de nieuwe regel
   laten inspringen. Met normale witruimte valt een spatie aan het begin van een regel weg (de kop telt geen dubbele spaties). */
.msm-camping-hero .ch-title [data-spring-layer] > span:nth-child(even) { white-space: normal !important; }

.msm-camping-hero .ch-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.msm-camping-hero .ch-kicker {
  margin: 0;
  font-size: 15px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: .02em;
  color: color-mix(in srgb, var(--m-surface, #fffdf7) 86%, transparent);
  animation: ch-rise .5s ease-in-out .1s both;
  --ch-from: -12px;
}
.msm-camping-hero .ch-head { display: flex; flex: 1; align-items: flex-start; padding-top: 48px; }
.msm-camping-hero .ch-title {
  margin: 0;
  max-width: 56rem;
  font-family: var(--m-font-display, 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--m-surface, #fffdf7);
  text-wrap: balance;
  animation: ch-rise .7s ease-in-out .25s both;
  --ch-from: 24px;
}
.msm-camping-hero .ch-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
}
.msm-camping-hero .ch-intro {
  flex: 1;
  min-width: 0;
  max-width: 28rem;
  margin: 0;
  font-size: 14px;
  line-height: 1.625;
  color: color-mix(in srgb, var(--m-surface, #fffdf7) 86%, transparent);
  animation: ch-rise .5s ease-in-out .5s both;
  --ch-from: 16px;
}
.msm-camping-hero .ch-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  width: 100%;
  animation: ch-rise .5s ease-in-out .6s both;
  --ch-from: 16px;
}
.msm-camping-hero .ch-cta,
.msm-camping-hero .ch-arrow {
  transition: background-color .2s ease-in-out, transform .3s cubic-bezier(.34, 1.4, .64, 1);
  -webkit-tap-highlight-color: transparent;
}
.msm-camping-hero .ch-cta {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--m-surface, #fffdf7);
  color: var(--m-ink, #1d2620);
  /* hero-16 zet hier een systeem-monofont; die valt op Windows terug op Courier. De getrackte
     kapitalen van het block blijven, in de bodyfont van het merk. */
  font-family: var(--m-font-body, 'Hanken Grotesk', Arial, sans-serif);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.msm-camping-hero .ch-cta:hover { background: color-mix(in srgb, var(--m-surface, #fffdf7) 86%, var(--m-bg, #f3efe4)); }
.msm-camping-hero .ch-cta:active { transform: scale(.97); }
.msm-camping-hero .ch-arrow {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--m-accent2, #e08a3c);
  color: var(--m-ink, #1d2620);
}
.msm-camping-hero .ch-arrow:hover { background: color-mix(in srgb, var(--m-accent2, #e08a3c) 80%, var(--m-surface, #fffdf7)); }
.msm-camping-hero .ch-arrow:active { transform: scale(.95); }
.msm-camping-hero .ch-arrow span { display: inline-flex; transition: transform .2s ease-in-out; }
.msm-camping-hero .ch-actions:hover .ch-arrow span,
.msm-camping-hero .ch-actions:focus-within .ch-arrow span { transform: translateX(3px); }
.msm-camping-hero .ch-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msm-camping-hero a:focus-visible { outline: 2px solid var(--m-accent2, #e08a3c); outline-offset: 3px; }

@keyframes ch-rise { from { opacity: 0; transform: translateY(var(--ch-from, 16px)); } to { opacity: 1; transform: none; } }

@media (min-width: 640px) {
  .msm-camping-hero { padding: 48px 24px; }
  .msm-camping-hero .ch-kicker { line-height: 32px; }
  .msm-camping-hero .ch-head { padding-top: 64px; }
  .msm-camping-hero .ch-title { font-size: 48px; }
  .msm-camping-hero .ch-foot { flex-direction: row; align-items: flex-end; gap: 32px; }
  .msm-camping-hero .ch-intro { font-size: 16px; }
  .msm-camping-hero .ch-actions { width: auto; }
  .msm-camping-hero .ch-cta { flex: none; padding: 16px 32px; font-size: 12px; }
  .msm-camping-hero .ch-arrow { width: 48px; height: 48px; }
  .msm-camping-hero .ch-arrow svg { width: 20px; height: 20px; }
}
@media (min-width: 768px) {
  .msm-camping-hero .ch-head { padding-top: 80px; }
  .msm-camping-hero .ch-title { font-size: 60px; }
  .msm-camping-hero .ch-intro { font-size: 18px; }
}
@media (min-width: 1024px) {
  .msm-camping-hero { padding: 48px 32px; }
  .msm-camping-hero .ch-title { font-size: 72px; }
}
@media (min-width: 1280px) {
  .msm-camping-hero .ch-title { font-size: 96px; }
}
@media (max-width: 640px) {
  .msm-camping-hero .ch-fallback img { object-position: 50% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .msm-camping-hero .ch-kicker,
  .msm-camping-hero .ch-title,
  .msm-camping-hero .ch-intro,
  .msm-camping-hero .ch-actions { animation: none; }
  .msm-camping-hero .ch-fallback,
  .msm-camping-hero .ch-arrow span,
  .msm-camping-hero .ch-cta,
  .msm-camping-hero .ch-arrow { transition: background-color .2s ease-in-out; }
  .msm-camping-hero .ch-actions:hover .ch-arrow span,
  .msm-camping-hero .ch-actions:focus-within .ch-arrow span,
  .msm-camping-hero .ch-cta:active,
  .msm-camping-hero .ch-arrow:active { transform: none; }
}
