/* Blog header in line with the homepage header. Loaded last in the head of the
   blog index and every article, after the page's own styles. Same palette and
   type. Header only: article content is untouched. */
:root { --mtg-ease: cubic-bezier(.16, 1, .3, 1); }
nav {
  background: rgba(28, 28, 30, .82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(201, 169, 98, .14);
  box-shadow: 0 12px 32px -24px rgba(0, 0, 0, .55);
}
/* The same soft gold glow the homepage logo wears. */
nav .logo-img { filter: drop-shadow(0 0 5px rgba(201, 169, 98, .32)) drop-shadow(0 0 22px rgba(201, 169, 98, .26)); }
nav .nav-links a { color: rgba(255, 255, 255, .8); font-size: .875rem; font-weight: 500; }
/* The header button matches the homepage's gold button. */
nav .nav-links a.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: .375rem;
  background: linear-gradient(135deg, #c9a962, #d4b978);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 4px 20px -4px #c9a96266;
  transition: transform .35s var(--mtg-ease), box-shadow .35s var(--mtg-ease);
  -webkit-tap-highlight-color: rgba(201, 169, 98, .18);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
@media (hover: hover) and (pointer: fine) {
  nav .nav-links a.btn-gold:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 12px 32px -8px #c9a96280; }
}
/* A phone fakes hover on tap and leaves it stuck, so touch screens keep the resting look. */
@media (hover: none), (pointer: coarse) {
  nav .nav-links a.btn-gold:hover { transform: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), 0 4px 20px -4px #c9a96266; }
}
nav .nav-links a.btn-gold:active { transform: scale(.98); transition-duration: .1s; }
/* On phones the page's own styles hide the whole menu, which left the header
   with no way to book. The button stays; the text links still tuck away. */
@media (max-width: 768px) {
  nav .nav-links { display: flex; }
  nav .nav-links li:not(:last-child) { display: none; }
  nav .nav-links a.btn-gold { padding: 0 14px; font-size: 14px; }
}
/* The narrowest phones: a slightly smaller logo and button so the two never touch. */
@media (max-width: 360px) {
  nav { gap: 10px; }
  nav .logo-img { height: 32px; }
  nav .nav-links a.btn-gold { padding: 0 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  nav .nav-links a.btn-gold, nav .nav-links a.btn-gold:hover, nav .nav-links a.btn-gold:active { transform: none; }
}
