@charset "UTF-8";

.about-story-copy {
  max-width: 63ch;
}

.about-story-copy > p {
  margin: 0;
  color: var(--cb-muted);
  font-size: 18px;
  line-height: 1.7;
}

.about-story-copy > p + p {
  margin-top: 16px;
}

.section-heading + .about-story-copy {
  margin-top: clamp(28px, 2.4vw, 32px);
}

.section-dark .about-story-copy > p {
  color: rgba(253, 252, 248, 0.8);
}

.about-origin-grid {
  display: grid;
  grid-template-areas: "image copy";
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(48px, 6vw, 84px);
  align-items: center;
}

.about-origin-copy {
  grid-area: copy;
}

.about-origin-figure {
  grid-area: image;
  width: 100%;
  margin: 0;
}

.about-origin-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(38, 39, 86, 0.12);
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 24px 54px rgba(38, 39, 86, 0.14);
}

.about-origin-figure figcaption {
  margin-top: 14px;
  padding-left: 13px;
  border-left: 3px solid var(--cb-koi);
  color: var(--cb-muted);
  font-size: 12px;
  letter-spacing: 0.025em;
  line-height: 1.5;
}

@media (max-width: 940px) {
  .about-origin-grid {
    grid-template-areas:
      "copy"
      "image";
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .about-origin-figure {
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .about-story-copy > p {
    font-size: 17px;
    line-height: 1.65;
  }

  .about-origin-grid {
    gap: 32px;
  }
}
