/* /about/ only: the navy opening held to the fold, the why section beside its moment slot,
   the roster's head, the team map on navy, the six decisions.
   Owner: ux-designer builder (e). Shared components come from layout.css. */

/* ---- opening: the display sentence alone on navy ------------------------ */
main > .ab-open { padding-block: var(--space-8) var(--space-7); }
.ab-open__title { max-inline-size: 20ch; }
.ab-open__sub { max-inline-size: 44rem; color: var(--text-2); }
@media (min-width: 1024px) {
  main > .ab-open { padding-block: var(--space-8) 56px; }
}

/* ---- 1. why: text beside the moment; the slot is sized so the partial lands without a shift ---- */
main > .ab-why { overflow-x: clip; }
@media (min-width: 900px) { main > .ab-why { padding-block-start: var(--space-8); } }
.ab-why__grid { display: grid; gap: var(--space-7); }
.ab-why__lead { margin-block-start: var(--space-4); color: var(--text); }
.ab-why__body { margin-block-start: var(--space-5); max-inline-size: 40rem; color: var(--text-2); }
.ab-why__body p + p { margin-block-start: var(--space-4); }
/* the slot: square on a phone, the lines' own field from 1024, bled to the left edge of the frame */
.ab-why__figure {
  position: relative;
  inline-size: 100%;
  aspect-ratio: 1;
  max-block-size: 420px;
  color: var(--teal-700);
}
@media (min-width: 1024px) {
  .ab-why__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
  .ab-why__text { grid-column: 1 / span 6; }
  .ab-why__figure {
    grid-column: 8 / span 5;
    aspect-ratio: auto;
    block-size: 520px;
    max-block-size: none;
    inline-size: auto;
    margin-inline-end: calc(-1 * (var(--pad-inline) + max(0px, (100vw - var(--page-max) - 2 * var(--pad-inline)) / 2)));
  }
}

/* ---- 2. partners: the head held to a reading measure above the roster ---- */
.ab-people__head { max-inline-size: 46rem; }
.ab-people__head .lead { margin-block-start: var(--space-4); }

/* ---- 3. one team: the page's short display phrase, then the three sides as a ruled map ---- */
.ab-team__grid { display: grid; gap: var(--space-7); }
.ab-team__title { font-size: var(--t-display); line-height: 1.04; max-inline-size: 14em; }
.ab-team__lead { margin-block-start: var(--space-5); max-inline-size: 36rem; }
.ab-team__label { font-family: var(--face-text); font-weight: 700; font-size: 1.125rem; color: var(--text-2); }
.ab-sides { margin-block-start: var(--space-4); border-block-start: 3px solid var(--text); }
.ab-sides__row {
  display: grid;
  gap: 4px var(--gutter);
  padding-block: var(--space-5);
  border-block-end: 1px solid var(--rule);
}
/* the marker is a corner of the mark's triangle: three sides, three corners */
.ab-sides__row dt {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--face-display);
  font-size: var(--t-h3);
  line-height: 1.25;
}
.ab-sides__row dt::before {
  content: "";
  flex: none;
  inline-size: 14px;
  block-size: 12px;
  background-color: var(--mark);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.ab-sides__row dd { color: var(--text-2); }
.ab-team__close {
  margin-block-start: var(--space-6);
  padding-inline-start: var(--space-4);
  border-inline-start: 3px solid var(--mark);
  font-size: var(--t-lead);
  line-height: 1.6;
}
@media (min-width: 900px) {
  .ab-sides__row { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: baseline; }
}
@media (min-width: 1100px) {
  .ab-team__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  /* the head's two children join the grid: the phrase takes its own row, the lead sits beside the map */
  .ab-team__head { display: contents; }
  .ab-team__title { grid-column: 1 / -1; grid-row: 1; }
  .ab-team__lead { grid-column: 1 / span 5; grid-row: 2; margin-block-start: 0; }
  .ab-team__map { grid-column: 7 / span 6; grid-row: 2; }
}

/* ---- 4. the six decisions: a 3 by 2 field of question and rule ---------- */
.ab-decide__head { max-inline-size: 50rem; }
.ab-rules {
  display: grid;
  gap: var(--space-6) var(--gutter);
  margin-block-start: var(--space-7);
}
.ab-rules__item { padding-block-start: var(--space-4); border-block-start: 3px solid var(--text); }
.ab-rules__q { font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.2; }
.ab-rules__a { margin-block-start: var(--space-3); color: var(--text-2); max-inline-size: 30rem; }
@media (min-width: 700px) {
  .ab-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .ab-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-7); }
}
