/* TSP homepage, hero: the credentials row (th-creds). v3, proof track.
   2026-11-26 12:38, the owner: "shouldn't the badges be bigger? idk if we need the text underneath them". So the marks
   are 60px (44px on phones), and the two partner badges stand alone, their names kept for screen readers only. The
   AWS Hero mark lost the founder's name too at 13:19 ("the brian h hough text isnt needed"); screen readers still get
   "Led by AWS Hero Brian H. Hough". The notes below describe the earlier 36px option A.
   Replaces the hero's one line of text credentials (.th-hero__creds) with each credential's official mark at one shared
   height plus its text, linked exactly as before. Quiet: 13.5px text in --text-2, the marks at 36px, a hairline above
   (as today), on the hero's text column (grid-area: creds).
   The marks are the official files, never recoloured, cropped or redrawn (BRIEF-v2 rule 4):
   - AWS Select Tier: the one-colour white badge (aws-select-tier-badge-light.png), the official variant for dark
     grounds that the live footer already uses. Option B swaps in the full-colour badge (aws-select-tier-badge.png).
   - Claude Partner Network: the "Member" badge, a self-contained cream tile (it carries its own ground).
   - AWS Hero: the white mark (aws-hero.svg), made for dark grounds.
   No mark needs a light ground added, so none gets a tile. A light tile for all is not possible anyway: the Hero mark
   is white and would vanish on it, and recolouring it is not allowed.
   Each mark has alt="" because the text next to it, in the same link, names the credential.
   Options: default (A, recommended) = mark beside a two-line caption; .th-creds--stack (C) = larger marks with the
   caption under them, split by hairlines. B is A's markup with the full-colour AWS badge.
   Needs tokens.css. Scoped under .th-creds (plus .th-hero .th-creds for its grid area and entrance). */

.th-creds {
  --cr-mark: 72px;   /* the one shared height of every mark (tablets; 80px on desktop, 60px on phones: the owner, 2026-11-28 and 2026-11-29) */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px clamp(28px, 3.4vw, 52px);
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.th-creds,
.th-creds *,
.th-creds *::before,
.th-creds *::after { box-sizing: border-box; }
.th-creds .th-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.th-creds__item { margin: 0; padding: 0; }
.th-creds__item[hidden] { display: none; }
/* One credential: the mark, then its text. The link (when there is one) wraps both, so the whole lockup is the target. */
.th-creds__cred { display: flex; align-items: center; gap: 12px; color: var(--text-2); text-decoration: none; border-radius: 4px; }
.th-creds__mark { display: block; flex: none; width: auto; max-width: none; height: var(--cr-mark); }
.th-creds__mark--hero { aspect-ratio: 245.58 / 161.24; }   /* the SVG's viewBox, so the box is exact before it loads */
.th-creds__text { max-width: 9em; font: 400 14px/1.32 var(--f-body); letter-spacing: 0; text-wrap: balance; }
/* External links: a small arrow after the last word (not underlined, silent for screen readers: the text already says
   "opens in a new tab"), the underline only on hover. Generated content, so the web font arriving moves no node. */
.th-creds__text--ext::after { content: "\2197"; content: "\2197" / ""; display: inline-block; margin-left: .32em; font-size: .92em; line-height: 1; color: var(--text-3); transition: color .2s ease, transform .2s var(--ease-out); }
a.th-creds__cred { transition: color .2s ease; }
a.th-creds__cred:hover { color: var(--text); }
a.th-creds__cred:hover .th-creds__text { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
a.th-creds__cred:hover .th-creds__text--ext::after { color: var(--text-2); transform: translate(1px, -1px); }
a.th-creds__cred:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

/* Option C: the marks larger, the captions under them, the three split by hairlines. */
.th-creds--stack { --cr-mark: 44px; display: grid; grid-template-columns: repeat(3, max-content); gap: 0; align-items: start; }
.th-creds--stack .th-creds__item + .th-creds__item { margin-left: clamp(18px, 2vw, 28px); padding-left: clamp(18px, 2vw, 28px); border-left: 1px solid var(--line); }
.th-creds--stack .th-creds__cred { flex-direction: column; align-items: flex-start; gap: 12px; }
.th-creds--stack .th-creds__text { max-width: 10.5em; }

/* In the hero: its grid area, and the same one-time rise as the lines above it (thRise, home.css). */
/* 2026-11-27 05:40, the owner: "the arrow 'and trusted by' feels so long and icky. maybe it's just a and trusted by:".
   So the row is the label, the marks, then "and trusted by:", which leads into the logo marquee straight below it. No
   rules, no drop and no script (creds-arrow.js is no longer loaded). Where the row runs out of room the words wrap
   under the marks, and the marquee's own "And trusted by…" label stays hidden, since the row says it. (Before this:
   22:38 and 22:55 on 2026-11-26, "Recognized by [logos] --- and trusted by --\/", a rule and a 90-degree drop.)
   2026-11-27 06:05, the owner: "maybe we change 'Recognized by' to 'As seen in'": the label reads "As seen in". */
/* 2026-11-29, the owner: the row "down on the page so that we don't need that horizontal line under book a discovery call,
   and also the as seen in line sits a bit above the marquee logo slider ... maybe the images of as seen in are height:
   80px; and then it's like this a bit closer down and no divider line". So no rule above the row (it was border-top
   1px plus 22px), the marks 80px on desktop (were 90), and on desktop the row sits at the foot of the text column, just
   above the logos (marquee.css, the hero's rows). Stacked (960px and under) it already came after the globe, right
   above the logos. */
.th-proofrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 2.4vw, 36px); }
.th-proofrow > .th-creds { border-top: 0; padding-top: 0; }
.th-proofrow__label { flex: none; margin: 0; font: 500 14px/1.4 var(--f-body); letter-spacing: 0; color: var(--text-3); white-space: nowrap; }
.th-proofrow__then { flex: none; margin: 0; font: 500 14px/1.4 var(--f-body); letter-spacing: 0; color: var(--text-3); white-space: nowrap; }
.th-hero .th-marquee__label { display: none; }
/* 2026-11-27 (page review): one set of sizes on desktop (961px and up), so the hero's first screen keeps the height it
   was fitted to: the marks at 50px, the compact gaps. Tablets and phones keep 60px and 44px. (Since then the marks are
   80px on desktop, 72px on tablets and 60px on phones: the owner, 2026-11-28 and 2026-11-29.) */
@media (min-width: 961px) {
  .th-hero .th-creds { --cr-mark: 80px; column-gap: clamp(18px, 2vw, 28px); }
  .th-hero .th-proofrow { column-gap: 16px; }
  .th-hero .th-proofrow__then { margin-left: 12px; }
}
/* Phones (2026-11-29, release check: the hero fits the first screen, marquee.css): the label beside the marks, and
   "and trusted by:" on its own line under them, right above the logos (was a column: label, marks, words). */
@media (max-width: 640px) {
  .th-proofrow { gap: 8px 14px; padding-top: 6px; }
  .th-proofrow__then { flex-basis: 100%; }
}
.th-hero .th-proofrow { grid-area: creds; }
@media (prefers-reduced-motion: no-preference) {
  .th-hero .th-proofrow { animation: thRise .7s var(--ease-out) .3s both; }
}

/* Phones: the three marks in one wrapping row at 44px, the Hero mark still with the name beside it. */
@media (max-width: 640px) {
  .th-creds,
  .th-creds--stack { --cr-mark: 60px; display: flex; flex-flow: row wrap; align-items: center; gap: 14px 22px; padding-top: 18px; }
  .th-creds--stack .th-creds__cred { flex-direction: row; align-items: center; }
  .th-creds--stack .th-creds__item + .th-creds__item { margin-left: 0; padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .th-creds *, .th-creds *::before, .th-creds *::after { transition: none !important; }
  a.th-creds__cred:hover .th-creds__text--ext::after { transform: none; }
}
