/* Riverside floating Menu button (Dec 2026). Pairs with header-float.js.
   At the top of a page the normal header is untouched. Once the page moves, a copy of the Menu button, fixed to
   the screen on exactly the same spot, takes over, and the header scrolls away under it. There is no bar behind
   it, and the logo stays in the header. Nothing moves into place: only a soft ring and shadow fade in and out.
   Rules this file keeps:
   - Nothing here changes the page layout: every floating piece is position: fixed and outside the page flow.
   - No transform is ever put on the page or the header, and nothing here is animated along with scrolling.
   - If header-float.js never runs, none of these classes exist and the site looks exactly as before. */

.rvf, .rvf * { box-sizing: border-box; }
.rvf { --rvf-ease: cubic-bezier(.32,.72,.24,1); font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* while floating, the header's own button steps aside (it keeps its space, so nothing moves) */
html.rvf-on #dc-root header button[data-r="burger"] { visibility: hidden !important; }

/* ---- the floating Menu button ---- */
.rvf-btn { position: fixed; left: var(--x, 0px); top: var(--y, 0px); z-index: 9990; margin: 0; visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; justify-content: center; height: var(--bh, 44px); width: var(--bw, 78px);
  padding: 0 var(--bp, 18px); border: 0; border-radius: 999px; background: #17384F; color: #FBF8F4; cursor: pointer;
  font: 600 var(--bf, 14px)/1 "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: normal; white-space: nowrap;
  box-shadow: 0 0 0 1.5px rgba(251,248,244,0), 0 10px 24px -12px rgba(23,56,79,0);
  transition: box-shadow .4s ease, background .25s; }
html.rvf-on .rvf-btn { visibility: visible; }
/* a light ring and soft shadow so it also reads over photos and navy sections; they fade, nothing moves */
html.rvf-ring .rvf-btn { box-shadow: 0 0 0 1.5px rgba(251,248,244,.7), 0 10px 24px -12px rgba(23,56,79,.6); }
/* wide desktop: the bar has no Menu button, so this one fades in once the bar has gone */
.rvf-btn[data-fade] { opacity: 0; transition: box-shadow .4s ease, background .25s, opacity .28s ease, visibility 0s linear .28s; }
html.rvf-on .rvf-btn[data-fade] { opacity: 1; transition: box-shadow .4s ease, background .25s, opacity .28s ease, visibility 0s; }
.rvf-btn span { display: block; transition: opacity .16s ease; }
.rvf-btn[data-swap] span { opacity: 0; }
.rvf-btn:active { opacity: .86; }
@media (hover: hover) and (pointer: fine) { .rvf-btn:hover { background: #2A5C87; } }
.rvf-btn:focus-visible { outline: 2px solid #7CC0E8; outline-offset: 3px; }

/* ---- the menu opened from the floating state: one card under the button ---- */
.rvf-scrim { position: fixed; inset: 0; z-index: 9988; background: rgba(23,56,79,.30); opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility 0s linear .28s; touch-action: none; -webkit-tap-highlight-color: transparent; }
.rvf-card { position: fixed; z-index: 9989; top: var(--ct, 66px); right: var(--cr, 12px); width: min(404px, calc(100vw - 2 * var(--cr, 12px)));
  max-height: calc(100vh - var(--ct, 66px) - 14px); max-height: calc(100dvh - var(--ct, 66px) - 14px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: #FBF8F4; border: 1px solid #E4DCCE; border-radius: 24px; padding: 8px 22px 22px;
  box-shadow: 0 30px 70px -24px rgba(23,56,79,.55), 0 8px 20px -10px rgba(23,56,79,.22);
  transform-origin: calc(100% - 38px) 0; transform: translate3d(0,-8px,0) scale(.965); opacity: 0; visibility: hidden;
  transition: transform .3s var(--rvf-ease), opacity .2s ease, visibility 0s linear .3s; }
html.rvf-open .rvf-scrim { opacity: 1; visibility: visible; transition: opacity .28s ease, visibility 0s; }
html.rvf-open .rvf-card { transform: none; opacity: 1; visibility: visible; transition: transform .34s var(--rvf-ease), opacity .22s ease, visibility 0s; }
/* an open menu sits above everything, the chat buttons included */
html.rvf-open .rvf-scrim { z-index: 10010; }
html.rvf-open .rvf-card { z-index: 10011; }
html.rvf-open .rvf-btn { z-index: 10012; }

.rvf-card a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
.rvf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 9px 0;
  font-family: Newsreader, Georgia, serif; font-size: 24px; line-height: 1.2; color: #17384F; border-bottom: 1px solid #E4DCCE; transition: color .2s; }
.rvf-row svg { flex: 0 0 auto; opacity: .7; }
.rvf-row[aria-current="page"] { color: #2A5C87; font-style: italic; }
.rvf-row:active { color: #2A5C87; }
@media (hover: hover) and (pointer: fine) { .rvf-row:hover { color: #2A5C87; } }
.rvf-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.rvf-pills[data-one] { grid-template-columns: minmax(0, 1fr); }
.rvf-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; white-space: nowrap; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; color: #17384F; padding: 15px 14px; transition: background .25s, transform .2s var(--rvf-ease); }
.rvf-pill:active { transform: scale(.97); }
.rvf-pill-book { grid-column: 1 / -1; background: #17384F; color: #FBF8F4; font-size: 17.5px; padding: 18px 22px; box-shadow: 0 6px 18px rgba(23,56,79,.22); }
.rvf-pill-login { background: #7CC0E8; }
.rvf-pill-pay { background: #FBF8F4; border: 1px solid #C9BFAF; padding: 14px 12px; }
@media (hover: hover) and (pointer: fine) {
  .rvf-pill-book:hover { background: #2A5C87; } .rvf-pill-login:hover { background: #5FAEDD; } .rvf-pill-pay:hover { background: #FFFFFF; } }
.rvf-card a:focus-visible { outline: 2px solid #2A5C87; outline-offset: 2px; border-radius: 10px; }
.rvf-pill:focus-visible { border-radius: 999px !important; }
@media (max-width: 359px) { .rvf-row { font-size: 22px; min-height: 50px; } .rvf-card { padding: 6px 18px 18px; } .rvf-pill { font-size: 14.5px; } .rvf-pill-book { font-size: 16.5px; } }
/* short screens (a phone on its side): tighter rows so the whole menu still fits or scrolls inside the card */
@media (max-height: 520px) { .rvf-row { min-height: 44px; font-size: 21px; padding: 5px 0; } .rvf-pills { margin-top: 12px; } .rvf-pill-book { padding: 14px 20px; } }

/* visitors who ask their device for less motion: same result, no movement */
@media (prefers-reduced-motion: reduce) {
  .rvf-btn, html.rvf-on .rvf-btn[data-fade],
  .rvf-card, html.rvf-open .rvf-card, .rvf-scrim, html.rvf-open .rvf-scrim, .rvf-btn span { transition: none !important; }
  .rvf-card { transform: none; }
}
@media print { .rvf-btn, .rvf-card, .rvf-scrim { display: none !important; } }
