/* ============================================
   ABOUT / OVER ONS — Page-specific styles
   ============================================ */

/* --- REVEAL ANIMATION --- */
.about-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- HERO SECTION (red bg) --- */
.about-hero {
  background: var(--red);
  padding: clamp(120px, 12vw, 200px) clamp(24px, 5.29vw, 80px) clamp(60px, 6vw, 100px);
}

.about-hero__inner {
  max-width: 1352px;
  margin: 0 auto;
}

.about-hero__label {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 400;
  color: rgba(255, 242, 242, 0.7);
  margin-bottom: clamp(8px, 1vw, 16px);
  text-transform: uppercase;
}

.about-hero__title {
  font-size: clamp(40px, 5.8vw, 88px);
  font-weight: 700;
  line-height: 1.09;
  color: #FFF2F2;
  margin-bottom: clamp(24px, 3vw, 48px);
}

.about-hero__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
  max-width: 1122px;
}

.about-hero__body p {
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.4;
  color: rgba(255, 242, 242, 0.9);
}

.about-hero__hashtag {
  font-size: clamp(16px, 1.32vw, 20px);
  font-weight: 500;
  color: rgba(255, 242, 242, 0.5);
  font-style: italic;
  margin-top: clamp(8px, 1vw, 16px);
}

/* --- BOUWSTENEN PYRAMID --- */
.about-bouwstenen {
  margin-top: clamp(80px, 10vw, 180px);
  max-width: 1122px;
  margin-left: auto;
  margin-right: auto;
}

.about-bouwstenen__label {
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #FFF2F2;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 3vw, 48px);
  text-align: center;
}

.about-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 1122px;
  margin: 0 auto;
}

.about-pyramid__row {
  display: flex;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.about-pyramid__block {
  background: var(--cream);
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: clamp(14px, 1.8vw, 28px) clamp(20px, 3vw, 40px);
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 500;
  color: var(--dark-text);
  text-align: center;
  white-space: nowrap;
  margin: -1px;
}

.about-pyramid__row:nth-child(1) .about-pyramid__block { width: 30%; }
.about-pyramid__row:nth-child(2) .about-pyramid__block { width: 54%; }
.about-pyramid__row:nth-child(3) { width: 78%; }
.about-pyramid__row:nth-child(4) { width: 100%; }

.about-pyramid__row--split .about-pyramid__block {
  flex: 1;
}

/* --- TEAM SECTION (cream bg) --- */
.about-team {
  background: var(--cream);
  padding: clamp(48px, 5vw, 80px) clamp(24px, 5.29vw, 80px);
}

.about-team__header {
  max-width: 1352px;
  margin: 0 auto clamp(32px, 4vw, 80px);
}

.about-team__label {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: clamp(8px, 1vw, 16px);
  text-transform: uppercase;
}

.about-team__title {
  font-size: clamp(40px, 5.8vw, 88px);
  font-weight: 700;
  line-height: 1.09;
  color: var(--black);
}

/* --- TEAM GRID --- */
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
  max-width: 1352px;
  margin: 0 auto;
}

/* --- TEAM CARD --- */
.team-card {
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  border-color: var(--dark-text);
  transform: translateY(-4px);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__info {
  padding: clamp(12px, 1.2vw, 16px);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card__name {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.33;
}

.team-card__role {
  font-size: clamp(13px, 1.32vw, 20px);
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

/* --- TEAM MODAL (split view — matches live site) --- */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.team-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.team-modal__inner {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.team-modal__left {
  flex: 0 0 50%;
  background: var(--cream);
  padding: clamp(32px, 3vw, 48px) clamp(40px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.team-modal__close {
  position: absolute;
  top: clamp(24px, 3vw, 48px);
  right: clamp(24px, 3vw, 48px);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.team-modal__close:hover {
  opacity: 1;
}

.team-modal__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1vw, 16px);
  flex: 1;
}

.team-modal__name {
  font-size: clamp(32px, 3.5vw, 56px);
  font-weight: 400;
  font-style: italic;
  color: var(--dark-text);
  line-height: 1.15;
}

.team-modal__role {
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 400;
  color: var(--muted);
  margin-bottom: clamp(16px, 2vw, 32px);
}

.team-modal__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-modal__contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px, 1.05vw, 16px);
}

.team-modal__contact-label {
  color: var(--muted);
  min-width: 24px;
}

.team-modal__contact-row a {
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.team-modal__contact-row a:hover {
  color: var(--red);
}

.team-modal__right {
  flex: 0 0 50%;
  min-height: 100%;
}

.team-modal__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --- MISSION SECTION (red bg, below team) --- */
.about-mission {
  background: var(--red);
  padding: clamp(48px, 5vw, 80px) clamp(24px, 5.29vw, 80px);
  text-align: center;
}

.about-mission__text {
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  color: #FFF2F2;
  max-width: 1122px;
  margin: 0 auto;
  text-align: center;
}

/* --- FOOTER: black bg on about page --- */
.about-page .footer {
  background: var(--black);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .about-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero {
    padding-top: clamp(100px, 14vw, 140px);
  }

  .team-modal__inner {
    flex-direction: column;
    overflow-y: auto;
    height: 100vh;
  }

  .team-modal__right {
    flex: 0 0 auto;
    width: 100%;
    height: 55vh;
    min-height: 55vh;
  }

  .team-modal__left {
    flex: 0 0 auto;
    padding: 32px 24px 48px;
  }

  .team-modal__close {
    top: 16px;
    right: 16px;
    z-index: 20;
  }

  .team-modal__close svg path {
    stroke: #FFF2F2;
  }
}

@media (max-width: 480px) {
  .about-team__grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .about-pyramid__block {
    white-space: normal;
    font-size: clamp(10px, 2.8vw, 14px);
    padding: 10px 12px;
  }
  .about-pyramid__row:nth-child(1) .about-pyramid__block { width: 50%; }
  .about-pyramid__row:nth-child(2) .about-pyramid__block { width: 70%; }
  .about-pyramid__row:nth-child(3) { width: 88%; }
  .about-pyramid__row:nth-child(4) { width: 100%; }
}
