/* padelclub-hero 1.0.0 · compositie naar 21st.dev @shadcn/hero-15 op een nachtblauwe band.
   Maten uit de bron: rail max-w-5xl, haarlijnregel pb-4, kop mt-10, intro mt-5 max-w-xl text-sm/base,
   knoppen mt-8 gap-3 (kolom, vanaf sm een rij), statstrook mt-14 met p-6 per vak, labels 11 px met 0,2em. */
.msm-padelclub-hero {
  --ph-ease: cubic-bezier(.22, 1, .36, 1);
  --ph-accent: color-mix(in srgb, var(--m-primary, #1c49d8) 45%, #ffffff);
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 88vh;
  min-height: 88svh;
  padding: 56px 16px;
  overflow: hidden;
  background: var(--m-ink, #0c1a3a);
  color: #ffffff;
  font-family: var(--m-font-body, 'Red Hat Text', ui-sans-serif, system-ui, sans-serif);
  scroll-margin-top: 112px;
}
.msm-padelclub-hero *,
.msm-padelclub-hero *::before,
.msm-padelclub-hero *::after { box-sizing: border-box; }
.msm-padelclub-hero a { color: inherit; text-decoration: none; }
.msm-padelclub-hero a:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

/* Achtergrond: de foto van de baan, daarover de glastegels en een verloop dat de tekstkolom rustig houdt. */
.msm-padelclub-hero .ph-bg { position: absolute; inset: 0; z-index: -1; }
.msm-padelclub-hero .ph-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.msm-padelclub-hero .ph-tiles { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; transition: opacity .8s ease; }
.msm-padelclub-hero .ph-tiles canvas { display: block; width: 100%; height: 100%; }
.msm-padelclub-hero.is-tiles .ph-tiles { opacity: 1; }
.msm-padelclub-hero .ph-shade { position: absolute; inset: 0; background: color-mix(in srgb, var(--m-ink, #0c1a3a) 70%, transparent); transition: opacity .8s ease; }
.msm-padelclub-hero.is-tiles .ph-shade {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--m-ink, #0c1a3a) 85%, transparent) 0%, color-mix(in srgb, var(--m-ink, #0c1a3a) 70%, transparent) 52%, color-mix(in srgb, var(--m-ink, #0c1a3a) 12%, transparent) 100%),
    color-mix(in srgb, var(--m-ink, #0c1a3a) 50%, transparent);
}

.msm-padelclub-hero .ph-rail { width: 100%; max-width: 1024px; margin: 0 auto; }
.msm-padelclub-hero .ph-item { animation: ph-rise .6s var(--ph-ease) both; animation-delay: calc(var(--i, 0) * .08s); }
@keyframes ph-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.msm-padelclub-hero .ph-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}
.msm-padelclub-hero .ph-kicker { margin: 0; font-size: 11px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .74); }
.msm-padelclub-hero .ph-num { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .74); }

/* Zonder script: de kop in de displayletter. Met script: pixelregels, de tekst blijft verborgen aanwezig. */
.msm-padelclub-hero .ph-title {
  margin: 40px 0 0;
  font-family: var(--m-font-display, 'Big Shoulders Display', 'Arial Narrow', sans-serif);
  font-size: clamp(48px, 9vw, 104px);
  line-height: .95;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.msm-padelclub-hero .ph-line { display: block; }
.msm-padelclub-hero .ph-title.is-pixel {
  --ph-size: clamp(4px, .9vw + 2px, 11px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--ph-size) * 2.1);
  width: 100%;
  container-type: inline-size;
  fill: currentColor;
  cursor: default;
  filter: drop-shadow(0 4px 22px rgba(0, 0, 0, .45));
}
.msm-padelclub-hero .ph-pxline {
  display: block;
  max-width: none;
  height: auto;
  overflow: visible;
  width: min(calc(var(--ph-size) * var(--w)), calc(100cqi * var(--w) / var(--wmax)));
}
.msm-padelclub-hero .ph-px { transition: fill .7s ease; }
.msm-padelclub-hero .ph-px.is-lit { fill: var(--ph-accent); transition: fill .25s ease; }
.msm-padelclub-hero .ph-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.msm-padelclub-hero .ph-intro { max-width: 36rem; margin: 20px 0 0; font-size: 15px; line-height: 1.625; color: rgba(255, 255, 255, .82); text-wrap: pretty; }
.msm-padelclub-hero .ph-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.msm-padelclub-hero .ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.msm-padelclub-hero .ph-btn svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ph-ease); }
.msm-padelclub-hero .ph-btn-fill { background: var(--m-primary, #1c49d8); color: #ffffff; }
.msm-padelclub-hero .ph-btn-fill:hover { background: color-mix(in srgb, var(--m-primary, #1c49d8) 86%, #ffffff); }
.msm-padelclub-hero .ph-btn-fill:hover svg { transform: translateX(3px); }
.msm-padelclub-hero .ph-btn-outline { border-color: rgba(255, 255, 255, .4); color: #ffffff; }
.msm-padelclub-hero .ph-btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }

.msm-padelclub-hero .ph-stats {
  display: grid;
  grid-template-columns: 1fr;
  margin: 48px 0 0;
  border: 1px solid rgba(255, 255, 255, .24);
  background: color-mix(in srgb, var(--m-ink, #0c1a3a) 55%, transparent);
}
.msm-padelclub-hero .ph-stat { min-width: 0; padding: 16px 20px; }
.msm-padelclub-hero .ph-stat + .ph-stat { border-top: 1px solid rgba(255, 255, 255, .24); }
.msm-padelclub-hero .ph-stat dt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .74);
}
.msm-padelclub-hero .ph-stat dd { margin: 10px 0 0; }
.msm-padelclub-hero .ph-value {
  display: block;
  font-family: var(--m-font-display, 'Big Shoulders Display', 'Arial Narrow', sans-serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.msm-padelclub-hero .ph-note { display: block; margin-top: 6px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .74); }

@media (min-width: 640px) {
  .msm-padelclub-hero { padding: 72px 24px; }
  .msm-padelclub-hero .ph-actions { flex-direction: row; }
  .msm-padelclub-hero .ph-btn { min-height: 44px; }
  .msm-padelclub-hero .ph-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
  .msm-padelclub-hero .ph-stat { padding: 24px; }
  .msm-padelclub-hero .ph-stat + .ph-stat { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .24); }
  .msm-padelclub-hero .ph-stat dd { margin-top: 12px; }
}
@media (min-width: 768px) {
  .msm-padelclub-hero.is-tiles .ph-shade {
    background:
      linear-gradient(90deg, color-mix(in srgb, var(--m-ink, #0c1a3a) 85%, transparent) 0%, color-mix(in srgb, var(--m-ink, #0c1a3a) 70%, transparent) 52%, color-mix(in srgb, var(--m-ink, #0c1a3a) 12%, transparent) 100%),
      color-mix(in srgb, var(--m-ink, #0c1a3a) 24%, transparent);
  }
  .msm-padelclub-hero .ph-intro { font-size: 16px; }
  .msm-padelclub-hero .ph-value { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .msm-padelclub-hero .ph-item { animation: none; }
  .msm-padelclub-hero .ph-tiles,
  .msm-padelclub-hero .ph-shade,
  .msm-padelclub-hero .ph-px,
  .msm-padelclub-hero .ph-px.is-lit,
  .msm-padelclub-hero .ph-btn svg { transition: none; }
}
