/* ==========================================================================
   Corte Valier — main.css
   Palette: il lago nelle diverse ore del giorno
   ========================================================================== */
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/albert-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--wpab: 0px;
	--lago: #0E3B4F;
	--lago-2: #15506A;
	--notte: #08202B;
	--nebbia: #EDF1F0;
	--laguna: #8DBDC2;
	--laguna-d: #3F7F87;
	--oro: #C4A266;
	--oro-l: #D9BF8C;
	--white: #fff;
	--text: #0E3B4F;
	--muted: #4D6873;
	--line: rgba(14, 59, 79, .16);
	--serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--pad: clamp(20px, 5vw, 80px);
	--max: 1440px;
	--drop: 2rem 2rem 2rem .35rem;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--header-h: 84px;
}

/* Reset essenziale */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select { font: inherit; color: inherit; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--oro); color: var(--notte); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(88px, 11vw, 176px); }
.sec-tight { padding-block: clamp(48px, 6vw, 96px); }
.tone-light { background: var(--white); }
.tone-mist { background: var(--nebbia); }
.tone-dark { background: var(--lago); color: var(--white); }
.tone-night { background: var(--notte); color: var(--white); }
.tone-dark .lead, .tone-night .lead, .tone-dark .prose, .tone-night .prose { color: rgba(255, 255, 255, .78); }

/* Tipografia */
.display, .h2, .h3, .p-hero-title, .hA-title, .words, .fact-n, .venue-name, .sunset-title, .cta-title, .book-title, .room-card-name, .stack-title, .arch-name, .hB-name, .hB-claim, .hC-title, .display-s, .hB-room-name {
	font-family: var(--serif); font-weight: 420; font-optical-sizing: none; font-variation-settings: "opsz" 34; letter-spacing: -0.012em;
}
/* titoli su foto/video: aste più robuste per la leggibilità */
.hA-title, .hB-claim, .hC-title, .p-hero-title, .sunset-title, .cta-title, .stack-title, .display, .display-s, .hB-w { font-variation-settings: "opsz" 22; font-weight: 500; }
.hA-title, .hB-claim, .hC-title, .p-hero-title, .cta-title, .stack-title, .display, .display-s { text-shadow: 0 2px 34px rgba(8, 32, 43, .28); }
.fact-n, .hB-facts-row b, .room-specs-row b { font-variation-settings: "opsz" 24; font-weight: 450; }
.display { font-size: clamp(3rem, 8vw, 8.5rem); line-height: .95; }
.display-s { font-size: clamp(2.4rem, 5.4vw, 5.2rem); line-height: 1; }
.h2 { font-size: clamp(2.2rem, 4.4vw, 4.25rem); line-height: 1.04; text-wrap: balance; }
.h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.25rem); line-height: 1.65; color: var(--muted); max-width: 54ch; font-weight: 350; }
.serif-lead { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.45; color: var(--text); font-weight: 400; max-width: 32ch; }
.kicker { font-size: .95rem; font-weight: 500; color: var(--laguna-d); margin-bottom: 1.4rem; display: flex; align-items: center; gap: .7rem; letter-spacing: .01em; }
.kicker::before { content: ""; width: 9px; height: 12px; background: currentColor; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: path("M4.5 0C4.5 0 0 5.6 0 8a4.5 4.5 0 0 0 9 0C9 5.6 4.5 0 4.5 0Z"); }
.kicker.light { color: var(--laguna); }
.prose { max-width: 62ch; color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--text); font-weight: 600; }
.tone-dark .prose strong, .tone-night .prose strong { color: #fff; }
.prose-lg { font-size: 1.15rem; }
.prose-page h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 1.6em 0 .6em; color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* Righe di testo animate (SplitText) */
.split-line-inner-mask { padding-block: .06em .16em; margin-block: -.06em -.16em; }

/* Bottoni e link */
.btn { --b: var(--lago); --c: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .9rem 1.7rem; border-radius: var(--drop); background: var(--b); color: var(--c); border: 1px solid var(--b); font-size: .98rem; font-weight: 500; letter-spacing: .01em; line-height: 1.1; transition: border-radius .45s var(--ease), background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); white-space: nowrap; }
.btn:hover { border-radius: 2rem; }
.btn:active { transform: scale(.98); }
.btn-solid { --b: var(--lago); --c: #fff; }
.btn-solid:hover { --b: var(--lago-2); }
.btn-gold { --b: var(--oro); --c: var(--notte); }
.btn-gold:hover { --b: var(--oro-l); }
.btn-line { background: transparent; color: currentColor; border-color: currentColor; }
.btn-line:hover { background: var(--lago); color: #fff; border-color: var(--lago); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: #fff; color: var(--notte); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.link { display: inline-block; position: relative; font-weight: 500; padding-bottom: 4px; margin-top: 1.8rem; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); }
.link:hover::after { transform: scaleX(0); }
.split-text > .btn, .s-head + .cards + .btn, .hA-spa-body .btn, .s-list-grid .btn { margin-top: 2rem; }

.ticks { display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 10px; background: var(--oro); clip-path: path("M4 0C4 0 0 5 0 7a4 4 0 0 0 8 0C8 5 4 0 4 0Z"); }
.ticks-2 { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }

/* ==========================================================================
   Header (burger a sinistra, logo al centro, prenota a destra)
   ========================================================================== */
.site-header { position: fixed; inset: 0 0 auto; top: var(--wpab, 0px); z-index: 70; height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-inline: var(--pad); color: #fff; transition: background-color .4s, color .4s, transform .6s var(--ease), height .4s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8, 32, 43, .45), transparent); pointer-events: none; transition: opacity .4s; }
.site-header.is-scrolled { background: rgba(237, 241, 240, .86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); color: var(--lago); height: 72px; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.tpl-home-notturno .site-header.is-scrolled { background: rgba(8, 32, 43, .78); color: #fff; }
.hd-left { position: relative; display: flex; align-items: center; }
.brand { position: relative; display: flex; align-items: center; gap: 12px; justify-self: center; }
.brand-mark { width: 44px; height: 44px; }
.brand-word { font-family: var(--serif); font-size: 1.35rem; line-height: 1; letter-spacing: .01em; display: flex; flex-direction: column; gap: 4px; font-variation-settings: "opsz" 30; }
.brand-word small { font-family: var(--sans); font-size: .72rem; letter-spacing: .04em; opacity: .8; }
.header-actions { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.header-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .85; transition: opacity .3s; }
.header-icon:hover { opacity: 1; }
.btn-book { --b: var(--oro); --c: var(--notte); min-height: 44px; padding: .6rem 1.4rem; }
.burger { display: inline-flex; align-items: center; gap: 14px; height: 44px; padding-right: 6px; font-size: .95rem; font-weight: 500; }
.burger-lines { position: relative; width: 30px; height: 14px; }
.burger-lines i { position: absolute; left: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--ease), width .6s var(--ease), top .6s var(--ease); }
.burger-lines i:nth-child(1) { top: 2px; width: 30px; }
.burger-lines i:nth-child(2) { top: 11px; width: 20px; }
.burger:hover .burger-lines i:nth-child(2) { width: 30px; }
.burger-label { position: relative; display: grid; overflow: hidden; height: 1.3em; line-height: 1.3; }
.burger-label span { grid-area: 1 / 1; transition: transform .6s var(--ease); }
.burger-label span:last-child { transform: translateY(110%); }
.menu-open .burger-lines i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger-lines i:nth-child(2) { top: 6px; width: 30px; transform: rotate(-45deg); }
.menu-open .burger-label span:first-child { transform: translateY(-110%); }
.menu-open .burger-label span:last-child { transform: none; }
.menu-open .site-header { background: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none !important; }
.menu-open .site-header::before { opacity: 0 !important; }
.menu-open.menu-b .site-header { color: #fff !important; }
.menu-open.menu-a .site-header, .menu-open.menu-c .site-header { color: #fff; }
.menu-open.menu-b .site-header .brand, .menu-open.menu-b .site-header .header-actions, .menu-open.menu-d .site-header .brand, .menu-open.menu-d .site-header .header-actions { opacity: 0; pointer-events: none; }
.menu-open.menu-d .site-header { color: var(--lago); }
.site-header .brand, .site-header .header-actions { transition: opacity .4s; }

/* ==========================================================================
   Menu: struttura comune
   ========================================================================== */
.mnu { position: fixed; inset: 0; z-index: 65; visibility: hidden; pointer-events: none; }
.mnu[hidden] { display: block; }
.mnu.is-open { visibility: visible; pointer-events: auto; }
.mnu-bg, .mnu-curtain, .mnu-media { position: absolute; }
.mnu-curtain { display: none; }
.mnu-img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.mnu-img.is-on { opacity: 1; }
.mnu-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.mnu-img.is-on img { transform: none; }
.mnu-inner { overscroll-behavior: contain; scrollbar-width: none; position: relative; z-index: 3; height: 100%; max-width: var(--max); margin: 0 auto; padding: calc(var(--header-h) + var(--wpab) + 4vh) var(--pad) 40px; display: grid; overflow: auto; }
.mnu-nav ul { display: grid; }
.mnu-link { display: inline-flex; align-items: center; gap: 1.2rem; }
.mnu-t { font-family: var(--serif); font-variation-settings: "opsz" 28; display: inline-block; }
.mnu-thumb { display: none; }
.mnu-info { display: grid; gap: 1rem; align-content: end; font-size: .97rem; }
.mnu-info .btn { justify-self: start; margin-top: .6rem; }
.mnu-claim { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; }
.mnu-small a { margin-right: 1.2rem; text-decoration: underline; text-underline-offset: 3px; }
.mnu-link .mnu-t { transition: color .4s, transform .6s var(--ease), opacity .4s; }

/* A · Goccia: cerchio che si apre dal pulsante, immagine ad arco che cambia */
.mnu-a .mnu-bg { inset: 0; background: var(--lago); }
.mnu-a .mnu-media { right: var(--pad); top: 50%; width: min(32vw, 460px, calc(72vh * .795)); aspect-ratio: .795; transform: translateY(-44%); z-index: 2; }
.mnu-a .mnu-img { clip-path: url(#cv-drop); }
.mnu-a .mnu-inner { color: #fff; grid-template-columns: 1fr min(32vw, 460px, calc(72vh * .795)); column-gap: 6vw; align-items: center; }
.mnu-a .mnu-nav { grid-column: 1; }
.mnu-a .mnu-info { grid-column: 1; color: rgba(255, 255, 255, .75); grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 3rem; align-items: end; margin-top: 4vh; }
.mnu-a .mnu-info .mnu-claim, .mnu-a .mnu-info .btn { display: none; }
.mnu-a .mnu-t { font-size: clamp(2.2rem, min(5.4vw, 9.5vh), 5.4rem); line-height: 1.08; }
.mnu-a .mnu-link:hover .mnu-t, .mnu-a .mnu-link:focus-visible .mnu-t { color: var(--oro-l); transform: translateX(18px); }
.mnu-a .mnu-nav ul:hover .mnu-link:not(:hover) .mnu-t { opacity: .35; }

/* B · Sipario: due metà che scorrono dall'alto e dal basso */
.mnu-b .mnu-curtain { display: block; left: 0; right: 0; height: 50.5%; z-index: 1; }
.mnu-b .mnu-curtain-1 { top: 0; background: var(--nebbia); }
.mnu-b .mnu-curtain-2 { bottom: 0; background: var(--nebbia); }
.mnu-b .mnu-media { left: 0; top: 0; bottom: 0; width: 44%; z-index: 2; overflow: hidden; }
.mnu-b .mnu-inner { color: var(--lago); margin-left: 44%; max-width: none; grid-template-rows: 1fr auto; padding-left: 6vw; }
.mnu-b .mnu-nav { align-self: center; }
.mnu-b .mnu-t { font-size: clamp(2rem, min(4.4vw, 8.4vh), 4.6rem); line-height: 1.12; font-style: italic; }
.mnu-b .mnu-link { position: relative; }
.mnu-b .mnu-link::after { content: ""; position: absolute; left: 0; bottom: .1em; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.mnu-b .mnu-link:hover::after, .mnu-b .mnu-link:focus-visible::after { transform: scaleX(1); }
.mnu-b .mnu-info { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 3rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }
.mnu-b .mnu-info .mnu-claim { display: none; }
.mnu-b .mnu-info .btn { grid-column: 1 / -1; }

/* C · Notte: scritte enormi a contorno che si riempiono, foto a tutto schermo */
.mnu-c .mnu-bg { inset: 0; background: var(--notte); }
.mnu-c .mnu-media { inset: 0; z-index: 1; }
.mnu-c .mnu-media::after { content: ""; position: absolute; inset: 0; background: rgba(8, 32, 43, .72); }
.mnu-c .mnu-img img { filter: saturate(.8); }
.mnu-c .mnu-inner { color: #fff; grid-template-rows: 1fr auto; justify-items: center; text-align: center; }
.mnu-c .mnu-nav { align-self: center; }
.mnu-c .mnu-nav ul { justify-items: center; }
.mnu-c .mnu-t { font-size: clamp(2.2rem, min(7vw, 10.5vh), 7rem); line-height: 1.02; font-weight: 600; font-variation-settings: "opsz" 18; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .75); position: relative; }
.mnu-c .mnu-t::after { content: attr(data-text); position: absolute; inset: 0; color: #fff; -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease); }
.mnu-c .mnu-link:hover .mnu-t::after, .mnu-c .mnu-link:focus-visible .mnu-t::after, .mnu-c .mnu-link.is-current .mnu-t::after { clip-path: inset(0 0 0 0); }
.mnu-c .mnu-info { grid-template-columns: repeat(3, auto); column-gap: 3rem; justify-content: center; color: rgba(255, 255, 255, .7); }
.mnu-c .mnu-info .mnu-claim, .mnu-c .mnu-info .btn { display: none; }

/* D · Pannello: arriva da sinistra con riquadri fotografici, la pagina si sposta */
.mnu-d .mnu-bg { left: 0; top: 0; bottom: 0; width: min(560px, 100%); background: var(--nebbia); box-shadow: 30px 0 80px -30px rgba(8, 32, 43, .35); }
.mnu-d .mnu-media { display: none; }
.mnu-d .mnu-inner { width: min(560px, 100%); margin: 0; padding-left: clamp(24px, 3.4vw, 48px); padding-right: clamp(24px, 3.4vw, 48px); padding-bottom: clamp(16px, 3vh, 32px); color: var(--lago); display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 24px); }
.mnu-d .mnu-info { flex: none; }
.mnu-d .mnu-nav li { min-height: 0; }
.mnu-d .mnu-info { gap: .6rem; }
@media (max-height: 920px) { .mnu-d .mnu-claim { display: none; } .mnu-d .mnu-info { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } .mnu-d .mnu-info .btn, .mnu-d .mnu-small { grid-column: 1 / -1; } }
@media (max-height: 760px) { .mnu-a .mnu-info, .mnu-b .mnu-info, .mnu-c .mnu-info { font-size: .9rem; } }
.mnu-d .mnu-nav { flex: 1 1 auto; min-height: 0; display: flex; max-height: 700px; }
.mnu-d .mnu-nav ul { flex: 1; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, minmax(56px, 1fr)); gap: 10px; }
.mnu-d .mnu-link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 6px; color: #fff; }
.mnu-d .mnu-thumb { display: block; position: absolute; inset: 0; }
.mnu-d .mnu-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mnu-d .mnu-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 32, 43, .75)); }
.mnu-d .mnu-t { position: absolute; z-index: 2; left: 14px; bottom: 12px; font-size: 1.45rem; line-height: 1.05; }
.mnu-d .mnu-link:hover .mnu-thumb img, .mnu-d .mnu-link:focus-visible .mnu-thumb img { transform: scale(1.08); }
.mnu-d .mnu-info { color: var(--muted); align-content: end; }
.mnu-d .mnu-info .mnu-claim { color: var(--lago); }
.mnu-d .mnu-backdrop { display: none; }
.page-shell { position: relative; background: #fff; }
.tpl-home-notturno .page-shell { background: var(--notte); }
.menu-open.menu-d { background: var(--notte); }
.menu-open.menu-d .page-shell { box-shadow: 0 40px 120px rgba(0, 0, 0, .45); border-radius: 18px; overflow: hidden; }
.page-shell::after { content: ""; position: absolute; inset: 0; background: rgba(8, 32, 43, .35); opacity: 0; pointer-events: none; transition: opacity .9s var(--ease); z-index: 40; }
.menu-open.menu-d .page-shell::after { opacity: 1; }
.menu-open.menu-d .page-shell { cursor: pointer; }

/* Drawer prenotazione */
.book-drawer { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.book-drawer[hidden] { display: block; }
.book-drawer.is-open { visibility: visible; }
.book-backdrop { position: absolute; inset: 0; background: rgba(8, 32, 43, .55); opacity: 0; transition: opacity .5s; }
.book-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--nebbia); padding: 90px clamp(24px, 4vw, 56px) 40px; overflow: auto; transform: translateX(100%); transition: transform .7s var(--ease); }
.book-drawer.is-open .book-backdrop { opacity: 1; }
.book-drawer.is-open .book-panel { transform: none; }
.book-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.book-title { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.05; margin-bottom: 1rem; }
.book-sub { color: var(--muted); margin-bottom: 2.2rem; }
.book-links { display: grid; gap: .6rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.book-links a { text-decoration: underline; text-underline-offset: 3px; }

/* Form prenotazione */
.bk { display: grid; gap: 18px; position: relative; }
.bk-field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.bk-field label, .bk-label { font-size: .8rem; font-weight: 500; letter-spacing: .02em; opacity: .75; }
.bk-dates-input, .bk input[type="date"], .bk-guests-btn { appearance: none; cursor: pointer; -webkit-appearance: none; width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); text-align: left; font-size: 1rem; }
.bk input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.bk-pop { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); min-width: 280px; background: #fff; color: var(--text); border-radius: 14px; padding: 14px 16px; box-shadow: 0 24px 60px -20px rgba(8, 32, 43, .45); }
.bk-step { display: grid; grid-template-columns: 1fr 36px 28px 36px; align-items: center; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.bk-step small { display: block; color: var(--muted); font-size: .78rem; }
.bk-step button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.bk-step button:disabled { opacity: .3; cursor: default; }
.bk-step output { text-align: center; font-weight: 600; }
.bk-done { margin-top: 10px; width: 100%; min-height: 42px; border-radius: 10px; background: var(--lago); color: #fff; font-weight: 500; }
.bk-submit { width: 100%; }
.bk-error { font-size: .85rem; color: #B5462F; }

/* Barra prenotazione orizzontale (hero) e inline (cta) */
.bk-bar, .bk-inline { grid-template-columns: 1.7fr 1fr auto; align-items: end; gap: 12px; }
.bk-dates-input::placeholder { color: inherit; opacity: .7; }
.bk-dates-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C939B' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='16' rx='1'/%3E%3Cpath d='M3 10h18M8 3v4m8-4v4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px !important; text-overflow: ellipsis; }
.bk-dates { position: relative; }
.easepick-wrapper { z-index: 120; }
.bk-bar .bk-submit, .bk-inline .bk-submit { width: auto; }
.bk-bar .bk-dates-input, .bk-inline .bk-dates-input, .bk-bar input[type="date"], .bk-bar .bk-guests-btn, .bk-inline input[type="date"], .bk-inline .bk-guests-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); color: #fff; color-scheme: dark; }
.bk-bar .bk-pop, .bk-inline .bk-pop { top: auto; bottom: calc(100% + 8px); }

/* ==========================================================================
   Elementi comuni
   ========================================================================== */
.cv-video, .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 8px clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .7rem; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-n { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; color: var(--lago); }
.fact-n b { font-weight: 400; }
.fact-n i { font-style: normal; font-size: .4em; margin-left: .2em; vertical-align: .9em; font-family: var(--sans); }
.fact-l { color: var(--muted); max-width: 22ch; font-size: .95rem; }
.facts-light .fact { border-color: rgba(255, 255, 255, .18); }
.facts-light .fact-n { color: #fff; }
.facts-light .fact-l { color: rgba(255, 255, 255, .7); }

.words { font-size: clamp(1.75rem, 3.5vw, 3.35rem); line-height: 1.22; max-width: 26ch; color: var(--lago); }
.words .w { opacity: .16; transition: none; }
.words-light { color: #fff; }
html:not(.js) .words .w, .no-anim .words .w { opacity: 1; }

.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.split-left { grid-template-columns: 5fr 7fr; }
.split-left .split-media { order: 2; }
.split-media { position: relative; }
.split-main, .split-media.reveal, .hB-meet .split-media { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.split-main img, .split-media > img { width: 100%; height: 100%; object-fit: cover; }
.split-small { position: absolute; width: 38%; aspect-ratio: 3 / 4; overflow: hidden; right: -6%; bottom: -14%; border: 8px solid #fff; }
.split-left .split-small { right: auto; left: -6%; }
.tone-mist .split-small { border-color: var(--nebbia); }
.tone-dark .split-small { border-color: var(--lago); }
.split-small img { width: 100%; height: 100%; object-fit: cover; }
.split-text .h2 { margin-bottom: 1.6rem; }
.split-text .lead { margin-bottom: .4rem; }

[data-reveal] { overflow: hidden; }
[data-reveal] img, [data-reveal] video { transform-origin: center; }

/* Sunset */
.sunset { position: relative; height: 115vh; min-height: 640px; overflow: hidden; color: #fff; display: grid; align-items: center; }
.sunset-media { position: absolute; inset: -12% 0; }
.sunset-media img { width: 100%; height: 100%; object-fit: cover; }
.sunset::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 32, 43, .2), rgba(8, 32, 43, .55)); }
.sunset-inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 1.6rem; }
.sunset-title { font-style: italic; font-size: clamp(2.2rem, 5.6vw, 5.8rem); line-height: 1.05; max-width: 18ch; text-wrap: balance; }
.sunset-text { max-width: 46ch; font-size: 1.1rem; color: rgba(255, 255, 255, .85); }

/* Lago di Garda */
.garda-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.garda-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.garda-item:nth-child(2) { margin-top: 12vh; }
.garda-img { aspect-ratio: 4 / 5; margin-bottom: 1.4rem; }
.garda-img img { width: 100%; height: 100%; object-fit: cover; }
.garda-item .h3 { margin-bottom: .6rem; }
.garda-item p { color: var(--muted); }
.tone-night .garda-item p { color: rgba(255, 255, 255, .7); }

/* CTA finale */
.cta-final { position: relative; min-height: 92vh; display: grid; place-items: center; color: #fff; overflow: hidden; padding: 140px var(--pad); }
.cta-bg { position: absolute; inset: -10% 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(8, 32, 43, .55), rgba(8, 32, 43, .75)); }
.cta-inner { position: relative; z-index: 2; width: min(980px, 100%); text-align: center; display: grid; justify-items: center; gap: 1.4rem; }
.cta-title { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1; text-wrap: balance; }
.cta-text { max-width: 48ch; color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin-bottom: 1.4rem; }
.cta-inner .bk { width: 100%; text-align: left; }
.cta-inner > .btn { display: inline-flex; }

/* Footer */
.site-footer { background: var(--notte); color: rgba(255, 255, 255, .78); padding: clamp(64px, 8vw, 120px) var(--pad) 32px; font-size: .97rem; }
.ft-top { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.6fr; gap: clamp(24px, 3vw, 48px); padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft-brand img { width: 76px; height: 76px; }
.ft-claim { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin-top: 1rem; max-width: 12ch; line-height: 1.2; }
.ft-h { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--laguna); margin-bottom: 1rem; letter-spacing: .02em; }
.ft-col p + p { margin-top: .8rem; }
.ft-col a:hover, .ft-links a:hover { color: #fff; }
.ft-links { display: grid; gap: .45rem; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.ft-social a:hover { border-color: #fff; }
.ft-news p { margin-bottom: 1rem; }
.ft-news-row { display: flex; gap: 8px; }
.ft-news input[type="email"] { flex: 1; min-width: 0; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; }
.ft-news input::placeholder { color: rgba(255, 255, 255, .5); }
.ft-check { display: flex; gap: 8px; align-items: center; margin-top: .9rem; font-size: .85rem; }
.ft-check a { text-decoration: underline; }
.ft-bottom { max-width: var(--max); margin: 0 auto; padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.ft-credits a { color: rgba(255, 255, 255, .8); font-weight: 600; letter-spacing: .04em; }

.mobile-bar { display: none; }

/* ==========================================================================
   DEMO 1 · RIVA
   ========================================================================== */
.hA-hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; background: var(--lago); }
.hA-media { position: absolute; inset: 0; }
.hA-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hA-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 32, 43, .35) 0%, rgba(8, 32, 43, 0) 30%, rgba(8, 32, 43, .1) 55%, rgba(8, 32, 43, .7) 100%); }
.hA-content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(150px, 24vh, 200px); max-width: 1100px; }
.hA-place { font-size: 1rem; margin-bottom: 1.2rem; opacity: .9; }
.hA-title { font-size: clamp(2.8rem, min(8.2vw, 13vh), 9.2rem); line-height: .94; letter-spacing: -.025em; max-width: 12ch; }
.hA-sub { margin-top: 1.6rem; max-width: 50ch; font-size: clamp(1rem, 1.2vw, 1.15rem); color: rgba(255, 255, 255, .88); }
.hA-book { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; max-width: 980px; padding: 18px; border-radius: 18px; background: rgba(8, 32, 43, .38); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .14); }
.hA-media { will-change: clip-path; }
.hA-loader { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; align-content: center; gap: 18px; pointer-events: none; opacity: 0; }
.hA-loader-logo { width: clamp(96px, 11vw, 140px); height: auto; }
.hA-loader-word { font-family: var(--serif); font-variation-settings: "opsz" 30; color: #fff; font-size: 1.1rem; letter-spacing: .32em; text-indent: .32em; }
.cv-anim .hA-loader { opacity: 1; }

.hA-intro .kicker { margin-bottom: 2.4rem; }
.hA-intro-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; margin-top: clamp(56px, 7vw, 110px); align-items: center; }
.hA-collage { position: relative; height: clamp(420px, 48vw, 720px); }
.hA-c { position: absolute; overflow: hidden; }
.hA-c img { width: 100%; height: 100%; object-fit: cover; }
.hA-c0 { width: 56%; height: 72%; right: 0; top: 0; }
.hA-c1 { width: 40%; height: 52%; left: 0; top: 22%; }
.hA-c2 { width: 34%; height: 38%; right: 12%; bottom: -6%; border: 8px solid #fff; }
.facts { border-block: 1px solid var(--line); }

.hA-rooms { background: var(--nebbia); overflow: hidden; }
.hscroll-track { display: flex; align-items: stretch; gap: clamp(20px, 2.4vw, 40px); padding: clamp(80px, 9vw, 140px) var(--pad); width: max-content; }
.hA-rooms-head { width: clamp(300px, 32vw, 520px); display: flex; flex-direction: column; justify-content: center; gap: 1.6rem; padding-right: 2vw; }
.hA-rooms-head .btn { align-self: flex-start; }
.room-card { width: clamp(300px, 40vw, 640px); display: flex; flex-direction: column; gap: .6rem; }
.room-card-img { display: block; aspect-ratio: 4 / 3.3; overflow: hidden; margin-bottom: .8rem; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-meta { font-size: .9rem; color: var(--laguna-d); font-weight: 500; }
.room-card-name { font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.room-card-text { color: var(--muted); max-width: 40ch; }
.hA-rooms-end { width: clamp(280px, 30vw, 480px); position: relative; overflow: hidden; align-self: center; aspect-ratio: 9 / 13; }

.hA-spa { background: var(--white); }
.hA-spa-media { position: relative; height: 100vh; min-height: 600px; overflow: hidden; color: #fff; }
.hA-spa-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 32, 43, .7)); }
.hA-spa-title { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(40px, 7vw, 100px); }
.hA-spa-title .display { max-width: 12ch; }
.hA-spa-body { display: grid; grid-template-columns: 6fr 4fr; gap: 3rem 6vw; padding-block: clamp(64px, 8vw, 120px); align-items: start; }
.hA-spa-body .lead { color: var(--text); font-size: clamp(1.2rem, 1.6vw, 1.5rem); max-width: 40ch; }
.hA-spa-body .btn { grid-column: 1; justify-self: start; }

.hA-gusto-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.venues { border-top: 1px solid var(--line); }
.venue { border-bottom: 1px solid var(--line); }
.venue a { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 2rem; align-items: center; padding: clamp(24px, 3vw, 44px) 0; position: relative; }
.venue-name { font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1; transition: transform .6s var(--ease), color .3s; }
.venue a:hover .venue-name { transform: translateX(16px); color: var(--laguna-d); }
.venue-tag { font-weight: 500; }
.venue-text { color: var(--muted); }
.venue-img { display: none; }
.venue-float { position: fixed; z-index: 30; top: 0; left: 0; width: 300px; aspect-ratio: 4 / 5; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); border-radius: 160px 160px 8px 8px; transition: opacity .35s; }
.venue-float.is-on { opacity: 1; }
.venue-float img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity .4s; }

/* ==========================================================================
   DEMO 2 · ORIZZONTE
   ========================================================================== */
.tpl-home-orizzonte .site-header:not(.is-scrolled) { color: var(--lago); }
.tpl-home-orizzonte .site-header:not(.is-scrolled)::before { opacity: 0; }
.hB-hero { position: relative; background: var(--nebbia); }
.hB-stage { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; place-items: center; }
.hB-line { position: absolute; top: calc(var(--header-h) + 3vh); left: 50%; transform: translateX(-50%); font-size: .95rem; color: var(--laguna-d); font-weight: 500; white-space: nowrap; }
.hB-name { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 30vw; z-index: 3; pointer-events: none; color: var(--lago); }
.hB-w { font-size: clamp(4rem, min(13vw, 24vh), 15rem); line-height: 1; letter-spacing: -.03em; }
.hB-arch { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.hB-arch img, .hB-arch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hB-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 32, 43, .15) 25%, rgba(8, 32, 43, .78)); opacity: 0; }
.hB-over { position: absolute; z-index: 4; inset: auto var(--pad) clamp(40px, 8vh, 90px); color: #fff; display: grid; gap: 1.2rem; justify-items: start; max-width: 900px; opacity: 0; visibility: hidden; }
.hB-claim { font-size: clamp(2.4rem, min(6.6vw, 11vh), 7rem); line-height: .98; max-width: 13ch; }
.hB-sub { max-width: 48ch; color: rgba(255, 255, 255, .88); }
.horizon { position: absolute; z-index: 1; left: 0; right: 0; top: calc(50% + 3vh + min(31vh, 320px)); height: 1px; background: var(--lago); opacity: .35; transform-origin: center; }
.no-anim .hB-over, html:not(.js) .hB-over { opacity: 1; visibility: visible; position: relative; inset: auto; color: var(--lago); margin: 0 auto 60px; }

.hB-intro-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; align-items: center; }
.hB-intro-text .h2 { margin-bottom: 2rem; }
.hB-intro-text .serif-lead { margin-bottom: 1.6rem; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: clamp(560px, 70vw, 980px); overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.col3 { display: flex; flex-direction: column; gap: 14px; }
.col3:nth-child(2) { margin-top: -14%; }
.col3 figure { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 0 0; }
.col3 figure:nth-child(even) { border-radius: 0; }
.col3 img { width: 100%; height: 100%; object-fit: cover; }

.hB-facts { border-block: 1px solid var(--line); }
.hB-facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.hB-facts-row p { padding: 34px clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); color: var(--muted); }
.hB-facts-row p:first-child { border-left: 0; padding-left: 0; }
.hB-facts-row b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3.4rem); color: var(--lago); line-height: 1; }
.hB-facts-row span { display: block; margin-top: .5rem; font-size: .93rem; }

.hB-rooms-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: 4vw; }
.hB-rooms-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6vw; }
.hB-room { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; gap: 1rem; border-top: 1px solid var(--line); padding-block: 40px; }
.hB-room-meta { color: var(--laguna-d); font-weight: 500; font-size: .93rem; }
.hB-room-name { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; }
.hB-room p:not(.hB-room-meta) { color: var(--muted); max-width: 40ch; }
.hB-room .link { margin-top: .8rem; align-self: flex-start; }
.hB-room-mobile { display: none; }
.hB-rooms-frame { position: sticky; top: 14vh; height: 72vh; border-radius: 999px 999px 0 0; overflow: hidden; }
.hB-frame-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.hB-frame-img.is-on { opacity: 1; transform: none; }
.hB-frame-img img { width: 100%; height: 100%; object-fit: cover; }

.hB-spa-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 6vw; align-items: center; }
.hB-spa-text .h2 { margin-bottom: 1.6rem; }
.hB-spa-text .lead { margin-bottom: 2.4rem; }
.rituals { border-top: 1px solid rgba(255, 255, 255, .2); margin-bottom: 2.4rem; }
.ritual { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ritual button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); text-align: left; }
.ritual button .ico { transition: transform .5s var(--ease); flex: none; }
.ritual.is-open button .ico { transform: rotate(45deg); }
.ritual-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.ritual-body > p { overflow: hidden; color: rgba(255, 255, 255, .75); max-width: 52ch; }
.ritual.is-open .ritual-body { grid-template-rows: 1fr; }
.ritual.is-open .ritual-body > p { padding-bottom: 22px; }
.arch-mask { border-radius: 999px 999px 0 0; overflow: hidden; }
.hB-spa-media { position: relative; aspect-ratio: 3 / 4.2; }
.ritual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.ritual-img.is-on { opacity: 1; }

.hB-gusto-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: 5vw; }
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.arch-card { display: flex; flex-direction: column; gap: .5rem; }
.arch-card:nth-child(2) { margin-top: 8vh; }
.arch-img { display: block; aspect-ratio: 3 / 4.2; margin-bottom: 1rem; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch-card:hover .arch-img img { transform: scale(1.05); }
.arch-name { font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.arch-tag { color: var(--muted); }
.marquee { overflow: hidden; margin-top: clamp(64px, 8vw, 120px); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee figure { width: clamp(200px, 22vw, 320px); aspect-ratio: 4 / 5; overflow: hidden; flex: none; }
.marquee figure:nth-child(odd) { border-radius: 999px 999px 0 0; }
.marquee img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   DEMO 3 · NOTTURNO
   ========================================================================== */
.tpl-home-notturno { background: var(--notte); color: #fff; }
.hC-hero { position: relative; background: var(--notte); }
.hC-pin { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.hC-media { position: absolute; inset: 0; }
.hC-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hC-mask { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hC-text { font-family: var(--serif); font-size: 250px; font-weight: 700; font-variation-settings: "opsz" 18; letter-spacing: -4px; fill: #000; }
.hC-intro-line { position: absolute; z-index: 3; left: 0; right: 0; bottom: 36px; display: flex; justify-content: space-between; padding-inline: var(--pad); color: rgba(255, 255, 255, .75); font-size: .95rem; }
.hC-scroll { display: inline-flex; align-items: center; gap: 10px; }
.hC-scroll::after { content: ""; width: 1px; height: 36px; background: currentColor; animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hC-after { position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: clamp(48px, 10vh, 110px); display: grid; gap: 1.3rem; justify-items: start; opacity: 0; visibility: hidden; max-width: 1000px; }
.hC-after::before { content: ""; position: fixed; inset: 0; z-index: -1; }
.hC-title { font-size: clamp(2.6rem, min(7.6vw, 12vh), 8.4rem); line-height: .95; max-width: 12ch; text-shadow: 0 2px 40px rgba(8, 32, 43, .35); }
.hC-sub { max-width: 48ch; color: rgba(255, 255, 255, .9); }
.hC-pin::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(8, 32, 43, .1) 30%, rgba(8, 32, 43, .82)); opacity: 0; pointer-events: none; transition: opacity .6s; }
.hC-pin.is-in::after { opacity: 1; }
.no-anim .hC-mask, html:not(.js) .hC-mask { display: none; }
.no-anim .hC-after, html:not(.js) .hC-after { opacity: 1; visibility: visible; }
.hC-intro .words { margin-top: 1rem; margin-bottom: clamp(64px, 8vw, 120px); }

.hC-stack { position: relative; }
.stack-panel { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stack-inner { position: absolute; inset: 0; transform-origin: center top; will-change: transform; }
.stack-media { position: absolute; inset: 0; }
.stack-media img { width: 100%; height: 100%; object-fit: cover; }
.stack-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 32, 43, .78) 0%, rgba(8, 32, 43, .2) 60%, rgba(8, 32, 43, .1)); }
.stack-text { position: absolute; left: var(--pad); bottom: clamp(48px, 10vh, 120px); max-width: 640px; display: grid; gap: 1.2rem; justify-items: start; }
.stack-kicker { color: var(--oro-l); font-weight: 500; }
.stack-title { font-size: clamp(2.4rem, min(5.6vw, 9vh), 5.6rem); line-height: 1; }
.stack-desc { color: rgba(255, 255, 255, .85); max-width: 48ch; }
.stack-count { position: absolute; right: var(--pad); top: calc(var(--header-h) + 24px); font-family: var(--serif); font-size: 1.3rem; color: rgba(255, 255, 255, .7); }
.stack-dim { position: absolute; inset: 0; background: var(--notte); opacity: 0; pointer-events: none; }

.hC-strip-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.hC-drag { color: rgba(255, 255, 255, .6); font-size: .95rem; }
.strip { display: flex; gap: 16px; overflow-x: auto; padding-inline: var(--pad); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; align-items: center; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip-item { flex: none; width: clamp(240px, 28vw, 420px); height: 56vh; overflow: hidden; scroll-snap-align: start; border-radius: 4px; }
.strip-item.tall { height: 68vh; width: clamp(260px, 30vw, 460px); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.sunset-night .sunset-title { font-style: normal; }

/* ==========================================================================
   Pagine interne
   ========================================================================== */
.p-hero { position: relative; height: 92svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--lago); display: flex; align-items: flex-end; }
.p-hero-small { height: 68svh; min-height: 460px; }
.p-hero-plain { height: auto; min-height: 0; padding: calc(var(--header-h) + 80px) 0 60px; }
.p-hero-media { position: absolute; inset: 0; }
.p-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 32, 43, .35), rgba(8, 32, 43, 0) 35%, rgba(8, 32, 43, .7)); }
.p-hero-content { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 100px); }
.p-hero-kicker { font-size: 1rem; margin-bottom: 1rem; color: rgba(255, 255, 255, .9); }
.p-hero-kicker a:hover { text-decoration: underline; }
.p-hero-title { font-size: clamp(2.6rem, min(7.6vw, 12vh), 8rem); line-height: .95; letter-spacing: -.025em; max-width: 14ch; }
.p-hero-text { max-width: 52ch; margin-top: 1.4rem; font-size: 1.12rem; color: rgba(255, 255, 255, .88); }
.p-intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 6vw; align-items: start; }

.s-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.cards { display: grid; gap: clamp(20px, 2.6vw, 40px); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; gap: .5rem; }
.card-img { aspect-ratio: 4 / 4.6; margin-bottom: 1rem; }
.cards-3 .card-img { aspect-ratio: 4 / 3.4; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-link:hover .card-img img { transform: scale(1.05); }
.card-meta { color: var(--laguna-d); font-weight: 500; font-size: .92rem; }
.tone-dark .card-meta, .tone-night .card-meta { color: var(--oro-l); }
.card p:not(.card-meta) { color: var(--muted); }
.tone-dark .card p:not(.card-meta), .tone-night .card p:not(.card-meta) { color: rgba(255, 255, 255, .72); }

.s-wide-media { position: relative; height: 100vh; min-height: 560px; overflow: hidden; color: #fff; }
.s-wide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 32, 43, .75)); }
.s-wide-text { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: clamp(40px, 8vh, 100px); max-width: 760px; display: grid; gap: 1.2rem; justify-items: start; }
.s-wide-text .prose { color: rgba(255, 255, 255, .88); }

.gal { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(160px, 17vw, 300px); gap: 12px; margin-top: clamp(32px, 4vw, 56px); }
.s-gallery .h2 + .gal { margin-top: clamp(32px, 4vw, 56px); }
.gal-item { position: relative; display: block; overflow: hidden; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.gal-0 { grid-column: span 3; grid-row: span 2; }
.gal-1, .gal-2 { grid-column: span 3; }
.gal-3, .gal-4, .gal-5 { grid-column: span 2; }

.s-list-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 6vw; }
.s-list-grid .h2 { margin-bottom: 1.4rem; }
.s-quote .words { margin-bottom: 2rem; }

.rooms-list { padding-block: clamp(40px, 6vw, 80px); }
.room-row { padding-block: clamp(48px, 7vw, 110px); }
.room-row-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.room-row-alt .room-row-grid { grid-template-columns: 5fr 7fr; }
.room-row-alt .room-row-media { order: 2; }
.room-row-media { position: relative; display: block; }
.room-row-main { aspect-ratio: 4 / 3; }
.room-row-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.room-row-media:hover .room-row-main img { transform: scale(1.04); }
.room-row-small { position: absolute; width: 36%; aspect-ratio: 3 / 4; overflow: hidden; right: -5%; bottom: -12%; border: 8px solid #fff; }
.room-row-alt .room-row-small { right: auto; left: -5%; }
.room-row-small img { width: 100%; height: 100%; object-fit: cover; }
.room-row-index { color: var(--laguna-d); font-weight: 500; margin-bottom: 1rem; }
.room-row-text .h2 { margin-bottom: 1.2rem; }
.room-row-view { margin-top: 1rem; color: var(--muted); font-size: .95rem; }

.room-specs { background: var(--nebbia); border-bottom: 1px solid var(--line); }
.room-specs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem clamp(24px, 4vw, 64px); padding-block: 28px; }
.room-specs-row div { display: grid; gap: 2px; }
.room-specs-row span { font-size: .82rem; color: var(--muted); }
.room-specs-row b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }
.room-specs-row .btn { margin-left: auto; }
.room-body { display: grid; grid-template-columns: 7fr 4fr; gap: 6vw; }
.room-services { background: var(--nebbia); padding: clamp(24px, 3vw, 44px); align-self: start; }
.room-services .h3 { margin-bottom: 1.4rem; }
.room-services .ticks { font-size: .97rem; }

.contact-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 6vw; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card { background: var(--nebbia); padding: clamp(22px, 2.6vw, 36px); display: grid; gap: .6rem; align-content: start; }
.contact-card .ico { color: var(--laguna-d); width: 26px; height: 26px; margin-bottom: .6rem; }
.contact-card .link { margin-top: .4rem; justify-self: start; }
.contact-how .h2 { margin-bottom: 1.6rem; }
.map { position: relative; height: 70vh; min-height: 420px; background: var(--nebbia); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; color: #fff; text-align: center; }
.map-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(8, 32, 43, .45); }
.map-cover > .btn, .map-note { position: relative; z-index: 2; }
.map-note { font-size: .85rem; color: rgba(255, 255, 255, .8); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(8, 32, 43, .95); display: grid; place-items: center; opacity: 0; transition: opacity .4s; }
.lb.is-open { opacity: 1; }
.lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; display: grid; place-items: center; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.ft-top { grid-template-columns: 1fr 1fr 1fr; }
	.ft-news { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	body { font-size: 1rem; padding-bottom: 68px; }
	.site-header.is-scrolled { height: 64px; }
	.brand-mark { width: 38px; height: 38px; }
	.brand-word { font-size: 1.15rem; }
	.brand-word small { display: none; }
	.header-icon, .btn-book { display: none; }
	.burger-label { display: none; }
	.brand-word { display: none; }
	.site-header { grid-template-columns: 1fr auto 1fr; }

	/* menu su smartphone */
	.mnu-inner { padding-top: calc(var(--header-h) + var(--wpab) + 3vh); padding-bottom: 96px; }
	.mnu-a .mnu-inner, .mnu-b .mnu-inner { grid-template-columns: 1fr; margin-left: 0; padding-left: var(--pad); align-content: start; gap: 32px; }
	.mnu-a .mnu-media { display: none; }
	.mnu-a .mnu-info, .mnu-b .mnu-info, .mnu-c .mnu-info { grid-template-columns: 1fr; row-gap: .8rem; }
	.mnu-b .mnu-media { width: 100%; height: 26vh; bottom: auto; }
	.mnu-b .mnu-inner { padding-top: calc(26vh + 24px); }
	.mnu-b .mnu-t, .mnu-a .mnu-t { font-size: clamp(2.2rem, 10vw, 3.2rem); }
	.mnu-c .mnu-t { font-size: clamp(2.4rem, 12vw, 3.6rem); }
	.mnu-d .mnu-bg, .mnu-d .mnu-inner { width: 100%; }
	.mnu-d .mnu-t { font-size: clamp(.98rem, 4.4vw, 1.2rem); left: 10px; right: 8px; bottom: 9px; }

	.mobile-bar { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(237, 241, 240, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(0); transition: transform .5s var(--ease); }
	.mobile-bar.is-hidden { transform: translateY(110%); }
	.mb-call { display: flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 52px; border: 1px solid var(--line); border-radius: var(--drop); color: var(--lago); font-weight: 500; }
	.mb-book { min-height: 52px; border-radius: var(--drop); background: var(--oro); color: var(--notte); font-weight: 600; }

	.split, .split-left, .hA-intro-grid, .hB-intro-grid, .hB-spa-grid, .p-intro-grid, .s-list-grid, .room-row-grid, .room-row-alt .room-row-grid, .room-body, .contact-grid, .garda-head, .hB-rooms-grid, .hA-gusto-head, .hB-gusto-head, .hB-rooms-head, .s-head, .hA-spa-body { grid-template-columns: 1fr; }
	.split-left .split-media, .room-row-alt .room-row-media { order: 0; }
	.split-small, .room-row-small { width: 42%; right: 0; bottom: -10%; border-width: 6px; }
	.split-left .split-small, .room-row-alt .room-row-small { left: auto; right: 0; }
	.split-media { margin-bottom: 8%; }
	.room-row-media { margin-bottom: 10%; }

	.facts-row, .hB-facts-row { grid-template-columns: 1fr 1fr; row-gap: 28px; }
	.fact:nth-child(3), .hB-facts-row p:nth-child(3) { border-left: 0; padding-left: 0; }
	.hB-facts-row p { padding-block: 22px; }
	.cards-4, .cards-3 { grid-template-columns: 1fr 1fr; }
	.garda-grid, .arches { grid-template-columns: 1fr; }
	.garda-item:nth-child(2), .arch-card:nth-child(2) { margin-top: 0; }
	.ticks-2 { grid-template-columns: 1fr; }

	.bk-bar, .bk-inline { grid-template-columns: 1fr; }
	.bk-bar .bk-submit, .bk-inline .bk-submit { width: 100%; }
	.bk-pop { position: fixed; left: 12px; right: 12px; top: auto !important; bottom: 12px !important; z-index: 95; }

	/* Riva */
	.hA-book { display: none; }
	.hA-content { bottom: 100px; }
	.hB-over { bottom: 96px; }
	.hC-after { bottom: 96px; }
	.hA-collage { height: 92vw; }
	.hA-rooms { overflow: visible; }
	.hscroll-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 80px; scrollbar-width: none; }
	.hscroll-track::-webkit-scrollbar { display: none; }
	.hA-rooms-head { width: 84vw; flex: none; scroll-snap-align: start; }
	.room-card { width: 80vw; flex: none; scroll-snap-align: start; }
	.hA-rooms-end { width: 70vw; flex: none; }
	.hA-spa-media { height: 82svh; }
	.venue a { grid-template-columns: 1fr; gap: .6rem; }
	.venue-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; order: -1; margin-bottom: .6rem; }
	.venue-img img { width: 100%; height: 100%; object-fit: cover; }
	.venue-float { display: none; }

	/* Orizzonte */
	.hB-name { flex-direction: column; gap: calc(50svh + 1.5rem); }
	.hB-line { top: auto; bottom: 22px; }
	.hB-w { font-size: clamp(3.6rem, 19vw, 7rem); }
	.hB-arch { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
	.horizon { top: calc(50% + 25svh); }
	.cols3 { height: 120vw; }
	.hB-rooms-frame { display: none; }
	.hB-room { min-height: 0; }
	.hB-room-mobile { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: .6rem; }
	.hB-room-mobile img { width: 100%; height: 100%; object-fit: cover; }
	.hB-spa-media { max-width: 520px; }

	/* Notturno */
	.hC-intro-line { bottom: 24px; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
	.stack-shade { background: linear-gradient(180deg, rgba(8, 32, 43, .1) 20%, rgba(8, 32, 43, .85)); }
	.strip-item, .strip-item.tall { width: 72vw; height: 52vh; }
	.hC-strip-head { flex-direction: column; align-items: start; }

	.gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; }
	.gal-0 { grid-column: span 2; grid-row: span 1; }
	.gal-1, .gal-2, .gal-3, .gal-4, .gal-5 { grid-column: span 1; }
	.room-specs-row .btn { margin-left: 0; width: 100%; }
	.ft-top { grid-template-columns: 1fr 1fr; }
	.ft-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.cards-4, .cards-3, .contact-cards { grid-template-columns: 1fr; }
	.ft-top { grid-template-columns: 1fr; }
	.ft-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.hA-loader, .hD-blinds, .hC-mask { display: none !important; }
	.hB-over, .hC-after { opacity: 1 !important; visibility: visible !important; }
	.words .w { opacity: 1 !important; }
}

/* Barra admin WordPress (solo utenti loggati) */
.admin-bar { --wpab: 32px; }
@media (max-width: 782px) { .admin-bar { --wpab: 46px; } }

/* ==========================================================================
   Aperture automatiche: stato iniziale finché parte l'animazione
   ========================================================================== */
.cv-anim [data-ih] { visibility: hidden; }
.cv-anim .hC-letters { opacity: 0; }
.tpl-home-orizzonte.hero-open .site-header:not(.is-scrolled) { color: #fff; }
.tpl-home-orizzonte.hero-open .site-header:not(.is-scrolled)::before { opacity: 1; }
html:not(.cv-anim) .tpl-home-orizzonte .hB-arch.is-done, .hB-hero.is-open .hB-arch { clip-path: inset(0 0 0 0 round 0) !important; }
.hB-hero.is-open .hB-over { opacity: 1; visibility: visible; }
.hB-hero.is-open .hB-shade { opacity: 1; }
.hB-hero.is-open .hB-w, .hB-hero.is-open .hB-line, .hB-hero.is-open .horizon { opacity: 0; }

/* ==========================================================================
   DEMO 4 · GIORNATA
   ========================================================================== */
.hD-hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; color: #fff; background: var(--notte); }
.hD-slides, .hD-slide, .hD-media { position: absolute; inset: 0; }
.hD-slide { visibility: hidden; z-index: 1; }
.hD-slide.is-on { visibility: visible; z-index: 2; }
.hD-slide.is-prev { visibility: visible; z-index: 1; }
.hD-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hD-shade { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(8, 32, 43, .35) 0%, rgba(8, 32, 43, 0) 30%, rgba(8, 32, 43, .2) 55%, rgba(8, 32, 43, .78) 100%); pointer-events: none; }
.hD-caption { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(120px, 17vh, 170px); }
.hD-kicker { font-size: 1rem; margin-bottom: 1.2rem; color: rgba(255, 255, 255, .85); }
.hD-caps { position: relative; display: grid; }
.hD-cap { grid-area: 1 / 1; align-self: end; max-width: 1000px; visibility: hidden; }
.hD-cap.is-on { visibility: visible; }
.hD-title { font-family: var(--serif); font-variation-settings: "opsz" 22; font-weight: 500; font-size: clamp(2.4rem, min(6.4vw, 10.5vh), 6.6rem); line-height: .98; letter-spacing: -.02em; max-width: 14ch; text-shadow: 0 2px 34px rgba(8, 32, 43, .3); }
.hD-text { margin-top: 1.2rem; max-width: 46ch; font-size: clamp(1rem, 1.2vw, 1.15rem); color: rgba(255, 255, 255, .88); }
.hD-bottom { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(28px, 5vh, 48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hD-progress { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(90px, 180px); gap: 14px; }
.hD-step { text-align: left; display: grid; gap: 10px; color: rgba(255, 255, 255, .6); font-size: .92rem; transition: color .4s; }
.hD-step.is-on, .hD-step:hover { color: #fff; }
.hD-bar { display: block; height: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hD-bar i { display: block; height: 100%; width: 100%; background: var(--oro-l); transform: scaleX(0); transform-origin: left; }
.hD-step.is-done .hD-bar i { transform: scaleX(1); }
.hD-blinds { position: absolute; inset: 0; z-index: 8; display: grid; grid-template-columns: repeat(7, 1fr); pointer-events: none; }
.hD-blinds span { background: var(--lago); margin-right: -1px; }
html:not(.cv-anim) .hD-blinds { display: none; }

.hD-intro-inner { text-align: center; display: grid; justify-items: center; }
.hD-mark { width: 56px; height: 56px; margin-bottom: 2rem; }
.hD-intro .kicker::before { display: none; }
.hD-statement { font-family: var(--serif); font-variation-settings: "opsz" 34; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.2; max-width: 30ch; color: var(--lago); margin-bottom: 2.4rem; text-wrap: balance; }
.hD-intro .prose { margin-inline: auto; }

.hD-panels { display: flex; height: 92vh; min-height: 560px; gap: 6px; padding: 0 6px; background: #fff; }
.hD-panel { position: relative; flex: 1; overflow: hidden; color: #fff; border-radius: 4px; transition: flex 1.1s var(--ease); min-width: 0; }
.hD-panel.is-open { flex: 4.2; }
.hD-panel-img, .hD-panel-shade { position: absolute; inset: 0; }
.hD-panel-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.hD-panel.is-open .hD-panel-img img { transform: none; }
.hD-panel-shade { background: linear-gradient(180deg, rgba(8, 32, 43, .25), rgba(8, 32, 43, .78)); transition: background .8s; }
.hD-panel:not(.is-open) .hD-panel-shade { background: rgba(8, 32, 43, .55); }
.hD-panel-k { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-family: var(--serif); font-size: 1.6rem; white-space: nowrap; transition: opacity .5s; }
.hD-panel.is-open .hD-panel-k { opacity: 0; }
.hD-panel-body { position: absolute; left: clamp(24px, 3vw, 48px); right: clamp(24px, 3vw, 48px); bottom: clamp(28px, 5vh, 56px); display: grid; gap: 1rem; max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .9s var(--ease); }
.hD-panel.is-open .hD-panel-body { opacity: 1; transform: none; transition-delay: .35s; }
.hD-panel-t { font-family: var(--serif); font-variation-settings: "opsz" 22; font-weight: 500; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1.02; }
.hD-panel-x { color: rgba(255, 255, 255, .85); }
.hD-panel-c { justify-self: start; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 500; }
.hD-facts { margin-top: 6px; }

@media (max-width: 900px) {
	.hD-caption { bottom: 200px; }
	.hD-bottom { flex-direction: column; align-items: stretch; gap: 18px; bottom: 96px; }
	.hD-bottom > .btn { display: none; }
	.hD-progress { grid-auto-columns: 1fr; gap: 8px; }
	.hD-step { font-size: .8rem; }
	.hD-panels { flex-direction: column; height: auto; gap: 6px; }
	.hD-panel, .hD-panel.is-open { flex: none; height: 78vw; min-height: 300px; }
	.hD-panel-k { display: none; }
	.hD-panel-body { opacity: 1; transform: none; }
	.hD-panel:not(.is-open) .hD-panel-shade { background: linear-gradient(180deg, rgba(8, 32, 43, .2), rgba(8, 32, 43, .78)); }
	.hD-panel-x { display: none; }
}

@media (max-width: 900px) { .p-hero-content { padding-bottom: 96px; } }
