/* ============================================================
   About page styles
   ============================================================ */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.story-grid p {
  color: var(--ink-muted);
  font-size: 16px;
  margin-bottom: 18px;
}
.story-grid p:last-child { margin-bottom: 0; }

.story-figure {
  background: var(--navy);
  border-radius: 16px;
  padding: 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.story-figure::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  opacity: 0.35;
}
.story-figure b {
  display: block;
  font-family: var(--font-head);
  font-size: 44px;
  margin-bottom: 4px;
}
.story-figure span { font-size: 14px; color: rgba(255,255,255,0.6); }
.story-figure-row { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.value-card .value-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(36,97,236,0.1);
  margin-bottom: 18px;
  position: relative;
}
.value-card .value-mark::before {
  content: '';
  position: absolute;
  inset: 9px;
  background: var(--blue);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
}
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--ink-muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: 24px;
}
.team-card {
  text-align: left;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 14px;
}
.team-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.team-card span { font-size: 13px; color: var(--ink-muted); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
