/* About section: the story, image collage and values. */

.about {
  background: linear-gradient(
    180deg,
    transparent,
    oklch(93.5% 0.032 80 / 0.5) 18%,
    oklch(93.5% 0.032 80 / 0.5) 82%,
    transparent
  );
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* Collage */
.about-collage {
  position: relative;
  aspect-ratio: 1 / 1;
}

.about-collage figure {
  position: absolute;
  border: 3px solid var(--c-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-main {
  width: 68%;
  aspect-ratio: 4 / 5;
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}

.collage-top {
  width: 46%;
  aspect-ratio: 1 / 1;
  top: 6%;
  right: 0;
  transform: rotate(4deg);
  z-index: 3;
  box-shadow: 6px 6px 0 var(--c-sunflower);
}

.collage-bottom {
  width: 52%;
  aspect-ratio: 5 / 4;
  bottom: 0;
  right: 4%;
  transform: rotate(-2deg);
  z-index: 3;
  box-shadow: 6px 6px 0 var(--c-rosa);
}

.collage-tile {
  position: absolute;
  width: 6rem;
  height: 6rem;
  bottom: 8%;
  left: 6%;
  z-index: 1;
  border-radius: var(--radius-md);
  background: conic-gradient(
    from 45deg,
    var(--c-talavera) 0 25%,
    var(--c-sunflower) 0 50%,
    var(--c-rosa) 0 75%,
    var(--c-lime) 0
  );
  border: 3px solid var(--c-ink);
  transform: rotate(12deg);
  opacity: 0.95;
}

.about-copy p + p {
  margin-top: var(--space-md);
}

.about-copy .section-lead {
  margin-bottom: var(--space-md);
}

.about-signature {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--c-talavera-deep);
}

.about-signature .sig-name {
  display: block;
  font-style: normal;
  font-size: var(--text-sm);
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 0.2rem;
}

/* Values row */
.values {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card {
  background: var(--c-paper);
  border: 2px solid var(--c-ink);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 5px 5px 0 var(--c-ink);
  transition: transform var(--duration-fast) var(--ease-out-expo),
    box-shadow var(--duration-fast) var(--ease-out-expo);
}

.value-card:nth-child(1) {
  --accent: var(--c-rosa);
}
.value-card:nth-child(2) {
  --accent: var(--c-talavera);
}
.value-card:nth-child(3) {
  --accent: var(--c-lime);
}
.value-card:nth-child(4) {
  --accent: var(--c-sunflower);
}

.value-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--accent);
}

.value-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  color: var(--accent);
  line-height: 1;
}

.value-title {
  margin-top: var(--space-xs);
  font-size: var(--text-base);
  font-weight: 700;
}

.value-text {
  margin-top: 0.35rem;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

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

  .about-collage {
    max-width: 26rem;
    margin-inline: auto;
    width: 100%;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

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