/* Scoped styles for /hoe-werkt-het.php — does not alter other pages */

.page-how .site-header__inner {
  max-width: 1120px;
}

.how {
  padding-bottom: 2rem;
}

.how-hero {
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}

.how-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.how-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.35rem 0 1rem;
}

.how-hero__lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}

.how-hero__cta {
  display: flex;
  justify-content: center;
}

.how-contrast {
  padding-top: 1rem;
}

.how-story {
  padding-top: 1rem;
}

.how-story__intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.how-story__intro .section__heading {
  margin-bottom: 0;
}

/* Story steps */
.how-step {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .how-step {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
  }

  .how-step--reverse {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .how-step--reverse .how-step__copy {
    order: 2;
  }

  .how-step--reverse .how-shot {
    order: 1;
  }

  .how-step--consent {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .how-step--consent .how-step__copy--wide {
    max-width: 40rem;
  }

  .how-step--consent .how-shot {
    max-width: 420px;
    margin-inline: auto;
  }

  .how-step--after {
    grid-template-columns: 1fr;
  }
}

.how-step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}

.how-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

.how-step__kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.85rem;
}

.how-step__copy p {
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.how-step__copy p:last-child {
  margin-bottom: 0;
}

.how-step__copy--solo {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.how-statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 1.1rem !important;
}

.how-statement--soft {
  color: var(--accent-hot);
}

.how-curiosity {
  color: var(--ink) !important;
  font-size: 1.05rem;
  margin-top: 1.25rem !important;
}

/* Vertical flow connector */
.how-flow {
  display: flex;
  justify-content: center;
  padding: 1.25rem 0 1.75rem;
}

.how-flow__line {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(212, 165, 116, 0.55),
    transparent
  );
}

/* Screenshot frames */
.how-shot {
  margin: 0;
  width: 100%;
}

.how-shot__caption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
  text-align: center;
}

.how-shot__frame {
  position: relative;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(244, 241, 234, 0.1);
  background: #0c0c10;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 24px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.how-shot__frame img {
  width: 100%;
  height: auto;
}

/* 01 — controlled crop: CrossPath identity + overlap, mask accept/decline */
.how-shot--crosspath {
  max-width: 360px;
  margin-inline: auto;
}

.how-shot__frame--crop {
  max-height: 340px;
}

.how-shot__frame--crop img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
}

.how-shot__frame--crop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 8, 0.55) 40%, rgba(7, 7, 8, 0.97) 100%);
}

/* 02 — smaller peek */
.how-shot--interest {
  max-width: 300px;
  margin-inline: auto;
}

.how-shot__frame--peek {
  max-height: 360px;
}

.how-shot__frame--peek img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
}

.how-shot__frame--peek::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 8, 0.75) 100%);
}

/* 03 — long screenshot preview */
.how-shot--consent {
  max-width: 400px;
  margin-inline: auto;
}

/* Screenshot open trigger (all story images) */
.how-shot__open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
  font: inherit;
  border-radius: 20px;
}

.how-shot__open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.how-shot__open .how-shot__frame {
  pointer-events: none;
}

.how-shot__open-hint {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}

.how-shot__frame--fade {
  max-height: 480px;
}

.how-shot__frame--fade img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
}

.how-shot__frame--fade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(7, 7, 8, 0.55) 45%,
    rgba(7, 7, 8, 0.96) 100%
  );
}

.how-shot__frame--fade::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  z-index: 1;
  width: 2.25rem;
  height: 3px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(212, 165, 116, 0.45);
  pointer-events: none;
}

/* Privacy list */
.how-privacy {
  padding-top: 1rem;
}

.how-privacy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.how-privacy__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.how-privacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.how-privacy__note {
  margin-top: 1.5rem;
}

.how-cta .cta-block {
  text-align: center;
}

.how-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.how-cta p {
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

@media (max-width: 899px) {
  .how-step__copy {
    order: 0;
  }

  .how-shot {
    order: 1;
  }

  .how-shot--crosspath,
  .how-shot--interest,
  .how-shot--consent {
    max-width: min(100%, 360px);
  }

  .how-shot__frame--crop {
    max-height: 300px;
  }

  .how-shot__frame--crop img {
    height: 300px;
  }

  .how-shot__frame--peek {
    max-height: 320px;
  }

  .how-shot__frame--peek img {
    height: 320px;
  }

  .how-shot__frame--fade {
    max-height: 400px;
  }

  .how-shot__frame--fade img {
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-shot__frame {
    box-shadow: 0 0 0 1px rgba(244, 241, 234, 0.08);
  }
}
