/* For AI Agents (lib/site/pages/for-agents.ts), build six part two R3b: the page's own rules after the shared
   for.css (class prefix fa-). The two crew who joined below the fold (Proof in the honest band, Stale at the foot of
   the legible table), the honest band on ink, and the record sheet on cream. Grounds come from site.css
   [data-ground]; strokes and fills are CSS only (no SVG). Loads on /for/agents only. */

/* A crew member standing: the whole cut-out on a soft ground shadow, then "Name, Title" from the roster under it,
   with the roster catch phrase in a bubble above when the band gives it one. */
.fa-cut { display: grid; justify-items: center; align-content: end; gap: 8px; margin: 0; text-align: center; }
.fa-cut__pic { position: relative; display: block; width: 100%; }
.fa-cut__pic::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 3%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 22, 39, .28), rgba(17, 22, 39, 0)); z-index: 0;
}
.fa-cut__pic img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; object-position: 50% 100%; }
.fa-cut__cap { display: block; max-width: 22ch; font-family: var(--ui); font-size: .85rem; font-weight: 500; line-height: 1.3; color: var(--muted); }
.fa-cut__cap b { font-weight: 700; color: var(--fg); }
[data-site] .fa-cut .fa-cut__says { justify-self: center; max-width: 16ch; margin: 0 0 4px; padding: 12px 16px; font-size: clamp(1.2rem, 1.5vw, 1.45rem); }
[data-site] .fa-cut .fa-cut__says::after { left: calc(50% - 8px); }

/* 3. the honest part, now the page's one ink band (the proof band, as on the audience pages): the words across the
   top, then the dated receipt, Proof asking for it, and what checking catches. */
.fa-honest .fa-src { box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 24px 48px -30px rgba(0, 0, 0, .8); }
.fa-honest__pull { color: var(--fg); }
.fa-honest__then p:not(.fa-honest__pull) { color: var(--muted); }
.fa-honest__crew .fa-cut__pic { width: clamp(150px, 15vw, 200px); }
.fa-honest__crew .fa-cut__pic::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
@media (min-width: 861px) {
  .fa-honest__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .fa-honest__crew { grid-column: 2; grid-row: 2 / span 2; align-self: end; justify-self: center; }
  .fa-honest__then { grid-column: 1; }
}
@media (min-width: 1100px) {
  .fa-honest__grid { grid-template-columns: minmax(0, 1.15fr) minmax(200px, 250px) minmax(0, 1fr); align-items: end; }
  .fa-honest__card { grid-column: 1; grid-row: 2; }
  .fa-honest__crew { grid-column: 2; grid-row: 2; align-self: end; }
  .fa-honest__then { grid-column: 3; grid-row: 2; align-self: center; }
}
@media (max-width: 860px) {
  .fa-honest__crew .fa-cut__pic { width: min(150px, 42vw); }
}

/* 4. readable to an agent, on cream: the table reads as a record sheet (white rows on the cream), and Stale, who
   keeps the dates, stands at its foot beside the last row, the facts that are still true. */
.fa-legible .kit-build__table th[scope="row"], .fa-legible .kit-build__table td { background: #fffdf8; }
.fa-legible .kit-build__table td { font-size: 1.05rem; }
.fa-legible__sheet { display: grid; gap: clamp(16px, 2vw, 24px); }
.fa-legible__table { min-width: 0; }
.fa-legible__crew .fa-cut__pic { width: 100%; }
@media (min-width: 861px) {
  .fa-legible__sheet { grid-template-columns: minmax(0, 1fr) clamp(150px, 15vw, 200px); align-items: end; }
  .fa-legible__crew { margin-bottom: clamp(36px, 4vw, 52px); }
}
@media (max-width: 860px) {
  .fa-legible__crew { grid-template-columns: 96px minmax(0, 1fr); justify-items: start; align-items: center; gap: 12px; text-align: left; }
  .fa-legible__crew .fa-cut__pic { width: 96px; }
}

/* Build six part two FIX-2 (Sarah S9JdwDBfn0DX: the bands near the foot were still plain). */
/* 6. the tools band: the clients in a row on a navy board, wired down into the protocol card underneath them; Post
   stands at the foot of the words. The chips are decoration; the sentence on the left is the text. */
.fa-tools__words { display: flex; flex-direction: column; align-items: flex-start; }
.fa-tools__crew { margin-top: clamp(8px, 1.6vw, 20px); justify-items: start; text-align: left; }
.fa-tools__crew .fa-cut__pic { width: clamp(130px, 12vw, 168px); }
/* Build nine (Sarah ZizlZxyIFi5x): Post's caption holds one line ("Post, Head of Delivery & Distribution") wherever the
   column has the room; a narrower column still wraps it. */
.fa-tools__crew .fa-cut__cap { max-width: none; }
.fa-tools__board { --fg: var(--on-dark); --muted: var(--on-dark-2); position: relative; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); background: var(--navy); color: var(--on-dark); box-shadow: var(--shadow); }
.fa-tools__board .label { color: var(--on-dark-2); }
.fa-tools__board .fa-src { --fg: var(--ink); --muted: var(--ink-2, var(--ink)); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 24px 48px -30px rgba(0, 0, 0, .8); }
.fa-tools__clients { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0 0 18px; list-style: none; }
.fa-tools__clients li { position: relative; padding: 8px 14px; border: 1px solid rgba(238, 242, 249, .26); border-radius: 999px; background: rgba(238, 242, 249, .07); font-family: var(--ui); font-size: .9rem; font-weight: 700; line-height: 1.2; white-space: nowrap; color: var(--on-dark); }
.fa-tools__drop { display: block; position: relative; width: 1px; height: 26px; margin: 0 auto 14px; background: rgba(238, 242, 249, .4); }
.fa-tools__drop::after { content: ""; position: absolute; left: -4px; bottom: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
@media (min-width: 1280px) {
  /* one row of chips (they need about 465px, which the board has from 1240): a tick under each joins a rail, and the
     rail drops into the card. Narrower boards keep the wrapped, centred chips. */
  .fa-tools__clients { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .fa-tools__clients li { padding: 8px 12px; }
  .fa-tools__clients li::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 18px; background: rgba(238, 242, 249, .4); }
  .fa-tools__clients::after { content: ""; position: absolute; left: 7.8%; right: 7.8%; bottom: 0; height: 1px; background: rgba(238, 242, 249, .4); }
  .fa-tools__drop { height: 22px; }
}
@media (min-width: 861px) {
  .fa-tools__board { align-self: center; }
}
@media (max-width: 860px) {
  .fa-tools__crew { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; }
  .fa-tools__crew .fa-cut__pic { width: 96px; }
}

/* 8. other ways in: four door cards, each with the portrait of the crew member on that page; the whole card is the
   link's target. */
.fa-more .fa-more__links { gap: clamp(12px, 1.6vw, 20px); }
.fa-more .fa-more__door { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); box-shadow: 0 10px 30px rgba(17, 22, 39, .06); }
.fa-more__av { flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.fa-more__av img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.35); transform-origin: 50% 30%; }
.fa-more .fa-more__door > .tcta { font-family: var(--head); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 700; line-height: 1.25; color: var(--fg); text-decoration: none; }
.fa-more .fa-more__door > .tcta::before { content: ""; position: absolute; inset: 0; z-index: 2; }
.fa-more .fa-more__door:hover > .tcta { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.fa-more .fa-more__door:focus-within { outline: 2px solid var(--amber); outline-offset: 3px; }
.fa-more .fa-more__door > .tcta:focus-visible { outline: none; }
/* four across only once every link fits on one line (from 1280); narrower, two by two, so no arrow stands alone */
@media (min-width: 561px) and (max-width: 1279px) {
  .fa-more .fa-more__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .fa-more .fa-more__links { grid-template-columns: minmax(0, 1fr); }
}
