/* Hand-written states that replace the Framer runtime. Layout stays in the per-page CSS. */

/* FAQ */
.framer-xd19v.framer-v-1bhvf7h > .framer-1jjto74 { display: none; }
.framer-xd19v .framer-1rrb9ok { transition: transform .28s cubic-bezier(.22, 1, .36, 1); }
.framer-xd19v.framer-v-12yfng4 .framer-1rrb9ok { transform: rotate(-180deg) !important; }

/* Scroll reveal on the home page */
[data-framer-name^="Buum-"] { transition: opacity .5s cubic-bezier(.44, 0, .56, 1); }
@media (max-width: 809.98px) { [data-framer-name^="Buum-"] { transition-duration: .3s; } }
.framer-WcIPT .framer-1qp4liy { transition: filter .4s cubic-bezier(.22, 1, .36, 1); }
.framer-WcIPT.is-revealed .framer-1qp4liy { filter: blur(0) !important; -webkit-filter: blur(0) !important; }

/* Glow button: the highlight runs around the border */
@property --rs-w { syntax: '<percentage>'; inherits: false; initial-value: 25%; }
@property --rs-h { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --rs-x { syntax: '<percentage>'; inherits: false; initial-value: 50%; }
@property --rs-y { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --rs-s { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.rs-layer {
  background: radial-gradient(var(--rs-w) var(--rs-h) at var(--rs-x) var(--rs-y), rgb(255, 255, 255) var(--rs-s), rgba(255, 255, 255, 0) 100%) !important;
  transition: --rs-w .8s linear, --rs-h .8s linear, --rs-x .8s linear, --rs-y .8s linear, --rs-s .8s linear;
}

/* Button hover */
.framer-erXHq.framer-v-17juz9h { transition: box-shadow .2s cubic-bezier(.44, 0, .56, 1); }
.framer-erXHq.framer-v-17juz9h.hover { box-shadow: 2px 2px 0 1px rgb(110, 249, 235) !important; }
.framer-aV2oo .framer-rjf20z { transition: opacity .2s cubic-bezier(.44, 0, .56, 1); }
.framer-aV2oo.hover .framer-rjf20z { opacity: 1 !important; }

/* Scroll performance: a live blur on large panels and opaque buttons is recomputed on every
   frame and is the main cause of scroll jank. It stays on the navigation pill and, for the
   panels, only on the small patches placed by layoutGlass() where a shape crosses them. */
body *:not(nav):not(nav *) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.glass-patches { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.glass-patches .glass-patch { position: absolute; backdrop-filter: blur(9px) !important; -webkit-backdrop-filter: blur(9px) !important; }

/* Gallery tabs */
.bg-gallery { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.bg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 10px; }
.bg-tab { appearance: none; height: 45px; margin: 0; padding: 0 15px; border: 0; border-radius: 100px; background: transparent; box-shadow: inset 0 0 0 1px rgb(0, 0, 0); color: rgb(0, 0, 0); cursor: pointer; font: 500 20px/26px Satoshi, "Satoshi Placeholder", sans-serif; letter-spacing: -.4px; }
.bg-tab[aria-selected="true"] { background: rgb(110, 249, 235); }
.bg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 350px; gap: 10px; }
.bg-grid[hidden] { display: none; }
.bg-grid img { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 1199.98px) {
  [data-page="torino"] .bg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; }
  [data-page="torino"] .bg-tab { font-size: 16px; letter-spacing: -.32px; }
}

/* Booking menu and reviews link */
.bk-menu { position: fixed; z-index: 100; display: flex; flex-direction: column; min-width: 240px; padding: 6px; border: 1px solid rgb(0, 0, 0); border-radius: 20px; background: rgb(255, 255, 255); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.bk-menu a { padding: 11px 16px; border-radius: 14px; color: rgb(0, 0, 0); font: 500 16px/1.2 Quicksand, "Quicksand Placeholder", sans-serif; text-decoration: none; }
.bk-menu a:hover, .bk-menu a:focus-visible { background: rgb(110, 249, 235); outline: none; }
.bk-score { color: inherit; text-decoration: none; }
.bk-reviews { display: block; color: rgb(0, 0, 0); font: 500 12px/1.3 Quicksand, "Quicksand Placeholder", sans-serif; text-align: right; text-decoration: underline; white-space: nowrap; }

/* Version number in the footer */
.site-version { opacity: .6; white-space: nowrap; }

/* Page title for search engines and screen readers, where the design shows only the logo */
.seo-h1 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Lenis */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }
