/* The Little Roo Co. — the "Memories" button in the navigation.
 *
 * Links to /album/ (Little Roo, the private family memory album that lives
 * at the same address). It is deliberately NOT styled like the other
 * navigation links: a sage pill with the italic serif the headings use for
 * their accent word, and a small apricot dot that breathes slowly.
 *
 * Kept in its own file so it can be removed, or restyled, without touching
 * style.css. Colours are the brand's own: cream #f6f1e7, ink #4f4739, and
 * sage deepened one step (#5f6850) so cream text on it stays readable.
 */
.brand-header nav a.brand-nav-memories,
.brand-mobile-menu > nav a.brand-nav-memories {
  min-height: 36px;
  padding: 0 17px 1px 13px;
  gap: 9px;
  border-radius: 999px;
  background: #5f6850;
  color: #f6f1e7;
  font: italic 400 1.02rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(79, 71, 57, .75);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.brand-header nav.brand-desktop-nav a.brand-nav-memories {
  margin-left: 6px;
}

.brand-nav-memories::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f2cba6;
  box-shadow: 0 0 0 0 rgba(242, 203, 166, .7);
  animation: memories-breathe 2.8s ease-out infinite;
}

@keyframes memories-breathe {
  0%        { box-shadow: 0 0 0 0 rgba(242, 203, 166, .7); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(242, 203, 166, 0); }
}

.brand-header nav a.brand-nav-memories:hover,
.brand-mobile-menu > nav a.brand-nav-memories:hover {
  background: #4f4739;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(79, 71, 57, .85);
}

.brand-header nav a.brand-nav-memories:focus-visible,
.brand-mobile-menu > nav a.brand-nav-memories:focus-visible {
  outline: 2px solid #4f4739;
  outline-offset: 3px;
}

/* In the phone menu the links sit in a two-column grid; the button takes a
   row of its own, first, so it is the first thing seen when the menu opens. */
.brand-mobile-menu > nav a.brand-nav-memories {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 40px;
  margin: 2px 0 8px;
}

@media (prefers-reduced-motion: reduce) {
  .brand-nav-memories::before { animation: none; }
  .brand-header nav a.brand-nav-memories,
  .brand-mobile-menu > nav a.brand-nav-memories { transition: none; }
}

/* The site's own "Pause motion" switch. */
.motion-paused .brand-nav-memories::before { animation: none; }
