/* JDF Marina site fixes (2026-11-03 revision round) */
:root{--mxa-accent:#061d2c;--mxa-accent-ink:#fff;--mxa-panel:#fbfaf6;--mxa-ink:#061d2c;--mxa-muted:#3f4f5a;--mxa-line:#d6d0c3;--mxa-soft:#f3f0e9;--mxa-fab-left:auto;--mxa-fab-right:18px}
@media (max-width:760px){:root{--mxa-fab-right:12px;--mxa-fab-bottom:calc(75px + env(safe-area-inset-bottom))}}
.mxa-head{border-bottom-color:#d2aa61}
.mxa-fab{border-color:#d2aa61}
/* Old accessibility button/panel replaced by the new menu */
.access-wrap{display:none!important}
/* "Select a business to see more": readable on the dark carousel (WCAG AA) */
.business-gallery__footer p{color:#e3ebef!important}
.business-gallery__footer p span{color:#fff!important}
.business-gallery--directory .business-gallery__footer p{color:#253b49!important}
.business-gallery--directory .business-gallery__footer p span{color:#061d2c!important}
/* On-the-water video plays like a moving image */
.journal-video video,.water-feature video{pointer-events:none}
.journal-video video::-webkit-media-controls{display:none!important}
/* Storage: location sits in the left column beside the photo, no dead space */
.storage-location{border-top:1px solid var(--field-border,#d6d0c3);padding-top:var(--space-4,1.5rem)}
.storage-location .directions{margin-top:var(--space-3,1rem)}
.storage-photo-aside{border-top:0;padding-top:0}
.storage-photo-aside .storage-photo{margin-bottom:0}
@media (min-width:761px){.storage-photo-aside{position:sticky;top:7rem}}

/* WCAG 2.2 AA contrast (Nov 30 2026): keep the approved navy/gold, make text readable. */
/* Home header was transparent over the hero, so nav and the phone failed (about 1.14:1). Use the same opaque navy already used once the header is scrolled. */
.r1-head{background:#061d2c!important}
/* Footer "Get directions" links inherited light-on-dark color while sitting on a white panel (about 1.53:1). */
.footer-location .directions>div,.footer-location .directions>div a,.r1-footer .directions>div a{color:#061d2c!important}.footer-location .directions>summary,.r1-footer .directions>summary{color:#c6d3da!important}
.form-error{color:#ffd3d3;background:#4a1515;border:1px solid #c15a5a;padding:.75rem 1rem;margin:0 0 1rem;font:400 var(--type-body-size,1rem)/1.5 var(--font-utility,sans-serif)}
.inquiry.dark .form-error,.inquiry .form-error{color:#ffd3d3}
.inquiry [aria-invalid=true]{outline:2px solid #e8b4b4;outline-offset:2px}
.hp-field{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.inquiry{position:relative}

/* Footer bottom bar: centered wrapping row (Dec 2 2026). Overrides the built 3-column grid so copyright, fuel line, Privacy, and the credit stay on one centered line and wrap as units. */
.footer-base{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:baseline;
  column-gap:1rem;
  row-gap:.5rem;
  text-align:center;
}
.footer-base p,
.footer-base p:nth-child(2),
.footer-base a,
.footer-base .footer-credit{
  text-align:center;
  margin-right:0;
  margin-left:0;
}
.footer-base a{color:inherit;text-decoration:underline;text-underline-offset:.15em}
.footer-base .footer-credit{
  max-width:none;
  text-align:center;
  white-space:nowrap;
}
@media (max-width:900px){
  .footer-base{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:baseline;
    column-gap:1rem;
    row-gap:.5rem;
    text-align:center;
  }
  .footer-base p,
  .footer-base p:nth-child(2),
  .footer-base a,
  .footer-base .footer-credit,
  .footer-credit{
    text-align:center;
  }
}

/* Phone-speed: poster stays visible on the video element; playback fades in after idle attach. */
.journal-video video.is-ready,.water-feature video.is-ready{transition:opacity .55s ease}
@media (prefers-reduced-motion: reduce){
  .journal-video video,.water-feature video{display:none!important}
}
