/* Sondos Camp — expressive coastal buttons + reversible scroll motion. */
:root {
  --scv2-button-duration: 420ms;
  --scv2-motion-duration: 620ms;
  --scv2-wave-ease: cubic-bezier(.22,1,.36,1);
  --scv2-highlight: var(--sc-color-warm-sand);
  --scv2-deep: var(--sc-color-ocean);
  --scv2-surface: var(--sc-color-ivory);
}

/* Source-level button effects, not a shadow-only hover. */
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link,.scub-guest-flow button[type="submit"],.booking-search-button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  transform-origin: center;
  transition:
    transform var(--scv2-button-duration) var(--scv2-wave-ease),
    color 290ms ease, background-color 290ms ease, border-color 290ms ease,
    filter 380ms ease, box-shadow 350ms ease;
  letter-spacing: 0;
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link,.scub-guest-flow button[type="submit"],.booking-search-button)::before {
  content: '';
  position: absolute;
  z-index: 0;
  opacity: .56;
  mix-blend-mode: screen;
  pointer-events: none;
  inset: -15%;
  border-radius: inherit;
  background: linear-gradient(113deg,
    transparent 23%, color-mix(in srgb, var(--scv2-highlight) 34%, transparent) 46%,
    color-mix(in srgb, var(--scv2-surface) 38%, transparent) 56%, transparent 74%);
  transform: translate3d(-140%,0,0) skewX(-15deg);
  transition: transform 680ms cubic-bezier(.19,1,.22,1);
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link,.scub-guest-flow button[type="submit"],.booking-search-button):where(:hover,:focus-visible)::before {
  transform: translate3d(140%,0,0) skewX(-15deg);
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link,.scub-guest-flow button[type="submit"],.booking-search-button):where(:hover,:focus-visible) {
  transform: translate3d(0,-5px,0) scale(1.025);
  filter: saturate(1.13) brightness(1.035);
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link,.scub-guest-flow button[type="submit"],.booking-search-button):active {
  transform: translate3d(0,-1px,0) scale(.965);
  transition-duration: 120ms;
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link,.scub-guest-flow button[type="submit"],.booking-search-button):focus-visible {
  outline: 3px solid var(--scv2-highlight);
  outline-offset: 4px;
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link) :is(svg,.scv2-action-arrow,span[aria-hidden="true"]) {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  transition: transform 420ms var(--scv2-wave-ease);
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link):where(:hover,:focus-visible) :is(svg,.scv2-action-arrow,span[aria-hidden="true"]) {
  transform: translate3d(5px,-3px,0) rotate(-12deg);
}
/* Three distinct interactive variants, selected from the admin dashboard. */
body[data-scv2-button-effect="tilt"] :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link):where(:hover,:focus-visible) {
  transform: translate3d(0,-5px,0) rotate(-1.5deg) scale(1.035);
}
body[data-scv2-button-effect="pulse"] :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link):where(:hover,:focus-visible) {
  transform: translate3d(0,-2px,0) scale(1.065);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--scv2-highlight) 22%, transparent);
}
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link):disabled,
body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link)[aria-disabled="true"] {
  transform: none !important;
  filter: none !important;
  cursor: not-allowed;
}

/* The visitor always sees the page if JavaScript does not run. */
html.scv2-motion-on [data-scv2-reveal] {
  transition:
    opacity var(--scv2-motion-duration) var(--scv2-wave-ease),
    transform var(--scv2-motion-duration) var(--scv2-wave-ease),
    filter var(--scv2-motion-duration) ease;
  transition-delay: var(--scv2-stagger,0ms);
  will-change: auto;
}
html.scv2-motion-on [data-scv2-reveal]:not(.scv2-visible) {
  opacity: 0;
  transform: translate3d(0,38px,0) scale(.975);
  filter: blur(5px);
}
html.scv2-motion-on[data-scv2-scroll-direction="up"] [data-scv2-reveal]:not(.scv2-visible) {
  transform: translate3d(0,-38px,0) scale(.975);
}
html.scv2-motion-on [data-scv2-reveal="glide"]:not(.scv2-visible) {
  transform: translate3d(-46px,16px,0) rotate(-1.2deg);
}
html.scv2-motion-on[data-scv2-scroll-direction="up"] [data-scv2-reveal="glide"]:not(.scv2-visible) {
  transform: translate3d(46px,-16px,0) rotate(1.2deg);
}
html.scv2-motion-on [data-scv2-reveal="zoom"]:not(.scv2-visible) {
  transform: translate3d(0,22px,0) scale(.90);
}
html.scv2-motion-on [data-scv2-reveal="reveal"]:not(.scv2-visible) {
  transform: translate3d(0,45px,0) scale(.985) rotate(.4deg);
  filter: blur(9px);
}
html.scv2-motion-on [data-scv2-reveal]:focus-within {
  opacity: 1;
  transform: none;
  filter: none;
}
html.scv2-motion-on [data-scv2-reveal].scv2-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: none;
}

/* Selected backgrounds are readable behind the existing page typography. */
.sc-designed-home [data-scv2-cover] {
  background-image: linear-gradient(
    color-mix(in srgb, var(--scv2-surface) 92%, transparent),
    color-mix(in srgb, var(--scv2-surface) 92%, transparent)
  ), var(--scv2-cover-image);
  background-size: cover;
  background-position: center;
}
.scv2-footer, .scv2-prefooter { position: relative; isolation: isolate; }
.scv2-footer[style*="--scv2-footer-photo"]::before,
.scv2-prefooter[style*="--scv2-prefooter-photo"]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}
.scv2-footer > *, .scv2-prefooter > * { position:relative; z-index:1; }
.scv2-footer[style*="--scv2-footer-photo"]::before {
  background-image: linear-gradient(
    color-mix(in srgb, var(--scv2-deep) 76%, transparent),
    color-mix(in srgb, var(--sc-color-deep-sea) 88%, transparent)
  ),var(--scv2-footer-photo);
}
.scv2-prefooter[style*="--scv2-prefooter-photo"]::before {
  background-image: linear-gradient(
    color-mix(in srgb, var(--scv2-deep) 67%, transparent),
    color-mix(in srgb, var(--sc-color-deep-sea) 75%, transparent)
  ),var(--scv2-prefooter-photo);
}
@media (max-width:700px) {
  body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.footer-contact-link,.wp-block-button__link) {
    min-height: 44px;
  }
  html.scv2-motion-on [data-scv2-reveal]:not(.scv2-visible) { transform: translate3d(0,24px,0); }
}
@media (hover:none) {
  body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link):hover {
    transform: none;
    filter: none;
  }
}
@media (prefers-reduced-motion:reduce) {
  body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link),
  body :is(a.button,button.button,.sc-design-button,.sc-p6-footer-primary,.sc-p6-text-link,.footer-contact-link,.wp-block-button__link)::before,
  html.scv2-motion-on [data-scv2-reveal] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
