/* =============================================================================
   Partners — the sponsor band. These logos are the real supplied assets;
   everything else on the site is placeholder.

   The band sits on the dark purple ground and every logo sits on its own bone
   tile. That is a contrast decision, not a styling one: four of the five
   supplied marks are dark artwork on transparent, and on the old ink ground
   they measured 1.15:1 (Turong), 1.35:1 (ToKalukal), 2.85:1 (AVE) and 3.42:1
   (SysTek). Two of them were effectively invisible. On bone all five clear
   4.5:1, and purple could not have helped — #301934 is barely lighter than
   #0E0E0E. Putting the tiles on bone and the band on purple also gives the
   band its own frame instead of merging into the bone section above it.

   The tile carries .ntc-on-light because it IS a bone surface inside a dark
   section: without it the wordmark fallback and anything else inside would
   take dark-ground type colours onto bone. .ntc-partners__cta is in the foot,
   on purple, so it keeps the full gold.
   ========================================================================== */

.ntc-sec--partners .ntc-sec__inner {
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding-block: 100px;
}

/* The 16px gap IS the divider now. Once every tile has its own bone ground a
   hairline between them draws a boundary the colour already draws. */
.ntc-partners {
  display: flex;
  align-items: stretch;
  gap: var(--spacing-md);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
}

/* Equal lanes, one shared vertical centre line, at every breakpoint. */
.ntc-partners__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--color-bone);
  border: 0;
}

.ntc-partners__link { display: block; line-height: 0; color: inherit; }

/* 176x128, up from 160x56. Deliberately not wider: four of the five marks are
   roughly square and one is wide, so a wide box lets the wide marks run away
   and leaves the square ones small. At this ratio the square marks render
   ~128 tall and SysTek renders ~176x62 — comparable ink area, which is what
   optical balance in a sponsor row actually means. */
.ntc-partners__logo {
  width: 176px;
  height: 128px;
  object-fit: contain;
  object-position: center;
}

/* On bone, and --color-text-muted #797E87 is 3.60:1 there. */
.ntc-partners__wordmark {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-on-light);
}

.ntc-partners__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 16px;
  color: var(--color-text-muted);
}

.ntc-partners__cta { color: var(--color-accent); text-decoration: none; }

@media (max-width: 1024px) {
  .ntc-sec--partners .ntc-sec__inner { padding-block: var(--spacing-3xl); }
  .ntc-partners { flex-wrap: wrap; }
  /* flex-grow stays 0 on the wrapping breakpoints: with 5 tiles the last row
     is short, and letting it grow gives that row two 484px tiles beside three
     317px ones. The lanes are the point of a sponsor row. */
  .ntc-partners__item {
    flex: 0 0 calc(33.333% - 11px);
    padding: 32px var(--spacing-lg);
  }
  .ntc-partners__logo { width: 152px; height: 104px; }
}

@media (max-width: 640px) {
  .ntc-partners__item {
    flex: 0 0 calc(50% - 8px);
    padding: var(--spacing-lg) var(--spacing-md);
  }
  .ntc-partners__logo { width: 100%; max-width: 132px; height: 88px; }
  .ntc-partners__foot { flex-direction: column; align-items: flex-start; gap: var(--spacing-sm); }
}
