/* One consistent Didot wordmark; only its initial uses the existing shader. */
.header .brand {
  min-height: 44px;
  margin-right: auto;
  flex: none;
  gap: 0;
  justify-content: flex-start;
  text-decoration: none;
}
.header .brand-wordmark {
  display: inline-block;
  font-family: 'Portfolio Display', Didot, 'Bodoni MT', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -.035em;
  white-space: nowrap;
  color: inherit;
}
.header .brand:focus-visible { outline-offset: 6px; }
@media (max-width: 700px) {
  .header .brand-wordmark { font-size: 28px; }
}
@media (forced-colors: active) {
  .header .brand-wordmark { color: CanvasText; }
}

.header .brand-initial {
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  vertical-align: baseline;
  overflow: visible;
}
@media (prefers-reduced-motion: reduce) {
  .header .brand-initial { animation: none; }
}
@media (forced-colors: active) {
  .header .brand-initial { background: none; color: CanvasText; }
}

/* Keep the signature initial vivid while the rest recedes in either theme. */
.header .brand-rest { opacity: .5; }
@media (forced-colors: active) {
  .header .brand-rest { opacity: 1; }
}
