/* Space screen — stacked-screen frame + the space hierarchy header
   (the shared .stack-screen lives here; person reuses this header) */

.stack-screen {
  display: grid;
  gap: var(--space-6);
}

.space-screen {
  gap: var(--space-5);
}

.space-screen .hierarchy-header {
  margin-bottom: 0;
}

.hierarchy-header {
  display: grid;
  gap: var(--space-2);
}

.hierarchy-header h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
}

.space-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
}

.hierarchy-header .space-title {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 0.94;
}

.owner-line {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: var(--line-ui);
}

/* Align the byline with the hero title text (past the star), and give it
   more breathing room before the Topics section. */
.hierarchy-header .owner-line {
  margin-left: calc(32px + var(--space-3));
}

.hierarchy-header.page-title-row {
  margin-bottom: var(--space-6);
}
