/* Shared public footer: restrained identity, useful links, quiet attribution. */
.site-footer {
  position: relative;
  background: #f0f1eb;
  color: var(--ink);
  border-block-start: 1px solid #d9dcd3;
  padding-block: 44px 36px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px 64px;
}
.footer-brand {
  display: inline-block;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 650;
}
.footer-description {
  margin-block: 10px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.footer-credit {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 22px 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.footer-author { color: var(--ink); font-weight: 450; }
.footer-inner nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-inner nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.site-footer a:hover { color: var(--accent); text-decoration-color: currentColor; }
.site-footer a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
@media (max-width: 760px) {
  .site-footer { padding-block: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-brand { font-size: 23px; }
  .footer-credit { margin-block-start: 16px; }
  .footer-inner nav { width: 100%; }
  .footer-inner nav ul { gap: 2px 24px; }
}
@media (forced-colors: active) {
  .site-footer { background: Canvas; border-color: CanvasText; }
  .site-footer a { color: LinkText; }
}

/* Align description and author credit across the footer. */
html .footer-inner { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 16px 32px; align-items: center; }
html .footer-intro { display: contents; }
html .footer-brand { grid-area: 1 / 1; justify-self: start; }
html .footer-inner nav { grid-area: 1 / 2; justify-self: end; }
html .footer-description { grid-area: 2 / 1; align-self: baseline; margin: 0px; line-height: 1.6; }
html .footer-credit { grid-area: 2 / 2; place-self: baseline end; margin: 0px; line-height: 1.6; white-space: nowrap; }
@media (max-width: 760px) {
html .footer-inner { gap: 16px; }
html .footer-brand { grid-column: 1 / -1; }
html .footer-inner nav { grid-area: 2 / 1 / auto / -1; justify-self: start; }
html .footer-description, html .footer-credit { grid-row: 3; }
}
