/* Villa Lux, Hvar: premium demo.
 * Palette: vapnenac (limestone) ground, smola (pine resin) ink, one lavender accent from Hvar's fields.
 * Type: Instrument Serif (display, quotes; latin + latin-ext subsets) + General Sans (text, UI; one official variable file). Self-hosted, metric-matched fallbacks.
 * Rhythm: 8 px base; sections breathe on one fluid step (--section); every heading block = eyebrow, title, lead.
 * Motion: html.motion is set by motion.js only when motion is allowed and the libraries loaded. UI transitions 150–400 ms ease-out.
 */

/* ---------- fonts ---------- */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/instrument-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/instrument-serif-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* General Sans: the official Fontshare WOFF2, unmodified (the ITF Free Font License does not allow subsetting); it already covers Croatian. */
@font-face { font-family: "General Sans"; font-style: normal; font-weight: 200 700; font-display: swap; src: url("../assets/fonts/GeneralSans-Variable.woff2") format("woff2"); }
/* Metric-matched fallbacks (measured with fontTools against Times New Roman / Arial), so the swap does not move the layout. */
@font-face { font-family: "Instrument Serif Fallback"; src: local("Times New Roman"), local("TimesNewRomanPSMT"), local("Times"); size-adjust: 83.68%; ascent-override: 118.3%; descent-override: 37.04%; line-gap-override: 0%; }
@font-face { font-family: "General Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 100.09%; ascent-override: 100.91%; descent-override: 23.98%; line-gap-override: 9.99%; }

:root {
  --lime: #EDEAE4;
  --lime-2: #F5F3EF;
  --stone: #D9D3C7;
  --ink: #1C2421;
  --ink-2: #4A524E;
  --lav: #5B4A78;
  --lav-d: #4A3C63;
  --lav-l: #CDBFE3;
  --on-dark: #EDEAE4;
  --on-dark-2: #BAC0BB;
  --line-dark: rgba(237, 234, 228, .16);
  --serif: "Instrument Serif", "Instrument Serif Fallback", "Times New Roman", serif;
  --sans: "General Sans", "General Sans Fallback", Arial, system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --section: clamp(96px, 11vw, 168px);
  --frame: clamp(8px, .85vw, 14px);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 144px;
  --head-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t: 280ms;
  --t-slow: 400ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--head-h) + 8px); background: var(--lime); }
html:not(.motion) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--lime); color: var(--ink);
  font: 400 17px/1.62 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, video, canvas, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color var(--t-fast) ease-out, color var(--t-fast) ease-out; }
a:hover { text-decoration-color: var(--lav); }
button, input, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
.hero :focus-visible, .story :focus-visible, .booking :focus-visible, .foot :focus-visible, .closing :focus-visible, .top:not(.is-solid) :focus-visible, .mbar :focus-visible, .pool :focus-visible, .lightbox :focus-visible { outline-color: var(--lav-l); }
::selection { background: var(--lav-l); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 100; background: var(--ink); color: var(--lime); padding: 12px 16px; transition: top var(--t) var(--ease-out); }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- type ---------- */
.h2 {
  font: 400 clamp(46px, 6.2vw, 96px)/.98 var(--serif);
  letter-spacing: -.018em; text-wrap: balance;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: var(--s3);
  font: 500 12px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--dark { color: var(--on-dark-2); }
.section__lead { max-width: 34em; color: var(--ink-2); margin-top: var(--s3); font-size: 18px; line-height: 1.6; text-wrap: pretty; }
h3 { font: 400 clamp(24px, 2vw, 28px)/1.2 var(--serif); letter-spacing: -.005em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 3px;
  font: 500 15.5px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t) var(--ease-out), color var(--t) var(--ease-out), border-color var(--t) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--lav); color: #fff; }
.btn--solid:hover { background: var(--lav-d); box-shadow: 0 6px 20px -8px rgba(74, 60, 99, .55); }
.btn--light { background: var(--lime); color: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .45); }
.btn__arrow { width: 18px; height: 18px; transition: transform var(--t) var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--on-dark);
  transition: background-color var(--t-slow) var(--ease), color var(--t-slow) var(--ease), transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease);
}
.top.is-solid { background: rgba(237, 234, 228, .9); color: var(--ink); box-shadow: 0 1px 0 rgba(28, 36, 33, .08); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.top.is-hidden { transform: translateY(-100%); }
.top__inner { display: flex; align-items: center; gap: var(--s3); height: var(--head-h); max-width: calc(var(--max) + 2 * var(--frame)); margin-inline: auto; padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; min-height: 44px; padding-top: 10px; }
.brand__name { font: 400 28px/1 var(--serif); letter-spacing: -.01em; }
.brand__place { font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: .78; }
.demo-tag { font: 500 10.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px 4px; border: 1px solid currentColor; border-radius: 99px; opacity: .75; }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s4); }
.nav__list { display: flex; gap: var(--s4); }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; letter-spacing: .01em; text-decoration: none; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--t-slow) var(--ease-out); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.lang { display: flex; gap: 0; }
.lang button { min-width: 40px; min-height: 44px; padding: 0 6px; background: none; border: 0; cursor: pointer; font: 500 12.5px/1 var(--sans); letter-spacing: .12em; opacity: .62; transition: opacity var(--t-fast) ease-out; }
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .5em; text-decoration-thickness: 1px; }
.top__cta { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
.menu-btn__bars, .menu-btn__bars::before { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform var(--t-slow) var(--ease-out); }
.menu-btn__bars { top: 18px; }
.menu-btn__bars::before { content: ""; left: 0; right: 0; top: 7px; }
.nav-open .menu-btn__bars { transform: translateY(3.5px) rotate(45deg); }
.nav-open .menu-btn__bars::before { transform: translateY(-7px) rotate(-90deg); }

@media (max-width: 1023px) {
  :root { --head-h: 64px; }
  .menu-btn { display: block; margin-left: 0; }
  .top__cta { margin-left: auto; padding: 8px 14px; font-size: 14px; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: var(--s5);
    padding: var(--s7) var(--pad) var(--s5); background: var(--ink); color: var(--on-dark);
    opacity: 0; visibility: hidden; transition: opacity var(--t-slow) var(--ease), visibility 0s var(--t-slow);
  }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity var(--t-slow) var(--ease); }
  .nav-open .top { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-open .top__cta { visibility: hidden; }
  .nav__list { flex-direction: column; gap: var(--s1); }
  .nav__list a { font: 400 44px/1.1 var(--serif); }
  .nav__list a::after { display: none; }
  .lang button { font-size: 14px; min-width: 48px; }
  .brand, .demo-tag { position: relative; z-index: 2; }
}
@media (max-width: 479px) {
  .top__inner { gap: 12px; }
  .brand__name { font-size: 25px; }
  .brand__place { display: none; }
  .top__cta { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ---------- hero (desktop: framed film, content bottom-left) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1200px; padding: var(--frame); background: var(--lime); }
.hero__frame { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 6px; overflow: hidden; background: #2b302c; color: var(--on-dark); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster, .hero__video { object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 900ms var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(14, 18, 16, .78) 0%, rgba(14, 18, 16, .42) 34%, rgba(14, 18, 16, 0) 62%),
  linear-gradient(to bottom, rgba(14, 18, 16, .42), rgba(14, 18, 16, 0) 20%),
  linear-gradient(to right, rgba(14, 18, 16, .36), rgba(14, 18, 16, 0) 55%); }
.hero__content { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; padding: calc(var(--head-h) + var(--s5)) calc(var(--pad) - var(--frame)) clamp(28px, 5vh, 56px); }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; font-weight: 400; }
.hero__title .hero__kicker { order: -1; }
.hero__kicker { display: block; max-width: 60em; font: 500 13px/1.45 var(--sans); text-wrap: balance; letter-spacing: .14em; text-transform: uppercase; color: rgba(237, 234, 228, .9); text-shadow: 0 1px 12px rgba(10, 12, 11, .35); }
.hero__name { display: block; margin: var(--s2) 0 var(--s3) -.04em; font: 400 clamp(104px, 15.5vw, 252px)/.82 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.hero__line { display: inline-block; overflow: hidden; padding: 0 .06em .08em; margin: 0 -.06em -.08em; vertical-align: top; }
.hero__line > span { display: inline-block; }
.hero__line--b { font-style: italic; letter-spacing: -.01em; }
.hero__lead { max-width: 29em; font-size: 18px; line-height: 1.55; color: rgba(237, 234, 228, .92); text-shadow: 0 1px 14px rgba(10, 12, 11, .4); text-wrap: pretty; }
.hero__aside { position: absolute; right: calc(var(--pad) - var(--frame)); bottom: clamp(28px, 5vh, 56px); display: flex; flex-direction: column; align-items: center; gap: var(--s3); }
.hero__scroll { font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; min-width: 44px; padding: 6px 0; }
.hero__scroll::after { content: ""; width: 1px; height: 56px; background: currentColor; opacity: .75; transform-origin: top; animation: scrollcue 2.6s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.vid-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(237, 234, 228, .38); background: rgba(14, 18, 16, .28); color: var(--on-dark); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out); }
.vid-toggle:hover { background: rgba(14, 18, 16, .5); border-color: rgba(237, 234, 228, .7); }
.vid-toggle svg { width: 18px; height: 18px; }
.vid-toggle .i-play, .vid-toggle[aria-pressed="true"] .i-pause { display: none; }
.vid-toggle[aria-pressed="true"] .i-play { display: block; }

/* booking bar: button-style fields (no native date inputs) */
.bar {
  position: relative; margin-top: var(--s5); max-width: 880px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .82fr) auto; align-items: stretch;
  background: rgba(16, 20, 18, .4); border: 1px solid rgba(237, 234, 228, .22); border-radius: 4px;
  -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
}
.bar__field { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 72px; padding: 12px 22px; border: 0; border-right: 1px solid rgba(237, 234, 228, .16); background: none; color: inherit; text-align: left; }
.bar__date { cursor: pointer; transition: background-color var(--t) var(--ease-out); }
.bar__date:hover, .bar__date[aria-expanded="true"] { background: rgba(237, 234, 228, .08); }
.bar__date:focus-visible { outline-offset: -4px; }
.bar__label { font: 500 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(237, 234, 228, .74); }
.bar__value { font: 400 17px/1.3 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__value.is-empty { color: rgba(237, 234, 228, .82); }
.bar__guests { border-right: 0; }
.stepper { display: inline-flex; align-items: center; gap: 4px; margin-left: -10px; }
.stepper__btn { width: 44px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 3px; background: none; cursor: pointer; font-size: 20px; line-height: 1; transition: background-color var(--t-fast) ease-out; }
.stepper__btn:hover:not(:disabled) { background: rgba(237, 234, 228, .12); }
.stepper__btn:disabled { opacity: .35; cursor: default; }
.stepper__val { min-width: 1.6em; text-align: center; font-size: 17px; font-variant-numeric: tabular-nums; }
.bar__go { margin: 10px; align-self: center; min-height: 52px; }
.bar__err { grid-column: 1 / -1; padding: 0 22px 12px; color: #FFD9CC; font-size: 15px; }

@media (max-width: 1100px) and (min-width: 768px) {
  .hero__aside { top: calc(var(--head-h) + 18px); bottom: auto; }
  .hero__scroll { display: none; }
  .bar { grid-template-columns: 1fr 1fr 1fr; }
  .bar__go { grid-column: 1 / -1; margin: 0 10px 10px; }
  .bar__field { border-bottom: 1px solid rgba(237, 234, 228, .16); }
}

/* ---------- hero, phones: film on top melting into ink, content below ---------- */
@media (max-width: 767px) {
  .hero { height: auto; min-height: 0; max-height: none; padding: 0; background: var(--ink); }
  .hero__frame { display: block; height: auto; border-radius: 0; background: var(--ink); }
  .hero__media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 4 / 5; max-height: 66svh; }
  .hero__shade { background:
    linear-gradient(to top, var(--ink) 0%, rgba(28, 36, 33, .72) 22%, rgba(28, 36, 33, 0) 52%),
    linear-gradient(to bottom, rgba(14, 18, 16, .5), rgba(14, 18, 16, 0) 26%); }
  .hero__content { margin-top: -26vw; padding: 0 var(--pad) var(--s5); }
  .hero__kicker { font-size: 11.5px; letter-spacing: .13em; max-width: 26em; }
  .hero__name { font-size: clamp(84px, 26vw, 132px); line-height: .84; margin: 12px 0 var(--s2) -.03em; white-space: normal; }
  .hero__lead { font-size: 16.5px; }
  .hero__aside { right: var(--pad); top: calc(var(--head-h) + 12px); bottom: auto; }
  .hero__scroll { display: none; }
  .bar { grid-template-columns: 1fr 1fr; margin-top: var(--s4); background: rgba(237, 234, 228, .06); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .bar__field { min-height: 68px; padding: 10px 16px; border-bottom: 1px solid rgba(237, 234, 228, .14); }
  .bar__date:nth-child(2) { border-right: 0; }
  .bar__value { font-size: 16px; }
  .bar__guests { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-height: 60px; }
  .stepper { margin: 0 -8px 0 0; }
  .bar__go { grid-column: 1 / -1; margin: 10px; min-height: 52px; }
}

/* ---------- date picker (popover on desktop, bottom sheet on phones) ---------- */
.picker {
  position: absolute; left: 0; bottom: calc(100% + 12px); z-index: 30; width: min(700px, calc(100vw - 2 * var(--pad)));
  padding: 22px 24px 18px; background: var(--lime-2); color: var(--ink); border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(10, 14, 12, .55), 0 0 0 1px rgba(28, 36, 33, .06);
  transform-origin: 30% 100%; animation: pk-in var(--t) var(--ease-out);
}
@keyframes pk-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.picker__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s2); padding-right: 0; }
.picker__title { font: 400 26px/1.15 var(--serif); }
.picker__sub { margin-top: 2px; font-size: 14.5px; color: var(--ink-2); min-height: 1.5em; }
.picker__close { width: 44px; height: 44px; margin: -10px -10px 0 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: background-color var(--t-fast) ease-out; }
.picker__close:hover { background: rgba(28, 36, 33, .07); }
.picker__close svg { width: 18px; height: 18px; }
.picker__body { position: relative; margin-top: 14px; }
.picker__nav { position: absolute; inset: -4px 0 auto 0; display: flex; justify-content: space-between; pointer-events: none; }
.picker__nav button { pointer-events: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: background-color var(--t-fast) ease-out; }
.picker__nav button:hover:not(:disabled) { background: rgba(28, 36, 33, .07); }
.picker__nav button:disabled { opacity: .3; cursor: default; }
.picker__nav svg { width: 18px; height: 18px; }
.picker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pk-month__name { height: 36px; display: flex; align-items: center; justify-content: center; font: 500 15px/1 var(--sans); letter-spacing: .02em; text-transform: capitalize; }
.pk-grid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 6px; }
.pk-dow { height: 28px; display: grid; place-items: center; font: 500 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pk-day { position: relative; height: 44px; border: 0; background: none; cursor: pointer; font: 400 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); border-radius: 0; transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out; }
.pk-day:hover:not(:disabled):not(.is-edge) { background: rgba(91, 74, 120, .12); border-radius: 3px; }
.pk-day:disabled { color: rgba(74, 82, 78, .62); cursor: default; text-decoration: line-through; text-decoration-color: rgba(74, 82, 78, .45); }
.pk-day.is-past:disabled { text-decoration: none; color: rgba(74, 82, 78, .5); }
.pk-day.is-range { background: rgba(91, 74, 120, .13); }
.pk-day.is-edge { background: var(--lav); color: #fff; border-radius: 3px; }
.pk-day.is-today::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .6; }
.pk-day:focus-visible { outline: 2px solid var(--lav); outline-offset: -2px; z-index: 1; }
.picker__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--stone); }
.picker__legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); }
.picker__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: -1px; background: var(--lav); }
.picker__legend i.x { background: none; border-top: 1px solid currentColor; width: 12px; height: 0; vertical-align: 3px; }
.picker__actions { display: flex; align-items: center; gap: 6px; }
.picker__clear { min-height: 44px; padding: 0 12px; border: 0; background: none; cursor: pointer; font-size: 14.5px; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; color: var(--ink-2); }
.picker__done { min-height: 44px; padding: 10px 22px; }
.picker-backdrop { display: none; }
@media (max-width: 767px) {
  .picker {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 88svh; overflow: auto; overscroll-behavior: contain;
    padding: 18px var(--pad) calc(16px + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; transform-origin: 50% 100%;
    animation: pk-sheet var(--t-slow) var(--ease-out);
  }
  .picker::before { content: ""; display: block; width: 40px; height: 4px; margin: -6px auto 12px; border-radius: 4px; background: var(--stone); }
  @keyframes pk-sheet { from { transform: translateY(100%); } to { transform: none; } }
  .picker__months { grid-template-columns: 1fr; }
  .pk-month + .pk-month { display: none; }
  .pk-day { height: 46px; font-size: 16px; }
  .picker__legend { display: none; }
  .picker__foot { position: sticky; bottom: calc(-16px - env(safe-area-inset-bottom)); background: var(--lime-2); padding-bottom: 4px; }
  .picker-backdrop { display: block; position: fixed; inset: 0; z-index: 59; background: rgba(10, 14, 12, .5); animation: fade-in var(--t) ease-out; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- intro ---------- */
.intro { padding: var(--section) 0 calc(var(--section) * .8); }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); }
.intro__label { grid-column: 1 / 3; padding-top: 1.1em; align-self: start; margin: 0; }
.intro__text { grid-column: 3 / 12; font: 400 clamp(30px, 3.6vw, 54px)/1.16 var(--serif); letter-spacing: -.012em; text-wrap: pretty; }
.intro__text .w { opacity: .5; transition: opacity .25s linear; }
.facts { grid-column: 3 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: clamp(64px, 7vw, 112px); }
.facts div { border-top: 1px solid var(--ink); padding-top: var(--s2); }
.facts dt { font: 400 24px/1.2 var(--serif); }
.facts dd { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; }
@media (max-width: 899px) {
  .intro__label, .intro__text, .facts { grid-column: 1 / -1; }
  .intro__label { padding-top: 0; }
  .facts { grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); }
}
@media (max-width: 479px) { .facts { grid-template-columns: 1fr; gap: var(--s3); } }

/* ---------- story ---------- */
.story { background: var(--ink); color: var(--on-dark); padding-top: var(--section); }
.story__head { padding-bottom: var(--s6); }
.story__stage { position: relative; }
/* static layout (no motion): chapters stacked as image + text */
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); max-width: var(--max); margin: 0 auto var(--s7); padding-inline: var(--pad); align-items: end; }
.chapter__media { grid-column: 1 / 8; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #2a302d; border-radius: 4px; }
.chapter__media img, .chapter__seq { width: 100%; height: 100%; object-fit: cover; }
.chapter__seq { display: none; }
.chapter__text { grid-column: 8 / 13; max-width: 26rem; padding-bottom: var(--s2); }
.chapter__time { font: 400 64px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; margin-bottom: var(--s2); }
.chapter__title { font: 400 clamp(34px, 3vw, 44px)/1.05 var(--serif); margin-bottom: var(--s2); }
.chapter__text p:last-child { color: rgba(237, 234, 228, .86); font-size: 17px; }
.story__hud { display: none; }
@media (max-width: 899px) {
  .chapter { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s6); }
  .chapter__media, .chapter__text { grid-column: 1; }
  .chapter__media { aspect-ratio: 4 / 5; }
  .chapter__time { font-size: 48px; }
}
/* motion layout: one sticky stage (CSS sticky, so no layout shift and no pin jitter on touch), layers stacked;
   the track's extra height is the scroll distance the story is scrubbed over */
.motion .story__track { height: calc(100vh * 5.2); height: calc(100svh * 5.2); }
.motion .story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.motion .chapter { position: absolute; inset: 0; display: block; max-width: none; margin: 0; padding: 0; }
.motion .chapter__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.motion .chapter__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(14, 18, 16, .78) 0%, rgba(14, 18, 16, .3) 38%, rgba(14, 18, 16, 0) 64%),
  linear-gradient(to right, rgba(14, 18, 16, .35), rgba(14, 18, 16, 0) 50%); }
.motion .chapter__seq { display: block; position: absolute; inset: 0; }
.motion .chapter__text { position: absolute; left: var(--pad); bottom: clamp(96px, 16vh, 168px); max-width: 28rem; padding: 0; }
.motion .chapter__time { display: none; }
.motion .chapter__title { font-size: clamp(40px, 4vw, 60px); }
.motion .chapter--konoba .chapter__media { clip-path: inset(100% 0 0 0); }
.motion .chapter--zalazak .chapter__media { -webkit-mask-image: radial-gradient(circle at var(--sx, 38%) var(--sy, 62%), #000 calc(var(--r, 0%) - 14%), transparent var(--r, 0%)); mask-image: radial-gradient(circle at var(--sx, 38%) var(--sy, 62%), #000 calc(var(--r, 0%) - 14%), transparent var(--r, 0%)); }
.motion .chapter--konoba .chapter__text, .motion .chapter--zalazak .chapter__text { opacity: 0; visibility: hidden; }
.motion .story__hud { display: block; position: absolute; inset: auto var(--pad) 0 var(--pad); z-index: 3; pointer-events: none; }
/* fixed-width box: Instrument Serif has no tabular figures, so a box that hugged the digits would move every minute */
.motion .story__clock { position: absolute; right: 0; bottom: clamp(92px, 15vh, 160px); width: 1.95em; margin: 0; text-align: right; white-space: nowrap; font: 400 clamp(88px, 13vw, 210px)/.8 var(--serif); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; color: var(--on-dark); opacity: .96; }
.motion .story__steps { position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vh, 64px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.motion .story__steps li { padding-top: 14px; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(237, 234, 228, .55); transition: color var(--t-slow) var(--ease); }
.motion .story__steps li.is-on { color: var(--on-dark); }
.motion .story__progress { position: absolute; left: 0; right: 0; bottom: calc(clamp(36px, 6vh, 64px) + 25px); height: 1px; background: rgba(237, 234, 228, .22); }
.motion .story__progress span { position: absolute; inset: 0; background: var(--on-dark); transform-origin: left; transform: scaleX(0); }
@media (max-width: 767px) {
  .motion .chapter__text { right: var(--pad); bottom: 31svh; }
  .motion .chapter__title { font-size: 36px; }
  .motion .chapter__text p:last-child { font-size: 16px; }
  .motion .chapter__media::after { background: linear-gradient(to top, rgba(14, 18, 16, .86) 0%, rgba(14, 18, 16, .55) 50%, rgba(14, 18, 16, 0) 78%); }
  .motion .story__track { height: calc(100vh * 4.4); height: calc(100svh * 4.4); }
  /* the HUD sits above the sticky booking bar (about 72 px) */
  .motion .story__steps { bottom: calc(86px + env(safe-area-inset-bottom)); }
  .motion .story__progress { bottom: calc(111px + env(safe-area-inset-bottom)); }
  .motion .story__clock { left: 0; right: auto; bottom: calc(134px + env(safe-area-inset-bottom)); text-align: left; font-size: 88px; }
  .motion .chapter__text { bottom: calc(232px + env(safe-area-inset-bottom)); }
}

/* ---------- pool: the signature moment ---------- */
.pool { position: relative; background: #0F3C55; color: var(--on-dark); overflow: hidden; }
.pool__media { position: relative; height: 100vh; height: 100svh; max-height: 1080px; min-height: 600px; }
.pool__media picture { position: absolute; inset: 0; }
.pool__img, .pool__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.pool__gl { opacity: 0; transition: opacity .9s var(--ease); touch-action: pan-y; }
.pool__gl.is-ready { opacity: 1; }
.pool__shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(ellipse 62% 70% at 18% 22%, rgba(6, 22, 32, .58) 0%, rgba(6, 22, 32, .28) 55%, rgba(6, 22, 32, 0) 100%),
  linear-gradient(to bottom, rgba(6, 22, 32, .45) 0%, rgba(6, 22, 32, .12) 30%, rgba(6, 22, 32, 0) 48%); }
.pool__text { position: absolute; inset: 0 0 auto 0; padding-top: calc(var(--head-h) + var(--s5)); pointer-events: none; z-index: 1; }
.pool__text .h2 { max-width: 10.5em; text-shadow: 0 2px 24px rgba(6, 20, 30, .35); }
.pool__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s3); }
.pool__specs li { padding: 7px 14px 6px; border: 1px solid rgba(237, 234, 228, .42); border-radius: 99px; font-size: 14px; letter-spacing: .02em; background: rgba(6, 22, 32, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pool__note { max-width: 30em; margin-top: var(--s2); font-size: 16px; color: rgba(237, 234, 228, .94); text-shadow: 0 1px 3px rgba(6, 20, 30, .55), 0 1px 18px rgba(6, 20, 30, .5); }
.pool__hint { position: absolute; right: var(--pad); bottom: var(--s5); z-index: 1; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 99px; background: rgba(8, 26, 38, .45); color: var(--on-dark); font-size: 14.5px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); pointer-events: none; transition: opacity var(--t-slow) var(--ease); }
.pool__hint.is-done { opacity: 0; }
.pool__ring { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; }
.pool__ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid currentColor; animation: ring 2.2s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
@media (max-width: 767px) {
  .pool__media { height: 92svh; min-height: 560px; }
  .pool__text { padding-top: calc(var(--head-h) + var(--s3)); }
  .pool__shade { background: linear-gradient(to bottom, rgba(6, 22, 32, .72) 0%, rgba(6, 22, 32, .45) 30%, rgba(6, 22, 32, 0) 56%); }
  .pool__note { display: none; }
  .pool__hint { left: var(--pad); right: auto; bottom: var(--s4); }
}

/* ---------- generic sections ---------- */
.section { padding: var(--section) 0; }
.section__head { margin-bottom: clamp(48px, 6vw, 88px); }

/* ---------- amenities ---------- */
.amen { padding-bottom: calc(var(--section) * .8); }
.amen__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
.amen__group h3 { padding-top: var(--s2); border-top: 1px solid var(--ink); margin-bottom: var(--s2); }
.amen__group li { padding: 11px 0; border-bottom: 1px solid var(--stone); font-size: 16px; line-height: 1.45; }
@media (max-width: 1080px) { .amen__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .amen__grid { grid-template-columns: 1fr; } }

/* ---------- spaces (horizontal gallery) ---------- */
.spaces { background: var(--lime-2); padding: var(--section) 0 calc(var(--section) * .7); }
.spaces__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); align-items: end; margin-bottom: var(--s6); }
.spaces__head .section__lead { margin-top: 0; }
.spaces__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 6px var(--s3); cursor: grab; }
.spaces__viewport::-webkit-scrollbar { display: none; }
.spaces__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.spaces__viewport:focus-visible { outline-offset: -2px; }
.spaces__track { display: flex; gap: clamp(20px, 2.6vw, 44px); padding-inline: var(--pad); width: max-content; align-items: flex-end; }
.space { scroll-snap-align: start; scroll-margin-left: var(--pad); }
.space figure { display: flex; flex-direction: column; }
.space__img { position: relative; display: block; padding: 0; border: 0; overflow: hidden; background: var(--stone); border-radius: 4px; cursor: zoom-in; transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow) var(--ease-out); }
.space__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.space__img:hover { box-shadow: 0 24px 50px -28px rgba(28, 36, 33, .55); transform: translateY(-4px); }
.space__img:hover img { transform: scale(1.04); }
.space__img:active { transform: translateY(-1px) scale(.995); }
.space__zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(245, 243, 239, .9); opacity: 0; transform: scale(.85); transition: opacity var(--t) var(--ease-out), transform var(--t) var(--ease-out); }
.space__zoom::before, .space__zoom::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--ink); }
.space__zoom::after { transform: rotate(90deg); }
.space__img:hover .space__zoom, .space__img:focus-visible .space__zoom { opacity: 1; transform: none; }
.space .space__img { height: clamp(260px, 44vh, 460px); aspect-ratio: 3 / 2; }
.space--wide .space__img { height: clamp(320px, 58vh, 620px); }
.space--tall .space__img { height: clamp(340px, 58vh, 620px); aspect-ratio: 4 / 5; }
.space figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: var(--s2); max-width: 34ch; }
.space__name { font: 400 25px/1.15 var(--serif); }
.space__meta { font-size: 14.5px; color: var(--ink-2); }
.spaces__foot { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s4); }
.spaces__bar { position: relative; flex: 1; height: 1px; background: var(--stone); }
.spaces__bar span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(.1); transform-origin: left; }
.spaces__hint { font-size: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 767px) {
  .spaces__head { grid-template-columns: 1fr; margin-bottom: var(--s5); }
  .spaces__track { align-items: flex-start; }
  .space .space__img, .space--wide .space__img { height: auto; width: 84vw; aspect-ratio: 3 / 2; }
  .space--tall .space__img { height: auto; width: 66vw; aspect-ratio: 4 / 5; }
  .spaces__viewport { cursor: auto; }
}
.motion .spaces--h { padding: 0; }
.motion .spaces--h .spaces__viewport { overflow: visible; scroll-snap-type: none; padding-bottom: 0; cursor: auto; }
.motion .spaces--h .spaces__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--head-h) + var(--s4)) 0 var(--s5); }
.motion .spaces--h .spaces__head { margin-bottom: var(--s5); }
.motion .spaces--h .spaces__track { will-change: transform; }
.motion .spaces--h .space__img img { scale: 1.1; }

/* ---------- plan ---------- */
.plan__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s7); align-items: start; }
.plan__intro { position: sticky; top: calc(var(--head-h) + var(--s4)); }
.plan__tabs { position: relative; display: inline-flex; margin-top: var(--s5); padding: 4px; border-radius: 99px; background: var(--stone); }
.plan__tabs button { position: relative; z-index: 1; min-height: 44px; padding: 0 22px; background: none; border: 0; border-radius: 99px; cursor: pointer; font-size: 15px; transition: color var(--t) var(--ease-out), background-color var(--t) var(--ease-out); }
.plan__tabs button[aria-selected="true"] { background: var(--ink); color: var(--lime); }
.plan__peek { margin-top: var(--s5); display: grid; grid-template-columns: 148px 1fr; gap: var(--s3); align-items: center; min-height: 104px; }
.plan__peek-img { position: relative; aspect-ratio: 3 / 2; border-radius: 4px; overflow: hidden; background: var(--stone); }
.plan__peek-img::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(28, 36, 33, .05) 0 6px, transparent 6px 12px); }
.plan__peek-img img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; animation: peek-in var(--t-slow) var(--ease-out); }
@keyframes peek-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.plan__peek figcaption { display: flex; flex-direction: column; gap: 4px; }
.plan__peek-name { font: 400 24px/1.15 var(--serif); }
.plan__peek-meta { font-size: 14.5px; color: var(--ink-2); }
.plan__panel { grid-column: 2; grid-row: 1; }
.plan__sheet { background: var(--lime-2); border: 1px solid var(--stone); border-radius: 4px; padding: clamp(8px, 2vw, 24px); }
.plan__svg { width: 100%; height: auto; overflow: visible; }
.plan__walls rect, .plan__walls line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: square; }
.js .plan__walls rect, .js .plan__walls line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .plan:not(.is-drawn) .plan__walls rect, .js .plan:not(.is-drawn) .plan__walls line { stroke-dashoffset: 1; }
.js .plan .plan__walls rect, .js .plan .plan__walls line { transition: stroke-dashoffset 1.4s var(--ease-out); }
.js .plan:not(.is-drawn) .plan__labels, .js .plan:not(.is-drawn) .plan__rooms { opacity: 0; }
.plan__labels, .plan__rooms { transition: opacity .8s var(--ease) .5s; }
.plan__rooms rect { fill: transparent; stroke: none; transition: fill var(--t) var(--ease-out); cursor: pointer; }
.plan__rooms .plan__water { fill: rgba(57, 125, 160, .16); stroke: var(--ink); stroke-width: 1; }
.plan__rooms .plan__open { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 5; }
.plan__rooms rect:hover, .plan__rooms rect.is-on { fill: rgba(91, 74, 120, .2); }
.plan__rooms .plan__water.is-on, .plan__rooms .plan__water:hover { fill: rgba(57, 125, 160, .34); }
.plan__labels text { font: 400 24px var(--serif); fill: var(--ink); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.plan__north path { fill: var(--ink); }
.plan__north text { font: 500 11px var(--sans); letter-spacing: .1em; fill: var(--ink); text-anchor: middle; }
.plan__legend { margin-top: var(--s4); counter-reset: room; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); }
.plan__legend li { counter-increment: room; border-bottom: 1px solid var(--stone); }
.plan__legend button { width: 100%; min-height: 52px; display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 8px; padding: 13px 10px 12px 6px; border: 0; background: none; text-align: left; font-size: 15.5px; cursor: pointer; border-radius: 3px; transition: background-color var(--t) var(--ease-out), padding var(--t) var(--ease-out); }
.plan__legend button::before { content: counter(room); font: 400 20px/1 var(--serif); }
.plan__legend button:hover, .plan__legend button.is-on { background: rgba(91, 74, 120, .1); padding-left: 12px; }
.plan__legend button[aria-pressed="true"] { background: rgba(91, 74, 120, .16); }
.plan__legend small { color: var(--ink-2); font-size: 14px; white-space: nowrap; }
@media (max-width: 899px) {
  .plan__grid { grid-template-columns: 1fr; }
  .plan__intro { position: static; }
  .plan__panel { grid-column: 1; grid-row: auto; }
  .plan__legend { grid-template-columns: 1fr; }
  .plan__peek { grid-template-columns: 120px 1fr; }
}

/* ---------- area ---------- */
.area__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5) var(--s4); align-items: start; }
.area__frame { overflow: hidden; border-radius: 4px; }
.area__photo img { width: 100%; height: 100%; object-fit: cover; }
.area__photo figcaption { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; }
.area__photo--a { grid-column: 1 / 8; }
.area__photo--a img { aspect-ratio: 3 / 2; }
.area__photo--b { grid-column: 9 / 13; margin-top: var(--s8); }
.area__photo--b img { aspect-ratio: 4 / 5; }
.places { grid-column: 1 / 7; margin-top: var(--s4); }
.places li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 15px 0; border-bottom: 1px solid var(--stone); }
.places li:first-child { border-top: 1px solid var(--ink); }
.places__name { font: 400 22px/1.25 var(--serif); }
.places__dist { color: var(--ink-2); font-size: 14.5px; white-space: nowrap; }
.area__photo--c { grid-column: 8 / 13; grid-row: 2 / span 2; margin-top: var(--s4); }
.area__map { grid-column: 1 / 7; }
.area__map iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: 4px; filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.02); }
.area__map p { margin-top: 6px; font-size: 15px; }
.area__map a { display: inline-flex; align-items: center; min-height: 44px; }
.area__photo--c img { aspect-ratio: 3 / 2; }
@media (max-width: 899px) {
  .area__photo--a, .area__photo--c, .places, .area__map { grid-column: 1 / -1; }
  .area__photo--c { grid-row: auto; }
  .area__photo--b { grid-column: 4 / -1; margin-top: 0; }
  .places { margin-top: 0; }
}

/* ---------- reviews ---------- */
.reviews { padding-top: 0; }
.reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s6); }
.review { padding-top: var(--s3); border-top: 1px solid var(--ink); }
.review blockquote p { font: italic 400 clamp(23px, 1.9vw, 27px)/1.32 var(--serif); text-wrap: pretty; }
.review__who { margin-top: var(--s3); font-size: 14.5px; color: var(--ink-2); }
.reviews__note { margin-top: var(--s5); font-size: 14px; color: var(--ink-2); }
@media (max-width: 899px) { .reviews__list { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- booking ---------- */
.booking { background: var(--ink); color: var(--on-dark); padding: var(--section) 0; }
.booking__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s4) var(--s6); align-items: end; margin-bottom: var(--s6); }
.booking__owner { color: var(--on-dark-2); font-size: 17px; max-width: 32em; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s5); align-items: start; }
.booking__frame { min-width: 0; }
.booking__widget { min-height: 560px; }
.booking__fallback { display: flex; flex-direction: column; gap: 8px; color: var(--on-dark-2); padding: var(--s4); border: 1px solid var(--line-dark); border-radius: 4px; }
.booking__fallback a { display: inline-flex; min-height: 44px; align-items: center; }
.booking__side { display: flex; flex-direction: column; gap: var(--s5); }
.side-block h3 { margin-bottom: var(--s2); }
.steps { counter-reset: st; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 32px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line-dark); color: var(--on-dark-2); font-size: 15.5px; }
.steps li::before { content: counter(st); font: 400 21px/1.25 var(--serif); color: var(--on-dark); }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; }
.prices li > span { display: flex; flex-direction: column; }
.prices small { color: var(--on-dark-2); font-size: 13.5px; }
.prices b { font: 400 26px/1 var(--serif); white-space: nowrap; }
.side-note { margin-top: var(--s2); font-size: 14px; color: var(--on-dark-2); }
.side-help { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15.5px; }
.side-help span { width: 100%; color: var(--on-dark-2); }
.side-help a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1080px) { .booking__head, .booking__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .booking__frame { margin-inline: calc(var(--pad) * -1 + 8px); } }

/* ---------- rules ---------- */
.rules__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); margin-top: var(--s6); }
.rules h3 { padding-top: var(--s2); border-top: 1px solid var(--ink); margin-bottom: var(--s3); }
.arrive { counter-reset: ar; }
.arrive li { counter-increment: ar; display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 15px 0; border-bottom: 1px solid var(--stone); }
.arrive li::before { content: counter(ar); grid-row: span 2; font: 400 30px/1 var(--serif); }
.arrive b { font-weight: 500; }
.arrive span { color: var(--ink-2); font-size: 16px; }
.house-rules li { padding: 15px 0 15px 28px; border-bottom: 1px solid var(--stone); position: relative; font-size: 16px; }
.house-rules li::before { content: ""; position: absolute; left: 4px; top: 1.55em; width: 10px; height: 1px; background: var(--ink); }
@media (max-width: 899px) { .rules__grid { grid-template-columns: 1fr; gap: var(--s5); } }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: #3a2a1c; }
.closing__media { position: absolute; inset: 0; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; }
.closing__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 16, 14, .62), rgba(18, 16, 14, 0) 62%); }
.closing__inner { position: relative; padding-block: var(--s8) var(--s7); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); }
.closing__title { font: 400 clamp(48px, 7vw, 116px)/.98 var(--serif); letter-spacing: -.02em; max-width: 11em; text-wrap: balance; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-dark); padding: var(--s7) 0 calc(var(--s5) + env(safe-area-inset-bottom)); font-size: 15.5px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid var(--line-dark); }
.foot__brand { font: 400 40px/1 var(--serif); margin-bottom: var(--s2); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__lang { flex-direction: column; align-items: flex-start; }
.foot__lang button { min-height: 44px; padding: 0; font: 400 15.5px/1 var(--sans); letter-spacing: 0; text-transform: none; }
.foot__demo { padding-top: var(--s3); color: var(--on-dark-2); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
@media (max-width: 767px) { .foot__grid { grid-template-columns: 1fr; } .foot { padding-bottom: calc(var(--s5) + 76px + env(safe-area-inset-bottom)); } }

/* ---------- mobile booking bar ---------- */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: rgba(28, 36, 33, .96); color: var(--on-dark);
    transform: translateY(110%); transition: transform var(--t-slow) var(--ease-out);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mbar.is-on { transform: none; }
  .mbar__price { font-size: 14.5px; }
  .mbar__price b { font: 400 24px/1 var(--serif); }
  .mbar .btn { padding-inline: 18px; }
}

/* ---------- lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14, 17, 15, .96); color: var(--on-dark); overscroll-behavior: contain; }
.lightbox[open] { display: grid; place-items: center; animation: fade-in var(--t) ease-out; }
.lightbox::backdrop { background: rgba(14, 17, 15, .6); }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: var(--s2); width: min(92vw, 1500px); }
.lightbox__img { position: relative; width: 100%; height: min(78vh, 78dvh); display: grid; place-items: center; }
.lightbox__img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; animation: lb-img var(--t-slow) var(--ease-out); }
@keyframes lb-img { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.lightbox figcaption { display: flex; align-items: baseline; gap: var(--s3); width: 100%; justify-content: center; text-align: center; flex-wrap: wrap; }
.lightbox__name { font: 400 26px/1.2 var(--serif); }
.lightbox__meta { color: var(--on-dark-2); font-size: 15px; }
.lightbox__count { color: var(--on-dark-2); font-size: 13px; letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.lightbox__btn { position: fixed; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(237, 234, 228, .3); background: rgba(14, 17, 15, .4); color: var(--on-dark); cursor: pointer; transition: background-color var(--t) var(--ease-out), border-color var(--t) var(--ease-out); }
.lightbox__btn:hover { background: rgba(237, 234, 228, .12); border-color: rgba(237, 234, 228, .7); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__prev { left: clamp(10px, 2vw, 28px); top: 50%; margin-top: -26px; }
.lightbox__next { right: clamp(10px, 2vw, 28px); top: 50%; margin-top: -26px; }
.lightbox__close { right: clamp(10px, 2vw, 28px); top: clamp(10px, 2vw, 28px); }
@media (max-width: 767px) {
  .lightbox__img { height: 64dvh; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
}

/* ---------- reveal helpers (only with motion) ---------- */


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__video { display: none; }
  .intro__text .w { opacity: 1; }
}

/* ---------- page-load choreography (≤ 1.1 s, CSS only, never blocks content) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media > picture, .js .hero__video { animation: hero-settle 1.6s var(--ease-out) both; }
  .js .hero__line > span { animation: line-rise 1s var(--ease-out) both; animation-delay: .12s; }
  .js .hero__line--b > span { animation-delay: .22s; }
  .js .hero__kicker { animation: soft-rise .8s var(--ease-out) both; animation-delay: .05s; }
  .js .hero__lead { animation: soft-rise .8s var(--ease-out) both; animation-delay: .34s; }
  .js .bar { animation: soft-rise .8s var(--ease-out) both; animation-delay: .44s; }
  .js .hero__aside, .js .top__inner { animation: fade-in .9s var(--ease) both; animation-delay: .3s; }
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes soft-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
