.folio-brand .brand, .footer-brand .brand {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
}
.folio-brand .brand svg, .footer-brand .brand svg {
  align-self: center;
  width: 1.18rem;
  height: 1.3rem;
  color: var(--accent);
  flex: none;
}
.brand-wordmark {
  font: 600 clamp(1.4rem, 2vw, 1.95rem)/1 var(--sans);
  letter-spacing: -.065em;
  color: var(--ink);
}
.brand-wordmark em { color: var(--accent); font-style: normal; }
.folio-controls .sp-theme {
  gap: .25rem;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .42rem;
  background: var(--plate);
}
.folio-controls .sp-theme:not([hidden]) { display: inline-flex; }
.folio-controls .sp-theme > span {
  display: grid;
  place-items: center;
  width: 1.72rem;
  height: 1.72rem;
  border-radius: 50%;
  color: var(--mute);
}
.folio-controls .sp-theme svg { width: 1rem; height: 1rem; color: inherit; }
.folio-controls .sp-theme[aria-pressed="false"] .sp-theme__sun,
.folio-controls .sp-theme[aria-pressed="true"] .sp-theme__moon {
  color: var(--paper);
  background: var(--ink);
}
.folio-controls .sp-theme:hover { border-color: var(--accent); }
.folio-palette { display: grid; gap: .35rem; margin-top: .6rem; max-width: 12rem; }
.folio-palette label { color: var(--mute); font: 600 .72rem/1.4 var(--sans); }
.palette-sample { display:flex; align-items:center; gap:.25rem; }
.palette-sample span { display:block; width:1.35rem; height:.36rem; border-radius:99px; background:var(--accent); }
.palette-sample span:nth-child(2) { background:var(--secondary); }
.palette-sample span:nth-child(3) { background:var(--middle); }
.folio-palette select {
  font: 600 .86rem/1.4 var(--sans);
  color: var(--ink);
  background: var(--plate);
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding: .5rem .65rem;
}
.folio-header a:focus-visible, .folio-header button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media(max-width:560px) {
  .folio-brand .brand { gap: .25rem; }
  .folio-brand .brand > span { padding-left: .35rem; font-size: .6rem; }
  .folio-controls .sp-theme { min-width: 3.85rem; padding: .25rem; }
}
@media(max-width:400px) {
  .folio-brand .brand > span { display: none; }
  .folio-brand .brand-wordmark { font-size: 1.23rem; }
  .folio-brand .brand svg { width: .95rem; height: 1.05rem; }
  .folio-controls { gap: .3rem; }
}
