/**
 * @file        sponsors.css
 * @description Footer sponsor strip (Story 5.4, C-17)
 *
 * @author      Thomas Dobler - SYNTHETIXMIND LTD
 * @email       tom@synthetixmind.com
 * @company     SYNTHETIXMIND LTD, Paphos, Cyprus
 * @url         https://synthetixmind.com
 *
 * @uid         5c907e21-4a83-4d68-bf35-16e0d9a74c82
 * @version     0.0.0.1
 * @created     2026-09-11
 * @updated     2026-09-11
 *
 * @copyright   (c) 2026 by SYNTHETIXMIND LTD
 * @license     Proprietary — All rights reserved
 */

.sponsors {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  /* The strip sits inside the inverse footer band, so the divider is drawn in
     the on-dark text colour at low alpha rather than --border-subtle, which is
     tuned for light surfaces and would barely register here. */
  border-top: 1px solid rgb(238 240 242 / 20%);
}

.sponsors__heading {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  /* Stated quietly: the sponsors are the content, the label is a signpost. */
  opacity: 0.75;
  margin: 0 0 var(--space-4);
}

.sponsors__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  /* Wraps rather than scrolls. A sponsor hidden behind a horizontal gesture is
     a placement that was paid for and not delivered. */
  align-items: center;
  gap: var(--space-6);
}

.sponsors__link {
  display: inline-flex;
  align-items: center;
  /* NFR: every interactive target meets the minimum touch size, and the footer
     is where links are most often mis-tapped on a phone. */
  min-height: var(--touch-min);
  color: var(--text-on-dark);
  text-decoration: none;
}

.sponsors__link:focus-visible {
  outline: var(--focus-ring-inverse);
  outline-offset: var(--space-1);
}

.sponsors__logo {
  display: block;
  width: auto;
  height: 2rem;
  max-width: 10rem;
  object-fit: contain;
}

/* Sponsor logos are supplied as full-colour artwork on assorted backgrounds.
   Nothing is done to recolour or knock them back — a sponsor's mark is their
   property, and a CSS filter applied to it is a modification nobody agreed to. */

.sponsors__name {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sponsors__link:hover .sponsors__name {
  text-decoration-thickness: 2px;
}
