/* A compact navigation rail explains the path without covering the live scene.
   Step state uses text, a numbered marker and an underline as well as color. */
.project-guide {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px var(--gutter);
  background: #f4f6ef;
  display: flex;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.project-guide ol {
  display: flex;
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
.project-guide button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 9px;
  border-bottom: 2px solid transparent;
  font-size: 11px;
  min-height: 38px;
}
.project-guide button > span {
  font-size: 9px;
  color: #53634f;
  font-variant-numeric: tabular-nums;
}
.project-guide button[aria-current='step'] {
  border-color: var(--moss);
  font-weight: 600;
}
.project-guide p {
  font-size: 10px;
  color: #52644f;
  max-width: 430px;
}
@media (max-width: 900px) {
  .project-guide p {
    display: none;
  }
}
@media (max-width: 700px) {
  .project-guide {
    order: 1;
    width: 100%;
    margin: 0;
    padding: 7px 20px;
  }
  .project-guide ol {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .project-guide button {
    font-size: 10px;
    min-height: 44px;
    gap: 5px;
  }
}
@media (max-height: 680px) and (max-width: 700px) {
  .hero-copy { padding-top: 12px; padding-bottom: 8px; }
  .hero-copy h1 { font-size: 30px; margin: 8px 0; }
  .hero-copy .eyebrow, .hero-copy > p:last-child { display: none; }
  .canvas-wrap { min-height: 190px; height: 190px; }
}
@media (prefers-reduced-motion: no-preference) {
  .project-guide button {
    transition: border-color .2s, color .2s;
  }
  dialog[open] {
    animation: dialog-enter .22s ease-out;
  }
  dialog[open]::backdrop {
    animation: backdrop-enter .22s ease-out;
  }
}
@keyframes dialog-enter {
  from { opacity: .5; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}
