/* A restrained material layer for navigation and floating controls. */
:root { --glass-ease: cubic-bezier(.22, 1, .36, 1); }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

.site-settings-trigger {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 1px rgba(255,255,255,.16);
  transition: background 220ms ease, border-color 220ms ease, transform 340ms var(--glass-ease);
}
.site-settings-trigger:hover,
.site-settings-trigger[aria-expanded="true"] {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.17);
  transform: translateY(-1px);
}
.site-settings-trigger:active { transform: scale(.92); }

.site-settings-menu {
  border-color: rgba(255,255,255,.72);
  background: #f7f7fa;
  box-shadow: inset 0 1px rgba(255,255,255,.92), 0 18px 44px rgba(19,19,27,.18);
}
.site-settings-menu:not([hidden]) { animation: glass-menu-in 310ms var(--glass-ease) both; }
@keyframes glass-menu-in {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.scroll-cue,
.back-to-top,
.theme-switcher button,
.focus-controls button {
  border-color: rgba(185,185,195,.62);
  background: linear-gradient(145deg, #fff, #f4f4f7);
  color: #242426;
  box-shadow: inset 0 1px rgba(255,255,255,.98), inset 0 -1px rgba(190,190,200,.16), 0 8px 22px rgba(28,28,40,.12);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 300ms ease, transform 380ms var(--glass-ease);
}
.scroll-cue:hover { border-color: rgba(242,106,33,.55); color: #d95f1e; box-shadow: inset 0 1px #fff, 0 12px 26px rgba(28,28,40,.15); transform: translate(-50%, 2px) scale(1.05); }
.scroll-cue:active { transform: translate(-50%, 4px) scale(.94); }
.back-to-top:hover { border-color: rgba(242,106,33,.55); color: #d95f1e; box-shadow: inset 0 1px #fff, 0 12px 26px rgba(28,28,40,.18); transform: translateY(-3px) scale(1.05); }
.back-to-top:active { transform: translateY(0) scale(.93); }
.theme-switcher button:hover,
.focus-controls button:hover { border-color: rgba(242,106,33,.55); background: #fff; color: #d95f1e; box-shadow: inset 0 1px #fff, 0 10px 22px rgba(28,28,40,.14); transform: translateY(-2px) scale(1.04); }
.theme-switcher button:active,
.focus-controls button:active { transform: scale(.93); }

.theme-switcher,
.focus-controls,
.view-options {
  border: 1px solid rgba(215,215,222,.72);
  background: #f5f5f7;
  box-shadow: inset 0 1px rgba(255,255,255,.9), 0 5px 18px rgba(30,30,45,.06);
}
.theme-switcher { padding: 5px 6px 5px 13px; border-radius: 999px; }
.focus-controls { width: max-content; margin-inline: auto; padding: 6px 9px; border-radius: 999px; }
.view-options { position: relative; isolation: isolate; --view-control-radius: 24px; --view-control-inset: 4px; border-radius: var(--view-control-radius); }
.view-options::before {
  content: "";
  position: absolute;
  box-sizing: border-box;
  z-index: 0;
  top: var(--view-control-inset);
  bottom: var(--view-control-inset);
  left: 0;
  width: var(--view-pill-width, 0px);
  border: 1px solid rgba(255,255,255,.96);
  border-radius: calc(var(--view-control-radius) - var(--view-control-inset) - 1px);
  background: #fff;
  box-shadow: inset 0 1px #fff, 0 2px 8px rgba(20,20,30,.12);
  opacity: 0;
  transform: translateX(var(--view-pill-left, 0px));
  transition: transform 420ms var(--glass-ease), width 420ms var(--glass-ease);
  pointer-events: none;
}
.view-options.is-measured::before { opacity: 1; }
.view-options.no-pill-motion::before { transition: none; }
.view-option { position: relative; z-index: 1; }
.view-option[aria-pressed="true"] { background: transparent; box-shadow: none; }
.view-option:active { transform: scale(.94); }

.gallery-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; width: min(100%, 340px); min-width: 0; }
.gallery-tools > .theme-switcher { margin: 0; border-radius: 24px; }
.gallery-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title switcher" ". tools"; align-items: center; gap: 28px 20px; margin-top: 30px; }
.gallery-heading h1 { grid-area: title; min-width: 0; margin: 0; }
.gallery-heading > .theme-switcher { grid-area: switcher; justify-self: end; margin: 0; padding: 5px 6px; border-radius: 24px; }
.gallery-heading > .gallery-tools { grid-area: tools; justify-self: end; }
.gallery-tools .view-picker { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%; margin: 0; padding: 0; }
.gallery-tools .view-label { display: block; margin: 0; }
.gallery-tools .view-options { display: flex; align-items: stretch; width: 100%; min-height: 48px; padding: var(--view-control-inset); gap: 2px; }
.gallery-tools .view-option { flex: 1 1 0; min-width: 0; min-height: 38px; padding: 0 10px; line-height: 1.2; display: flex; align-items: center; justify-content: center; border-radius: 19px; }
.gallery-tools .view-option:hover { transform: none; }
.gallery-tools .view-option:active { transform: none; opacity: .8; }
.gallery-tools .spotlight-toggle { margin: 0; min-height: 44px; border-radius: 22px; }
@media (max-width: 600px) {
  .gallery-tools { width: 100%; }
  .gallery-tools .view-option { padding-inline: 6px; }
  .gallery-heading { column-gap: 12px; }
  .gallery-heading h1 { font-size: clamp(26px, calc((100vw - 182px) / var(--theme-title-factor, 3.22)), 66px); }
  .gallery-heading > .theme-switcher { gap: 7px; padding: 5px; }
  .gallery-heading > .theme-switcher button { width: 32px; height: 32px; }
  .gallery-heading > .theme-switcher .theme-count { min-width: 40px; font-size: 11px; }
}
@media (max-width: 900px) {
  .gallery-heading { grid-template-areas: "title switcher" "tools tools"; }
  .gallery-heading > .gallery-tools { justify-self: start; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .gallery-tools { width: 100%; }
  .gallery-tools .view-picker { width: 340px; }
  .gallery-heading h1 { font-size: min(clamp(66px, 9vw, 118px), calc((100vw - 228px) / var(--theme-title-factor, 3.22))); }
}

.hero-button:active,
.category-link:active,
.bento-themes a:active,
.home-about-links a:active { transform: scale(.97); }

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-settings-trigger { -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%); }
  .site-settings-menu {
    background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(244,244,248,.76));
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
  }
  .scroll-cue,
  .back-to-top,
  .theme-switcher button,
  .focus-controls button {
    background: linear-gradient(145deg, rgba(255,255,255,.83), rgba(246,246,250,.64));
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }
  .theme-switcher,
  .focus-controls,
  .view-options {
    background: rgba(238,238,242,.67);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
  }
  .view-options::before { background: rgba(255,255,255,.84); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-settings-trigger { background: #39393d; }
  .site-settings-menu,
  .scroll-cue,
  .back-to-top,
  .theme-switcher button,
  .focus-controls button,
  .view-options::before { background: #fff; }
  .theme-switcher,
  .focus-controls,
  .view-options { background: #f0f0f2; }
  .site-settings-trigger,
  .site-settings-menu,
  .scroll-cue,
  .back-to-top,
  .theme-switcher,
  .theme-switcher button,
  .focus-controls,
  .focus-controls button,
  .view-options { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-settings-menu:not([hidden]) { animation: none; }
  .view-options::before,
  .site-settings-trigger,
  .scroll-cue,
  .back-to-top,
  .theme-switcher button,
  .focus-controls button { transition-duration: .01ms !important; }
}

/* Keep the header controls compact and let the navigation take its own row early. */
.site-settings-trigger,
.site-settings-trigger:hover,
.site-settings-trigger[aria-expanded="true"] {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.scroll-cue { left: auto; right: clamp(20px, 3vw, 32px); transform: none; }
.scroll-cue:hover { transform: translateY(2px) scale(1.05); }
.scroll-cue:active { transform: translateY(4px) scale(.94); }

@media (max-width: 480px) {
  :root { --header-h: 86px; }
  .site-header { height: var(--header-h); }
  .nav-inner {
    width: calc(100% - 36px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
  .header-nav {
    width: 100%;
    justify-content: center;
    gap: clamp(9px, 2.5vw, 16px);
    white-space: nowrap;
  }
  .header-nav a { font-size: 12px; }
  .bento-board { min-height: calc(100svh - var(--header-h)); }
}

@media (max-width: 360px) {
  .header-nav { gap: 5px; }
  .header-nav a { font-size: 11px; }
}

/* Shared controls and card details across the supporting pages. */
:root { --ui-blue: #0071e3; --ui-card-radius: 24px; --ui-border: #dedee3; }
.hero-button, .package-select, .submit-button, .outline-button, .social-contact a {
  min-height: 46px; border-radius: 999px; font-size: 15px; font-weight: 550;
  transition: background 220ms ease, border-color 220ms ease, transform 340ms var(--glass-ease);
}
.package-select:active, .submit-button:active, .outline-button:active, .social-contact a:active { transform: scale(.97); }
.package-select:focus-visible, .submit-button:focus-visible, .outline-button:focus-visible,
.social-contact a:focus-visible, .home-about-links a:focus-visible, .stage-back:focus-visible {
  outline: 2px solid var(--ui-blue); outline-offset: 4px;
}
.home-about-links a, .outline-button, .social-handle, .bento-themes a {
  border-color: var(--ui-border);
  background: #fff;
  box-shadow: inset 0 1px #ffffffcc, 0 3px 12px #1e1e2d06;
  transition: border-color 220ms ease, transform 340ms var(--glass-ease), background 220ms ease;
}
.home-about-links a:hover, .outline-button:hover, .bento-themes a:hover { border-color: #e9a77c; }
.package-card, .booking-form, .confirmation-card, .custom-callout, .social-card { border-radius: var(--ui-card-radius); }
.social-card { border: 1px solid var(--ui-border); }
.social-card:hover { background: #fff; transform: translateY(-4px); border-color: #d3d3d9; }
.social-card-arrow {
  display: grid; place-items: center; width: 36px; height: 36px; font-size: 19px;
  border: 1px solid var(--ui-border); border-radius: 50%; background: #f5f5f7; color: #6e6e73;
}
.stage-back { transition: color 220ms ease, transform 340ms var(--glass-ease); }
.stage-back:hover { transform: translateX(-4px); }
@media (prefers-reduced-motion: reduce) {
  .hero-button, .package-select, .submit-button, .outline-button, .social-contact a,
  .home-about-links a, .bento-themes a, .social-card, .stage-back { transition: none; }
}
