/* ==========================================================================
   Viola — About page (shared .page-hero lives in components.css)
   ========================================================================== */

.story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-5);
  align-items: center;
}

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

.story h2 {
  font-size: var(--fs-2xl);
  line-height: 1.4;
}

/* Art column: promo banner (about-story.png) when uploaded, else the two
   mascots (scoped to .story__mascots so banner img sizing stays untouched) */
.story__art {
  display: block;
}

.story__mascots {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-4);
}

/* display:flex above would beat the hidden attribute (this exact bug made
   the home-page mascots show under the uploaded banner) — keep the guard */
.story__mascots[hidden] {
  display: none;
}

.story__mascots img {
  inline-size: 150px;
}

.story__mascots img:nth-child(2) {
  inline-size: 125px;
  margin-block-end: var(--space-2);
}

/* ---- Story copy accents (client's brand text, 2026-07-14) ---- */
/* short standalone line that closes a section, e.g.
   «موفقیت شرکای ویولا، موفقیت ماست.» */
.story-highlight {
  margin-block-start: var(--space-4);
  font-weight: 700;
  color: var(--color-brand-primary);
}

/* the brand's guiding question — bigger, brand purple */
.story-quote {
  margin-block-start: var(--space-4);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1.6;
  color: var(--color-brand-primary);
}

/* ---- Mascot family row ---- */
.mascot-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.mascot-row figure {
  margin: 0;
  text-align: center;
}

.mascot-row img {
  inline-size: 160px;
  block-size: 160px;
  object-fit: contain;
  transition: transform var(--dur-fast) var(--ease-bounce);
}

.mascot-row figure:hover img {
  transform: scale(1.1) rotate(-4deg);
}

.mascot-row figcaption {
  margin-block-start: var(--space-3);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-brand-primary);
}
