/* Site kit teaser ("website in aanbouw", SK-M8.1, D85). No webfont, no external request.
   The palette tokens below are filled in by scripts/teaser.sh; every pair is checked for WCAG AA there. */
:root {
  --text: #1f2933;
  --bg: #f7f7f5;
  --surface: #ffffff;
  --muted: #52606d;
  --accent: #2f5d7c;
  --accent-text: #ffffff;
}

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

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* The whole main is the effect root: the canvas covers it, the drops fall inside .teaser-stage only. */
.teaser {
  --tap-water: #2f8fcf;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  text-align: center;
}

/* The stage: the tap hangs at its top, the drops land on its bottom edge (the basin). The spout tip sits at
   21.67 % of the image width, so the image starts that far left of the centre line. */
.teaser-stage {
  position: relative;
  width: 100%;
  max-width: 22rem;
  height: 210px;
  margin-bottom: 1.5rem;
}
.teaser-stage::after {
  content: "";
  position: absolute;
  left: calc(50% - 2.5rem);
  bottom: 0;
  width: 5rem;
  height: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--muted) 35%, transparent);
}
.teaser-tap {
  position: absolute;
  top: 0;
  left: calc(50% - 34.67px);
  width: 160px;
  height: auto;
}

.teaser-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.teaser-line {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
}
.teaser-sub {
  position: relative;
  z-index: 1;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.teaser-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.teaser-link:hover { text-decoration-thickness: 2px; }
.teaser-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.teaser-foot {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--muted) 20%, transparent);
  background: var(--surface);
}

@media (min-width: 768px) {
  .teaser-stage { height: 280px; }
  .teaser-tap { width: 220px; left: calc(50% - 47.67px); }
}
