.home-author-copy {
  min-width: 0;
}

.home-author-copy h2 {
  max-width: 900px;
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  overflow-wrap: normal;
  word-break: normal;
}

.home-author {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
}

.home-author-photo {
  aspect-ratio: 4 / 5;
}

.home-author-photo img {
  object-position: 50% 12%;
}

/* The Classic header must fully reset the centered fixed geometry of Cinematic. */
.steady-home.ui-classic .home-nav {
  position: sticky;
  top: 0;
  left: auto;
  width: 100%;
  transform: none;
  border-radius: 0;
}

.steady-home.ui-classic .home-nav-inner {
  width: min(1220px, calc(100% - 32px));
  margin-inline: auto;
}

/* Keep gradient explorer actions readable against the cinematic shell. */
.steady-home .reliability-explorer-action,
.steady-home .reliability-explorer-action:hover,
.steady-home .reliability-explorer-action:focus-visible {
  color: #08080d;
}

.steady-home .reliability-explorer-action:hover,
.steady-home .reliability-explorer-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(112, 91, 255, .28);
}

/* Classic mode needs true light surfaces rather than inherited dark panels. */
.ui-classic .reliability-risk-column {
  border-color: #d7e0ea;
  background: #f7fafc;
}

.ui-classic .reliability-risk-column strong {
  color: #334155;
}

.ui-classic .reliability-orbit-core strong {
  color: #172033;
}

.ui-classic .reliability-orbit-core span {
  color: #526075;
}

.ui-classic .stack-tool-cloud {
  border-color: #d7e0ea;
  background:
    radial-gradient(circle at center, rgba(49, 92, 165, .08), transparent 72%),
    #f7fafc;
}

@media (max-width: 900px) {
  .home-author {
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
    gap: 28px;
  }

  .home-author-copy h2 {
    font-size: clamp(2rem, 6vw, 3.25rem);
  }
}

@media (max-width: 700px) {
  .home-author {
    grid-template-columns: 1fr;
  }

  .home-author-photo {
    width: min(220px, 72vw);
  }

  .steady-home.ui-classic .home-nav-inner {
    width: min(100% - 20px, 1220px);
    gap: 10px;
    padding-inline: 0;
  }

  .steady-home.ui-classic .home-nav-actions {
    gap: 7px;
  }

  .steady-home.ui-classic .home-nav-actions > .ui-mode-switcher.is-compact {
    display: inline-flex !important;
  }
}