@import url("./index.css");

body[data-page="about"] .page-intro {
  padding: clamp(96px, 14vw, 160px) 0 clamp(48px, 8vw, 72px);
  animation: fadeRise 0.9s ease forwards;
}

.page-intro .container {
  max-width: 920px;
}

.page-intro .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 18px;
}

.page-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.page-intro .lede {
  color: var(--text-soft);
  margin: 0;
}

.story {
  padding: clamp(64px, 8vw, 96px) 0;
}

.story__layout {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeRise 1s ease forwards;
}

.story__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
}

.story__copy p {
  color: var(--text-soft);
  text-align: center;
}

.story__copy {
  display: grid;
  gap: 18px;
}

.team {
  padding: clamp(64px, 8vw, 96px) 0;
}

.team__inner {
  display: grid;
  gap: clamp(32px, 5vw, 48px);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 36px);
}

.team-card {
  background: rgba(12, 9, 18, 0.78);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-base);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  animation: fadeRise 1s ease forwards;
}

.team-card__media {
  margin: -24px -24px 0;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  height: 220px;
}

.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card:nth-child(2) .team-card__media img {
  object-position: center 20%;
}

.team-card:nth-child(3) .team-card__media img {
  object-position: top center;
}

.team-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.team-card__role {
  margin: 0;
  color: var(--accent-primary);
  font-weight: 600;
}

.team-card__bio {
  margin: 0;
  color: var(--text-soft);
}

.values {
  padding: clamp(64px, 8vw, 96px) 0 clamp(120px, 12vw, 140px);
}

.values .accordion__item {
  background: rgba(12, 9, 18, 0.82);
  animation: fadeRise 1s ease forwards;
}

@media (max-width: 720px) {
  .team-card__media {
    margin: -24px -24px 12px;
  }
}

