/* Oceanhaus polish layer (2026-11-24)
   Loaded after each page's own styles. Brand, layout and colors are unchanged;
   this only adds glass chrome, press feedback, headline tracking and
   Reduce Motion / Reduce Transparency support. */

/* ── Glass header and phone booking bar ── */
nav.scrolled,
nav.glass-nav,
.book-bar {
  background: rgba(26, 46, 56, 0.72) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
}
nav.glass-nav { border-bottom-color: rgba(255, 255, 255, 0.06); }

/* ── Instant press feedback ── */
.btn-primary, .btn-secondary, .btn-outline, .nav-book,
.lightbox-nav, .lightbox-close {
  -webkit-tap-highlight-color: transparent;
}
.nav-book { display: inline-block; }
.btn-primary, .btn-secondary, .btn-outline, .nav-book {
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1), filter 220ms ease-out, background 0.2s, border-color 0.2s, color 0.2s;
}
/* .is-pressed is added by polish.js on pointer-down (before the browser's own
   :active, which iOS delays) and held briefly so in-page jumps still show it. */
.btn-primary:active, .btn-secondary:active, .btn-outline:active, .nav-book:active,
.btn-primary.is-pressed, .btn-secondary.is-pressed, .btn-outline.is-pressed, .nav-book.is-pressed {
  transform: scale(0.96);
  filter: brightness(0.92);
  transition: transform 70ms ease-out, filter 70ms ease-out;
}
.lightbox-nav:active { transform: translateY(-50%) scale(0.92); }
.lightbox-close:active { transform: scale(0.9); }

/* ── Headline tracking: tighten large serif display type slightly ── */
.hero-title, .guide-hero-title, .page-hero h1 { letter-spacing: -0.012em; }
.section-title, .group-title, .gallery-group-title { letter-spacing: -0.006em; }

/* ── Photo viewer: let the touch script own gestures ── */
.lightbox { touch-action: none; }
.lightbox .lightbox-stage { will-change: transform; }
.lightbox-fly { position: fixed; z-index: 1000; object-fit: cover; pointer-events: none; transform-origin: 0 0; will-change: transform; border-radius: 3px; }

/* ── Reduce Motion: no zooms, slides or reveals; content simply appears ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .hero-bg { transform: none !important; }
  .hero-content { opacity: 1 !important; transform: none !important; }
}

/* ── Reduce Transparency: solid chrome ── */
@media (prefers-reduced-transparency: reduce) {
  nav.scrolled, nav.glass-nav, .book-bar {
    background: rgba(26, 46, 56, 0.98) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Quiet Privacy link in the footer's bottom line (all pages). */
.footer-copy a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); transition: color 0.2s, border-color 0.2s; }
.footer-copy a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.6); }
