/* ============================================================
   pages/info.css — new design system
   ============================================================ */

/* ── Page spine ──────────────────────────────────────────── */
.page-trail { position: relative; overflow: hidden; margin-bottom: -300px; padding-bottom: 300px; }
.page-spine {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5000px;
  z-index: 0; pointer-events: none;
}
.page-spine svg { width: 100%; height: 100%; }
.spine-path {
  fill: none;
  stroke: url(#spineGrad);
  stroke-width: 36;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.92;
}
.page-trail > section { position: relative; z-index: 1; }
@media (max-width: 580px) { .spine-path { stroke-width: 14; } }

/* ── Halo + Eyebrow ─────────────────────────────────────── */
.has-halo {
  -webkit-text-stroke: 4px var(--color-cream);
  paint-order: stroke fill;
}
.eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 700; color: var(--color-crimson);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--color-crimson); display: inline-block;
}

/* ── Story two-col ───────────────────────────────────────── */
.two-col-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

.story-text {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
  -webkit-text-stroke: 4px var(--color-cream);
  paint-order: stroke fill;
}
.story-text p { margin-bottom: var(--space-4); }

.story-image {
  position: relative;
  transform: rotate(2deg);
}
.story-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: var(--r-md);
  border: 6px solid #fff;
  box-shadow: 0 30px 60px -20px rgba(99, 9, 9, 0.3);
}
.story-image__stamp {
  position: absolute;
  top: -22px; right: -16px;
  background: var(--color-secondary);
  color: var(--color-primary);
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 10px 24px -8px rgba(235, 177, 31, 0.6);
  line-height: 1.1;
}
.story-image__stamp strong {
  font-size: 22px;
  display: block;
  margin-top: 2px;
}

/* ── Inspiration cards ───────────────────────────────────── */
.inspiration-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.inspiration-card {
  background: #fff;
  border: 1px solid rgba(99, 9, 9, 0.08);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 16px 36px -22px rgba(99, 9, 9, 0.18);
  transition: transform .35s ease, box-shadow .35s ease;
}
.inspiration-card:nth-child(1) { transform: rotate(-0.6deg); }
.inspiration-card:nth-child(2) { transform: rotate(0.6deg); }
.inspiration-card:hover {
  transform: rotate(0) translateY(-6px) !important;
  box-shadow: 0 24px 48px -20px rgba(99, 9, 9, 0.28);
}

.inspiration-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.inspiration-card__body {
  padding: 24px;
}

.inspiration-card__name {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.inspiration-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ── Team grid ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin-inline: auto;
}

.team-card {
  background: #fff;
  border: 1px solid rgba(99, 9, 9, 0.08);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 12px 28px -16px rgba(99, 9, 9, 0.14);
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:nth-child(4n+1) { transform: rotate(-0.6deg); }
.team-card:nth-child(4n+2) { transform: rotate(0.5deg); }
.team-card:nth-child(4n+3) { transform: rotate(-0.4deg); }
.team-card:nth-child(4n)   { transform: rotate(0.7deg); }

.team-card:hover {
  transform: rotate(0) translateY(-6px) !important;
  box-shadow: 0 20px 40px -16px rgba(99, 9, 9, 0.22);
}

.team-card__photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--color-cream);
  box-shadow: 0 4px 12px -4px rgba(99, 9, 9, 0.2);
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 12px;
  color: var(--color-crimson);
  font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .two-col-story { grid-template-columns: 1fr; gap: 40px; }
  .story-image { transform: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card:nth-child(n) { transform: none; }
  .team-card:hover { transform: translateY(-6px) !important; }
  .inspiration-card:nth-child(n) { transform: none; }
  .inspiration-card:hover { transform: translateY(-6px) !important; }
}

@media (max-width: 580px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card { padding: 20px 16px; }
  .inspiration-cards { grid-template-columns: 1fr; }
}

/* ── Mobile (480px) ──────────────────────────────────────── */
@media (max-width: 480px) {
  /* Hide spine */
  .page-spine { display: none; }

  /* Thinner halo on mobile */
  .has-halo { -webkit-text-stroke: 2px var(--color-cream); }

  /* Center section headers.
     Let op: geen display:flex op de h2 — flexbox slikt de spatie
     tussen tekst en de gekleurde <em> in ("Hoe hetbegon"-bug). */
  .two-col-story h2 { text-align: center; }
  .two-col-story .eyebrow { text-align: center; justify-content: center; display: flex; }
  .story-text { text-align: center; }

  /* Story image: hide stamp, no rotate */
  .story-image { transform: none; }
  .story-image__stamp { display: none; }
  .story-image img { aspect-ratio: 16/9; }

  /* Inspiration centered */
  .inspiration-cards { gap: 20px; }
  .inspiration-card:nth-child(n) { transform: none; }

  /* Team: bigger photos */
  .team-card__photo { width: 100px; height: 100px; }
  .team-card:nth-child(n) { transform: none; }
  .team-card { padding: 16px 12px; }
  .team-card__name { font-size: 14px; }
  .team-card__role { font-size: 11px; }

  /* Section spacing */
  .section { padding-block: 48px; }

  /* CTA buttons full-width */
  .section div[style*="display:flex"][style*="gap"] {
    flex-direction: column;
    align-items: stretch;
  }
}
