/* Homepage only. Uses the existing Qianhe palette and original public assets. */
.qh-home-hero-revised {
  padding: var(--space-2xl) 0;
}
.qh-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--space-xl);
  align-items: center;
}
.qh-home-copy { min-width: 0; }
.qh-home-hero-revised h1 {
  font-size: 34px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0;
}
.qh-home-hero-revised h1 span {
  font-size: 44px;
  line-height: 1.45;
  font-weight: 650;
}
.qh-home-hero-revised .qh-home-lead {
  font-size: 21px;
  line-height: 1.7;
  margin: var(--space-md) 0 var(--space-sm);
  text-wrap: pretty;
}
.qh-home-hero-revised .qh-home-description {
  max-width: 30em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-on-dark-muted);
  margin: 0;
  text-wrap: balance;
}
.qh-home-hero-revised .qh-actions {
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.qh-home-hero-revised .btn {
  min-height: 48px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  box-shadow: none;
  white-space: nowrap;
}
.qh-home-hero-revised .btn-secondary { border-color: #a5bcd1; }
.qh-home-hero-revised .btn-secondary:hover {
  background: var(--bg-dark-3);
  color: var(--text-on-dark);
}
.qh-home-product-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  margin-top: var(--space-sm);
  color: #c1e8fc;
  font-size: 16px;
}
.qh-home-product-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.qh-home-hero-revised a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.qh-home-scene { margin: 0; min-width: 0; }
.qh-home-scene-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.qh-home-scene img { display: block; width: 100%; height: auto; }
.qh-home-scene figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-sm);
  padding-top: var(--space-xs);
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.6;
}
.qh-home-scene figcaption a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 44px;
  color: #c1e8fc;
}
.qh-home-scene figcaption a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1100px) and (min-width: 960px) {
  .qh-home-layout { gap: var(--space-lg); }
  .qh-home-hero-revised h1 span { font-size: 38px; }
  .qh-home-hero-revised .qh-home-lead { font-size: 19px; }
}
@media (max-width: 959px) {
  .qh-home-hero-revised { padding: var(--space-xl) 0; }
  .qh-home-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .qh-home-hero-revised .qh-home-description { max-width: 40em; }
  .qh-home-scene { max-width: 720px; width: 100%; }
}
@media (max-width: 599px) {
  .qh-home-hero-revised { padding: var(--space-lg) 0; }
  .qh-home-layout { padding-inline: 20px; }
  .qh-home-hero-revised h1 { font-size: 27px; }
  .qh-home-hero-revised h1 span { font-size: clamp(28px, 8.2vw, 36px); }
  .qh-home-hero-revised .qh-home-lead { font-size: 18px; margin-top: 20px; }
  .qh-home-hero-revised .qh-home-description { font-size: 15px; }
  .qh-home-hero-revised .qh-actions { margin-top: var(--space-md); gap: 12px; }
  .qh-home-hero-revised .btn { flex: 1 1 140px; padding: 12px 14px; font-size: 16px; text-align: center; }
  .qh-home-scene figcaption { font-size: 13px; }
}
