/* /about/ (pages/about.py): what is specific to Decorous on top of inner.css's about devices (the numeral band, history, why, values, jumps):
   the "thrive" title over the values, the five steps as hairline columns, the logo strips inside the two link cards. Units: vw on the 2400
   canvas above 1100px, min(Xvw, Ypx) below. */

/* the 24/7 band (fix wave 1): the numerals on the left, the picture window opening BESIDE them on the right (it used to open over the "4"), a caption
   under the numerals that says what the number is. inner.css's .era is the base; this block replaces its centred overlap. */
.page-about .era { height: auto; margin-top: 1vw; padding: 2vw var(--pad-x) 6vw; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto auto; column-gap: 4vw; align-items: center; }
.page-about .era__num { grid-column: 1; grid-row: 1; justify-content: flex-start; align-self: end; font-size: 26vw; mix-blend-mode: normal; }
.page-about .era__cap { grid-column: 1; grid-row: 2; align-self: start; margin: 0; padding-left: 1.2vw; color: var(--quiet); }
.page-about .era__box { position: relative; left: auto; top: auto; transform: none; grid-column: 2; grid-row: 1 / span 2; width: 100%; height: auto; aspect-ratio: 5 / 4; }
@media (max-width: 1100px) {
  .page-about .era { padding: min(2vw, 8px) var(--pad-x) min(14vw, 55px); grid-template-columns: minmax(0, 1fr); row-gap: min(4vw, 16px); }
  .page-about .era__num { grid-column: 1; grid-row: 1; justify-content: center; font-size: min(40vw, 158px); }
  .page-about .era__cap { grid-column: 1; grid-row: 2; padding-left: 0; text-align: center; }
  .page-about .era__box { grid-column: 1; grid-row: 3; aspect-ratio: 16 / 10; }
}

.ab-thrive { max-width: 46vw; margin-bottom: 3vw; }
/* "How we work" (fix wave 2): their thrive sentence, then the one sentence about the team under its own label (the three cells whose headings did not fit their text are gone) */
.ab-team { display: grid; grid-template-columns: 14vw minmax(0, 1fr); gap: 3vw; align-items: start; padding-top: 2vw; border-top: 1px solid var(--hair); }
.ab-team__eye { margin: 0; padding-top: .5vw; }
.ab-team__p { margin: 0; max-width: 46vw; }
@media (max-width: 1100px) {
  .ab-team { grid-template-columns: 1fr; gap: min(3vw, 12px); padding-top: min(5vw, 20px); }
  .ab-team__eye { padding-top: 0; }
  .ab-team__p { max-width: none; }
}

.ab-steps { padding: 0 0 8vw; }
.ab-steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.ab-step { position: relative; display: flex; flex-direction: column; gap: 1vw; min-height: 22vw; padding: 1.667vw; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ab-step__n { color: var(--navy); }
.ab-step .tick { position: absolute; top: 2.4vw; right: 1.667vw; }
.ab-step__name { margin-top: auto; }
.ab-step__p { color: var(--quiet); }

/* the two link cards carry a strip of logos instead of photos: ink at rest, their own colours on hover (decorous.css .partner__logo) */
.jump__media.ab-jump { display: grid; align-items: center; justify-items: center; gap: 1.6vw 1vw; padding: 2vw; background: var(--ivory); }
.ab-jump--v { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-jump--c { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 3.6vw; }
.jump__media .ab-logo img.plogo { --lu: .5vw; width: calc(var(--lw, 8) * var(--lu)); height: auto; max-width: 100%; max-height: none; }
.ab-logo .logo-text { font-size: 1.1vw; }

@media (max-width: 1100px) {
  .ab-thrive { max-width: none; margin-bottom: min(6vw, 24px); }
  .ab-steps { padding-bottom: min(16vw, 63px); }
  .ab-steps__grid { grid-template-columns: 1fr; }
  .ab-step { min-height: 0; gap: min(2.4vw, 9px); padding: min(5vw, 20px); }
  .ab-step .tick { top: min(6.4vw, 25px); right: min(5vw, 20px); }
  .ab-step__name { margin-top: min(2vw, 8px); }
  .jump__media.ab-jump { height: auto; padding: min(5vw, 20px); gap: min(4vw, 16px) min(3vw, 12px); }
  .ab-logo { height: min(11vw, 44px); }
  .jump__media .ab-logo img.plogo { --lu: min(2.2vw, 8.6px); }
  .ab-logo .logo-text { font-size: min(3.6vw, 14px); }
}
