/* ==========================================================================
   IRONBEASTS - ABOUT PAGE  (about.css)
   Loaded on the page using page-templates/about.php, on top of page.css.

   The About page is an ordinary page and page.css dresses it: the narrow
   column, the title over a hairline, the type. This file only adds the few
   things an ordinary page does not have: the store photo, the brand's line,
   a row of numbers, a row of three photos, and the closing line.
   ========================================================================== */

/* Two short lines above the lead: when and where, then the brand's own words. */
.about-kicker {
  font-size: var(--fs-12);
  letter-spacing: var(--ls-7);
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-kicker + .about-line {
  margin-top: var(--sp-2);
}

.about-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-fluid-md);
  line-height: var(--lh-snug);
  color: var(--heading);
}

.about-lead {
  font-size: var(--fs-18);
  line-height: var(--lh-loose);
  color: var(--text);
}

/* The store, the width of the column, first thing under the title. A fixed
   shape so the page does not jump when it arrives. */
.about-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--surface-2);
}

/* ---- Numbers: one row between two rules, as the cart sets off its totals -- */
.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) clamp(2rem, 6vw, 4rem);
  margin-bottom: 0;
  padding-block: var(--sp-5);
  border-block: 1px solid var(--border);
}

/* The figure is drawn above its label, whatever order the markup needs. */
.about-stats__item {
  display: flex;
  flex-direction: column-reverse;
  gap: var(--sp-1);
}

.about-stats__number {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-fluid-lg);
  line-height: var(--lh-tight);
  color: var(--heading);
}

.about-stats__label {
  font-size: var(--fs-12);
  letter-spacing: var(--ls-7);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- The two sections: page.css sets the heading and the space above it -- */
.about-section > * + * {
  margin-top: var(--sp-3);
}

/* ---- Three photos between the two sections, side by side ----------------- */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}

.about-gallery__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--surface-2);
}

/* ---- The end -------------------------------------------------------------- */
.about-closing {
  margin-top: var(--sp-7);
  text-align: center;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.about-closing__line {
  margin-bottom: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-fluid-md);
  line-height: var(--lh-snug);
  color: var(--heading);
}
