/* About sections: who we are, the six principles, who does what, platforms and tools, after launch.
   Ported from docs/mockups/about.html. Every About band's inner wrapper carries `about-sec`, which is what
   loads this file (Xcelsior_Page_Assets). The Selected work strip uses sections/work-cards.css. */
.about-sec .icon { flex: none; text-transform: none; }
.about-sec h2.h1 { max-width: 56rem; }
.about-sec .heading-after { margin: 1rem 0 2rem; }

/* Who we are: a figure and its note beside three short paragraphs. */
.who-grid { display: flex; flex-wrap: wrap; gap: 3rem 5rem; align-items: flex-start; }
.who-grid > * { min-width: 0; }
.who-stat { flex: 0 1 20rem; }
.who-copy { flex: 1 1 28rem; max-width: 42rem; }
.about-sec .stat { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 4.5rem; line-height: 1; color: var(--gold-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.who-stat .who-note { margin: 1rem 0 0; }
.who-copy p { margin: 0 0 1.25rem; }
.who-copy p.text-flush { margin: 0; }
@media (max-width: 48rem) { .about-sec .stat { font-size: 3.5rem; } }

/* Six principles: an even grid, 1 column on a phone, 2 from 40rem, 3 from 64rem. */
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
@media (min-width: 40rem) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Who does what: a heading and two labelled cells per row. On a phone the row stacks and each cell keeps its
   "You" or "We" label, so nothing is hidden or scrolled. From 48rem the row is three columns. */
.you-we { border-top: 1px solid var(--hairline); }
.yw-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; padding: 1.5rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.yw-row h3 { margin: 0; }
.you-we p { margin: 0; text-wrap: pretty; }
.you-we .who { margin: 0 0 0.25rem; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
@media (min-width: 48rem) { .yw-row { grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; } }

/* Platforms and tools: eight cards, 1 column on a phone and 2 from 48rem. Each pill is one line; only on the
   narrowest phones (under 22rem) may a long pill wrap, so it cannot push the page sideways. */
.plat-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 48rem) { .plat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plat-card { display: flex; flex-direction: column; background: linear-gradient(0deg, var(--gold-wash), transparent 60%), var(--surface-200); }
.plat-head { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.25rem; }
.plat-head h3 { margin: 0; }
.plat-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.plat-list li { margin: 0; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.06em; padding: 0.375rem 0.75rem; border: 1px solid var(--control-border); border-radius: var(--radius-xs); white-space: nowrap; }
@media (max-width: 22rem) { .plat-list li { white-space: normal; } }

/* After launch. */
.after-prose p { max-width: 42rem; margin: 0 0 1.25rem; color: var(--ink-muted); text-wrap: pretty; }
.after-prose p.after-lead { color: var(--ink); }

/* Selected work: the same "All work" link spacing Home's section CSS gives it. */
.about-sec .work-all .work-more { margin-top: 1rem; }

/* Block editor canvas only (the front end has no .wp-block class): the editor centres any block that has a max-width
   by giving it auto side margins, so the headings and the after-launch text keep their left edge. */
.about-sec h2.h1.wp-block, .about-sec .wp-block { margin-left: 0; margin-right: 0; }
.after-prose p.wp-block { max-width: 42rem; }
