/* S13: NOC-style status strip at the top of the footer. Geist Mono, uppercase labels, hairline rules, --dark-2. */
.foot { padding-top: 0; }

.foot > .status {
  --ok: #5fd08a;                 /* the one live status dot; the golden-hour palette has no green */
  max-width: none;               /* full bleed: the strip runs edge to edge, its list sits in the content column */
  margin: 0 calc(var(--gutter) * -1) 48px;
  padding: 0 var(--gutter);
  background: var(--dark-2);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.2;
}
.foot > .status[hidden] { display: none; }
.status__list {
  display: flex;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.status__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 22px;
  border-left: 1px solid var(--line-dark);
  white-space: nowrap;
}
.status__item[hidden] { display: none; }
.status__item:first-child { padding-left: 0; border-left: 0; }
.status__k {
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-dark);
}
.status__v { font-weight: 500; letter-spacing: .02em; color: var(--on-dark); }
code.status__v { font: inherit; font-weight: 500; letter-spacing: .02em; color: var(--accent); }

.status__item--ok { align-items: center; gap: 12px; }
.status__item--ok .status__k { color: var(--on-dark); }
.status__dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.status__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .status__dot::after { animation: status-pulse 2.8s ease-out infinite; }
}
@keyframes status-pulse {
  0% { opacity: .55; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(3); }
}

/* Phone and small tablet: the status on its own row, then the facts two to a row, labels over values */
@media (max-width: 880px) {
  .status__list { flex-wrap: wrap; }
  .status__item {
    flex: 1 1 45%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px 14px 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
    white-space: normal;
  }
  .status__item--ok { flex: 1 0 100%; flex-direction: row; align-items: center; gap: 12px; border-top: 0; }
}
