h1,
h2,
h3 {
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  font-size: 5.4rem;
}

h2 {
  font-size: 3.45rem;
}

.mobile-nav[hidden] {
  display: none;
}

.media-slot {
  padding: 0;
}

.media-slot::before,
.media-slot::after {
  display: none;
}

.media-slot img,
.media-slot video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.media-slot video {
  background: #050505;
}

.visual-placeholder span,
.metrics span,
.timeline,
.value-grid span,
.traits article > span,
.page-intro > p:last-child,
.logo-grid div,
.sectors span,
.text-link,
.button,
.footer-label {
  font-size: 0.7rem;
}

.contact-grid label,
.contact-grid label span {
  font-size: 0.7rem;
}

.header nav[aria-label="Primary navigation"] {
  white-space: nowrap;
}

.contact-grid form .success {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.impact-hero h1 {
  font-size: clamp(3.4rem, 4.8vw, 5rem);
  overflow-wrap: normal;
}

.form-note {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.logo-wall .eyebrow {
  margin-bottom: 0;
}

.logo-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.logo-viewport {
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--panel2), #080706);
  box-shadow: inset 0 1px #ef6b1a1a;
}

.logo-track {
  display: flex;
  gap: 12px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.logo-slide {
  flex: 0 0 calc((100% - 36px) / 4);
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid #352219;
  border-radius: 8px;
  background: #f7f2ea;
}

.logo-slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  filter: saturate(0.94) contrast(1.03);
}

.logo-nav {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  border: 1px solid var(--edge);
  border-radius: 8px;
  background: linear-gradient(150deg, #17120f, #080706);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.logo-nav:hover,
.logo-nav:focus-visible {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-1px);
  outline: none;
}

.logo-progress {
  width: min(360px, 58vw);
  height: 2px;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 99px;
  background: #352219;
}

.logo-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--gold));
  transition: width 0.35s ease;
}

@media (max-width: 900px) {
  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .logo-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  .logo-track {
    gap: 10px;
  }

  .logo-viewport {
    padding: 12px;
  }

  .logo-slide {
    flex-basis: calc((100% - 20px) / 3);
    height: 100px;
    padding: 14px;
  }

  .logo-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .logo-carousel {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 8px;
  }

  .logo-track {
    gap: 8px;
  }

  .logo-viewport {
    padding: 10px;
  }

  .logo-slide {
    flex-basis: calc((100% - 8px) / 2);
    height: 86px;
    padding: 11px;
  }

  .logo-slide img {
    max-height: 58px;
  }

  .logo-nav {
    width: 34px;
    height: 34px;
  }
}
