/* ============================================================================
   About — the reading column.  (brief §17, visual system 2026-09-18)
   ============================================================================

   Linked by exactly one template now: about.html.  guide.html dropped it when
   it got guide.css, and news_detail.html dropped it in this pass — it was
   linked there for `.about-container` alone, which is a width, and a width is
   not a reason to load another page's stylesheet.

   What this file used to be: forty-odd `!important` declarations un-carding
   `.content-section`, `.feature-card`, `.source-card`, `.creator-card` and
   `.glass-card` against brand.css, app-shell.css, page-unification.css and
   workspaces.css.  Every one of those class names is gone from the template,
   so every rule answering them is gone from here.  The page is `.am-report`
   with `.am-metrics` and one `.am-table` in it; the component layer draws all
   three, and this sheet only says how wide the page is and what the parts
   that are genuinely local to About look like.

   Cascade: linked from {% block extra_css %}, so *before* bundle-shell.css
   (brand + app-shell + canvas-2026 + theme-foundation + page-unification +
   … + am-system + shell-2026).  Anything answering one of those needs
   !important as well as specificity, and says so where it does.

   No rule here names a class canvas-2026.css owns — that is what
   test_canvas_design's collision guard checks — and none restates an
   am-system.css component either.  Where a shared component needs page-local
   spacing it carries a companion class of this page's own on the same
   element (`.am-page-head about-head`, `.am-metrics about-figures`).
   ============================================================================ */

/* --- The column ---------------------------------------------------------- */

/* brand.css forces `.page-about .about-container { max-width: 1220px }`.
   That is the dashboard width, and this page is an argument.  54rem holds the
   70ch reading column the component layer sets with room either side for the
   figures row and the source table to breathe. */
.about-container {
    width: 100%;
    margin-inline: auto;
    padding-block: var(--sh-page-start);
}

body.page-about .about-container {
    max-width: var(--sh-max);
    padding-inline: 0;
}

/* --- Page head ----------------------------------------------------------- */

/* `.hero-title` and `.title-highlight` stay on the h1 only so the light-theme
   rules in theme-foundation.css can find the page's title by name.  What went
   with them: the 3rem size, and `animation: gradientShift 3s infinite`
   running forever on an h1. */
body.page-about .title-highlight {
    display: inline;
    animation: none;
}


/* The second lede sentence — what the platform covers — is scope rather than
   claim, so it is set one step down from the first. */
body.page-about .about-scope {
    margin-block-start: var(--c-space-2);
    font-size: var(--c-t-body);
    color: var(--c-text-muted);
}

/* --- Section marks ------------------------------------------------------- */

/* The icon is a mark beside the heading, not a tile.  It was a 48px rounded
   square with its own border and a two-colour gradient fill, one per section,
   and a `bounce 2s infinite` on top of that. */
body.page-about .about-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: var(--c-space-2);
    color: var(--c-text-faint);
    vertical-align: baseline;
    animation: none;
}

body.page-about .about-mark i,
body.page-about .about-mark svg {
    width: 18px;
    height: 18px;
    color: inherit;
}

/* --- Inside the reading column ------------------------------------------- */

/* The report layer gives `p` a bottom margin and `h3` its own rhythm; these
   are the three page-local exceptions.

   An action line closes a section, so it is spaced away from the paragraph
   above it rather than reading as its last sentence. */
body.page-about .about-action {
    margin-block-start: var(--c-space-4);
    color: var(--c-text-secondary);
}

body.page-about .about-action + .about-action {
    margin-block-start: var(--c-space-2);
}

/* The pair of benchmark totals.  Two tiles, not four: the component's default
   grid is a four-up row, which at this column width would set two 300px tiles
   beside two empty tracks. */
body.page-about .about-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-block: var(--c-space-5) 0;
}

body.page-about .about-figures-note {
    margin-block-start: var(--c-space-3);
    font-size: var(--c-t-meta);
    line-height: 1.55;
    color: var(--c-text-muted);
}

/* The source registry.  Air above it, and the sentence that follows it is a
   closing note on the table rather than a new paragraph. */
body.page-about .about-sources {
    margin-block: var(--c-space-5);
}

body.page-about .about-after-table {
    margin-block-start: var(--c-space-5);
}

/* --- Platform status ----------------------------------------------------- */

/* Two read conditions, as a description list: a label and a value is what
   they are, and `<strong>` inside a paragraph was standing in for that.
   Label column sized to its content so the values line up. */
body.page-about .about-status {
    display: grid;
    gap: var(--c-space-2);
    margin: 0 0 var(--c-space-4);
}

body.page-about .about-status__row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: var(--c-space-1) var(--c-space-3);
    align-items: baseline;
}

body.page-about .about-status dt {
    color: var(--c-text-muted);
    font-size: var(--c-t-meta);
}

body.page-about .about-status dd {
    margin: 0;
    min-width: 0;
    color: var(--c-text);
    font-weight: var(--c-w-medium);
}

@media (max-width: 30rem) {
    body.page-about .about-status__row {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* --- Team ---------------------------------------------------------------- */

/* Who runs this, as a list.  It was a 300px card with a 96px gradient avatar
   that scaled on hover. */
body.page-about .about-people {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--c-space-5);
    margin: 0;
    padding: 0;
}

body.page-about .about-person {
    display: flex;
    align-items: center;
    gap: var(--c-space-3);
    min-width: 0;
}

body.page-about .about-person__avatar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: var(--c-inset);
    color: var(--c-text-secondary);
    font-size: var(--c-t-meta);
    font-weight: var(--c-w-bold);
}

body.page-about .about-person__id {
    display: grid;
    min-width: 0;
}

body.page-about .about-person__name {
    color: var(--c-text);
    font-size: var(--c-t-body);
    font-weight: var(--c-w-bold);
    line-height: 1.3;
}

body.page-about .about-person__role {
    color: var(--c-text-muted);
    font-size: var(--c-t-meta);
}

/* The drawn mark stays 16px; the target is padded out to the 44px floor. */
body.page-about .about-person__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--c-text-muted);
    background: none !important;
    border: 0 !important;
}

body.page-about .about-person__link:hover {
    color: var(--c-text);
    transform: none;
}

body.page-about .about-person__link:focus-visible {
    outline: 2px solid var(--c-evidence);
    outline-offset: -6px;
    border-radius: var(--c-r-chip);
}

body.page-about .about-person__link svg {
    width: 16px;
    height: 16px;
}

/* --- Links --------------------------------------------------------------- */

/* Underlined at rest: a link inside running text has nothing else to
   distinguish it from the words around it, and §7 forbids colour alone. */
body.page-about .contact-link {
    color: var(--c-evidence);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

body.page-about .contact-link:hover {
    text-decoration-thickness: 2px;
}

body.page-about .contact-link:focus-visible {
    outline: 2px solid var(--c-evidence);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- Disclaimer ---------------------------------------------------------- */

/* A required statement, and amber is this system's attention colour.  A note
   with a rail rather than a filled card, so it reads as a caveat and not as
   the page's conclusion. */
body.page-about .about-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: var(--c-space-3);
    max-width: min(100%, 60ch);
    margin-block-start: var(--c-space-6);
    padding-block: var(--c-space-4);
    padding-inline: var(--c-space-4) 0;
    border-inline-start: 3px solid var(--c-attention);
}

body.page-about .about-disclaimer__icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-block-start: 0.1rem;
    color: var(--c-attention);
}

body.page-about .about-disclaimer__text {
    min-width: 0;
}

body.page-about .about-disclaimer__title {
    margin: 0 0 0.25rem;
    color: var(--c-text) !important;
    font-size: var(--c-t-body);
    font-weight: var(--c-w-bold);
}

body.page-about .about-disclaimer__body {
    margin: 0;
    color: var(--c-text-secondary) !important;
    font-size: var(--c-t-meta);
    line-height: 1.55;
}

/* --- Narrow -------------------------------------------------------------- */

@media (max-width: 48rem) {
    body.page-about .about-container {
        padding-inline: 0;
    }

    body.page-about .about-figures {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-about .about-mark,
    body.page-about .title-highlight {
        animation: none !important;
    }
}

/* ============================================================================
   Print
   ============================================================================

   Rendered under `media: print` the dark theme carried straight through, and
   browsers do not print background colours unless the reader ticks
   "Background graphics".  The dark ground was therefore dropped and the light
   ink kept: body prose left the printer at rgb(182,198,218) on white, 1.74:1.
   A sheet that reads as blank.

   Ink is forced dark.  Headings are reached by element rather than by class,
   because this sheet may not write a `.c-*` selector and on paper every
   heading wants the same ink regardless of which layer named it.  The fixed
   chrome goes: `nav.am-quick-dock` printed *over* the body text near the foot
   of the page.
   ============================================================================ */

@media print {
  /* `[class^="page-"]` is carried onto the ink selectors for weight, not for
     matching: theme-foundation.css sets the headings at (0,2,2) !important
     and a `html body.page-about :is(h1, …)` rule is only (0,1,3), because
     `:is()` takes the weight of its most specific argument and every argument
     here is an element.  Repeating the attribute lifts these to (0,2,3). */
  html body.page-about[class^="page-"] {
    background: #fff !important;
  }

  header.dashboard-header,
  footer.dashboard-footer,
  nav.am-quick-dock,
  .pg-modal,
  .pg-launcher,
  .share-toast,
  .cookie-consent,
  .social-banner {
    display: none !important;
  }

  html body.page-about[class^="page-"] :is(h1, h2, h3, h4, h5, h6) {
    color: #000 !important;
  }

  html body.page-about[class^="page-"] :is(p, li, span, strong, em, dt, dd, time, a, td, th) {
    color: var(--c-text) !important;
  }

  body.page-about .about-container {
    max-width: none !important;
  }

  body.page-about .about-mark {
    display: none !important;
  }

  body.page-about :is(.about-person, .about-disclaimer, .about-sources) {
    break-inside: avoid;
  }
}
