.home-page .logos-section {
  padding: clamp(20px, 3vw, 48px) clamp(20px, 4vw, 64px) clamp(58px, 8vw, 130px);
}

.home-page .logos-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 2vw, 42px);
  width: min(100%, 1640px);
  max-width: none;
  margin: 0 auto;
}

.home-page .logo-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-width: 0;
  min-height: 132px;
  margin: 0;
  padding: 16px 8px;
  color: inherit;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.home-page .logo-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
}

.home-page .pixel-text-simple {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(12px, 1.25vw, 18px);
  white-space: nowrap !important;
  text-overflow: clip;
}

.home-page .logo-custom { max-width: min(100%, 190px); }
.home-page .logo-item:nth-child(1) .logo-custom { width: min(145px, 78%); }
.home-page .logo-custom.medium-larger { width: min(180px, 92%); }
.home-page .logo-custom.larger { max-width: min(280px, 115%); }

.home-page .logo-item:is(:hover, :focus-visible, [aria-selected='true']) .pixel-text-simple { opacity: 0; }
.home-page .logo-item:is(:hover, :focus-visible, [aria-selected='true']) .logo-custom { opacity: 1; }
.home-page .logo-item:focus-visible { outline: 1px solid #fff; outline-offset: 6px; }
.home-page .atelier-wordmark { display: none; }

.home-page .entity-details {
  width: min(100%, 880px);
  min-height: 170px;
  margin: clamp(32px, 5vw, 82px) auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.home-page .entity-detail { text-align: center; }
.home-page .entity-detail h2 {
  margin: 0 0 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.home-page .entity-detail p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,.8);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
}
.home-page .entity-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px !important;
}
.home-page .entity-links a {
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.home-page .entity-links a:hover,
.home-page .entity-links a:focus-visible { text-decoration: underline; }

@media (min-width: 1200px) {
  .home-page .hero-logo-3d { width: min(100%, 720px); }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .home-page .hero { height: auto !important; min-height: 240px; padding-top: 58px !important; padding-bottom: 34px !important; }
  .home-page .logos-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 22px; width: min(100%, 780px); }
  .home-page .logo-item { grid-column: span 2; min-height: 118px; }
  .home-page .logo-item:nth-child(4) { grid-column: 2 / span 2; }
  .home-page .logo-item:nth-child(5) { grid-column: 4 / span 2; }
  .home-page .entity-details { margin-top: 36px; }
}

@media (max-width: 767px) {
  .home-page .hero { height: auto !important; min-height: 0 !important; padding-top: 34px !important; padding-bottom: 22px !important; }
  .home-page .hero-logo-3d { width: min(100%, 390px) !important; }
  .home-page .logos-section { padding: 8px var(--mobile-gutter) 54px !important; }
  .home-page .logos-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; width: min(100%, 540px); }
  .home-page .logo-item {
    min-height: 80px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
  .home-page .logo-item:first-child { border-top: 1px solid rgba(255,255,255,.14); }
  .home-page .logo-visual { min-height: 44px; }
  .home-page .pixel-text-simple { font-size: clamp(13px, 4.2vw, 17px); }
  .home-page .entity-details {
    grid-column: 1 / -1;
    min-height: 0;
    margin: 0 0 12px;
    padding: 20px 0 24px;
  }
  .home-page .entity-detail { text-align: left; }
  .home-page .entity-detail p { font-size: 12px; line-height: 1.65; }
  .home-page .entity-links { justify-content: flex-start; }
}

@media (hover: none), (pointer: coarse) {
  .home-page .pixel-text-simple { opacity: 0; }
  .home-page .logo-custom { opacity: 1; }
  .home-page .logo-item:nth-child(1) .logo-custom { width: min(150px, 72%); }
  .home-page .logo-custom.medium-larger { width: min(190px, 86%); }
  .home-page .logo-custom.larger { max-width: min(250px, 96%); }
  .home-page #atelier14-item .logo-visual { gap: 12px; }
  .home-page #atelier14-item .logo-custom { position: static; width: 34px; height: 34px; transform: none; }
  .home-page .atelier-wordmark {
    display: inline;
    font-family: 'Pixeled', 'IBM Plex Mono', monospace;
    font-size: clamp(12px, 3.8vw, 16px);
    letter-spacing: .08em;
  }
}
