/* Who We Are (about.html) — page-only styles, prefix ab- */

/* Mission statement: one large sentence, nothing under it
   (Divi: Text module in the heading font, larger size) */
.ab-mission { padding: 96px 0 100px; text-align: center; }
.ab-mission__statement {
  max-width: 940px; margin: 0 auto;
  font: 500 clamp(26px, 3vw, 36px)/1.3 var(--font-head); color: var(--ink);
  text-wrap: balance;
}

/* Prototype only: section order and the optional Our Story section.
   The sections sit in a flex column and are placed with `order`; backgrounds follow position
   (gray, white, gray), so the bands always alternate after the white Mission section.
   Padding is set here because the shared ".section + .section" rules follow source order. */
.ab-flow { display: flex; flex-direction: column; }
.ab-flow > .ab-sec { padding: 104px 0; background: var(--white); }
html[data-ab-story="hide"] .ab-sec--story { display: none; }
/* Mission · Different · Values · Story (default) */
html[data-ab-order="diff"] .ab-sec--diff   { order: 1; background: var(--surface); }
html[data-ab-order="diff"] .ab-sec--values { order: 2; }
html[data-ab-order="diff"] .ab-sec--story  { order: 3; background: var(--surface); }
/* Mission · Story · Different · Values (when Our Story is hidden: Different gray, Values white) */
html[data-ab-order="story"] .ab-sec--story  { order: 1; background: var(--surface); }
html[data-ab-order="story"] .ab-sec--diff   { order: 2; }
html[data-ab-order="story"] .ab-sec--values { order: 3; background: var(--surface); }
html[data-ab-order="story"][data-ab-story="hide"] .ab-sec--diff   { background: var(--surface); }
html[data-ab-order="story"][data-ab-story="hide"] .ab-sec--values { background: var(--white); }

/* Our story: text column (with two key facts under it) first, photo second */
.ab-story { align-items: start; }
.ab-story .prose p { font-size: 17.5px; }
.ab-story .framed { margin-top: 8px; }
.ab-facts { margin-top: 36px; }
.ab-facts dd { font-size: 17px; }
.ab-facts.kv--2 { --kv-cols: 2; } /* stays two across on phones: both values are short */
.ab-story__todo { margin-top: 48px; }

/* What makes us different: four points as a numbered list, two across, no icons
   (Divi: a 2-column row of Text modules; each has a 2px top border and a small red number) */
.ab-diff { counter-reset: ab-diff; column-gap: 56px; row-gap: 44px; }
.ab-diff__item { counter-increment: ab-diff; padding-top: 22px; border-top: 2px solid var(--ink); }
.ab-diff__item::before {
  content: counter(ab-diff, decimal-leading-zero); display: block; margin-bottom: 14px;
  font: 700 14px/1 var(--font-body); letter-spacing: .12em; color: var(--red);
}
.ab-diff__item h3 { font-size: 24px; margin-bottom: 10px; }
.ab-diff__item p { margin: 0; font-size: 17px; color: var(--muted); }
.ab-diff__item a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* Values: ruled rows, the value word on the left and one sentence on the right
   (Divi: one row per value with 1/3 + 2/3 columns, or one Text module per value) */
.ab-values { margin: 0; border-top: 2px solid var(--ink); }
.ab-values > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px;
  padding: 24px 0 26px; border-bottom: 1px solid var(--line);
}
.ab-values dt { font: 600 24px/1.3 var(--font-head); color: var(--ink); }
.ab-values dd { margin: 0; font-size: 18px; color: var(--muted); max-width: 680px; }
.ab-values__note { margin: 20px 0 0; }

@media (max-width: 980px) {
  .ab-story { gap: 44px; }
  .ab-story .framed { max-width: 620px; }
}
@media (max-width: 640px) {
  .ab-mission { padding: 68px 0 72px; }
  .ab-mission__statement { font-size: 23px; }
  .ab-flow > .ab-sec { padding: 76px 0; }
  .ab-values > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0 22px; }
  .ab-values dt { font-size: 20px; }
  .ab-values dd { font-size: 16.5px; }
  .ab-diff { row-gap: 36px; }
  .ab-diff__item p { font-size: 16.5px; }
  .ab-story__todo { margin-top: 36px; }
}
