.site-header nav a { white-space: nowrap; }
.collection-choices {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.collection-choices a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 16px;
  min-height: 44px;
  border: 1px solid var(--muted);
  color: var(--paper);
  line-height: 1.4;
  font-size: 16px;
}
.collection-choices a:first-child {
  color: var(--bg);
  background: var(--paper);
  border-color: var(--paper);
}
.collection-choices { --forward-angle: 45deg; }
[dir="rtl"] .collection-choices { --forward-angle: -135deg; }
/* Use the same upper-right corner in both directions, then rotate it once. */
.collection-choices a::after {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(var(--forward-angle));
}
.collection-choices a[aria-current]::after { transform: rotate(135deg); }
.collection-choices a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) {
  .site-header { display: grid; grid-template-columns: auto 1fr auto; gap: 0 8px; min-height: 68px; padding-block: 6px; }
  .site-header .wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header .site-settings { grid-column: 3; grid-row: 1; }
  .site-header nav { grid-column: 1/-1; grid-row: 2; justify-self: stretch; justify-content: space-between; margin: 0; padding: 0; gap: 8px; }
  .site-header nav a { font-size: 14px; min-height: 40px; line-height: 1.4; }
  .portfolio-home .site-header nav { grid-area: 1 / 2; justify-self: center; gap: 20px; }
  .portfolio-home .brand-intro { display: block; }
  .portfolio-home .brand-intro h1 span { display: inline; }
  .collection-choices { margin-block-start: 14px; }
  .collection-choices a { font-size: 14px; gap: 13px; padding-inline: 12px; }
}
