/* Shared visual rhythm: spacing and background changes do the separating. */
/* Both partners share content-sized name, descriptor and country rows. */
.partners-section {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  align-items: start;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  column-gap: clamp(16px, 3vw, 40px);
  row-gap: 8px;
  min-inline-size: 0;
}
.partner-grid .partner-wordmark {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  align-items: start;
  justify-items: start;
  min-inline-size: 0;
  padding-inline-start: 0;
  border-inline-start: 0;
}
.partner-grid .partner-wordmark > strong {
  max-inline-size: 100%;
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}
.partner-grid .partner-descriptor {
  max-inline-size: 100%;
  font-size: var(--type-caption-size);
  font-weight: 700;
  line-height: var(--type-caption-leading);
  letter-spacing: .05em;
  overflow-wrap: anywhere;
}
.partner-grid .partner-wordmark > p { margin: 6px 0 0; }
@media screen {
  .hero .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
  }
  .hero .hero-actions > .button {
    flex: 1 1 14rem;
    min-inline-size: 0;
    max-inline-size: 100%;
    padding: 16px 20px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .hero .hero-actions > .button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
  .hero .hero-actions > .button-outline:hover { background: var(--soft); border-color: var(--accent); }
  .hero .hero-footnote {
    display: block;
    margin-top: 12px;
    color: var(--muted);
  }
  .network-inner > div > * { min-inline-size: 0; overflow-wrap: anywhere; }
  .hero-photo-caption span { overflow-wrap: anywhere; }
  .heading-row { flex-wrap: wrap; }
  .heading-row > * { min-inline-size: 0; }
  .resource-bottom { white-space: normal; }
  .network-strip,
  .order-relationship,
  .relationship-flow,
  .capability ul,
  .capability li,
  .process-section,
  .process-steps > li,
  .partners-section,
  .site-footer,
  .footer-top,
  .site-header nav > a:not(.button) {
    border-block: 0;
  }
  .development-priorities > div:first-child,
  .product-briefs dl > div:first-child { border-top: 0; }
  .quality-checkpoints dl > div:last-child { border-bottom: 0; }

  /* One compact component, reused across all three services. */
  .capability ul { display: grid; row-gap: 8px; }
  .capability li {
    display: grid;
    grid-template-columns: 1rem minmax(0, 1fr);
    align-items: baseline;
    column-gap: 8px;
    padding-block: 0;
  }
  .capability li::before { line-height: inherit; }
}
@media screen and (max-width: 800px) {
  .partners-section { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners-section > div:first-child { grid-column: 1 / -1; }
  .partner-grid { grid-column: 1 / -1; }
}
@media screen and (max-width: 580px) {
  .header-inner { gap: 12px; }
  .footer-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-bottom: 0; }
  .footer-top > p { max-width: none; }
  .footer-top .back-top { position: static; justify-self: start; margin: 0; }
  .section { padding-block: 48px; }
  .capability-grid { row-gap: 32px; }
  .capability > p { margin-bottom: 0; }
  .capability ul { margin-top: 20px; }

  /* Share one interval between consecutive sections on the same surface. */
  .development-section { padding-bottom: 0; }
  .partners-section { padding-top: 0; padding-bottom: 48px; }

  /* The first full-bleed factory photograph meets the preceding coloured band. */
  .manufacturing-section { padding-top: 0; }
}
@media screen and (min-width: 801px) {
  .header-inner {
    height: auto;
    min-height: 94px;
    flex-wrap: wrap;
    padding-block: 16px;
    row-gap: 12px;
  }
  .site-header nav { max-inline-size: 100%; flex-wrap: wrap; row-gap: 8px; }
}
