/* ============================================
   LUXID — ABOUT PAGE STYLES
   ============================================ */

/* --- STORY --- */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.about-story__text .label {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-story__text .label::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.about-image-block {
  position: relative;
  height: clamp(360px, 45vw, 520px);
}

.about-image-block__accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  background: var(--red);
  opacity: 0.06;
  border-radius: 4px;
}

.about-image-block__card {
  position: absolute;
  inset: 0;
  background: var(--black);
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-image-block__card .story-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.about-image-block__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  z-index: 1;
}

.about-image-block__card::after {
  content: none;
}

.about-quote {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.12);
  width: 100%;
}

.about-quote__text {
  font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 14px;
}

.about-quote__attr {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* --- VALUES --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.value-card {
  background: var(--white);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.55s var(--ease-out);
}

.value-card.visible::before { width: 100%; }

.value-card__num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-6);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.value-card__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.value-card__desc {
  font-size: 14px;
  color: var(--gray-3);
  line-height: 1.7;
}

/* --- TEAM --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 56px;
}

.team-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--black);
}

/* Photo area */
.team-card__portrait {
  position: relative;
  width: 100%;
  padding-bottom: 115%;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card__portrait--oliver {
  background: linear-gradient(135deg, #0d1f33, #1a3a5e);
}

.team-card__portrait--leandro {
  background: linear-gradient(135deg, #0d1a0d, #1a3a2a);
}

.team-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-out);
}

.team-card:hover .team-card__photo {
  transform: scale(1.04);
}

/* Gradient overlay so text reads on photo */
.team-card__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 45%, transparent 100%);
  z-index: 1;
}

/* Name + role pinned to bottom of photo */
.team-card__over {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 36px);
}

.team-card__name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.1;
}

.team-card__role {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red) !important;
  margin-top: 6px;
  display: block;
}

/* Info panel below photo */
.team-card__info {
  padding: clamp(20px, 3vw, 32px);
  background: var(--black);
}

.team-card__bio {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.team-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Override tag style inside dark card */
.team-card .tag {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.45);
  background: transparent;
}

/* Personality accent bar */
.team-card__accent {
  height: 3px;
  background: var(--red);
  width: 40px;
  margin-bottom: 18px;
}

/* --- CTA --- */
.cta-about {
  background: var(--black);
  padding: clamp(72px, 10vw, 128px) 0;
}

.cta-about__inner { max-width: 640px; }

/* ============================================
   ABOUT — RESPONSIVE
   ============================================ */

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

  .about-story__grid {
    grid-template-columns: 1fr;
  }

  .about-image-block {
    height: 300px;
  }

  .about-image-block__accent { display: none; }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .team-card__portrait {
    padding-bottom: 90%;
  }
}

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

  .team-card__portrait {
    padding-bottom: 110%;
  }
}
