/* Olga Resort — quiet luxury, right-to-left */

:root {
  --bg: #f6f2eb;
  --paper: #fbf8f3;
  --sand: #ece5d9;
  --sand-2: #e2d9ca;
  --ink: #1e1d1a;
  --ink-2: #48443d;
  --muted: #8c857a;
  --line: rgba(30, 29, 26, 0.13);
  --line-strong: rgba(30, 29, 26, 0.32);
  --accent: #9a7b4c;
  --accent-deep: #7d6239;
  --night: #171614;
  --error: #9b3b2e;

  --display: "Frank Ruhl Libre", "Times New Roman", serif;
  --latin: "Cormorant Garamond", "Frank Ruhl Libre", serif;
  --sans: "Assistant", "Heebo", "Arial Hebrew", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --nav-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
::selection { background: var(--sand-2); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- type ---- */

.eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.eyebrow--light { color: rgba(251, 248, 243, 0.82); }

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.display em,
.break__quote em { font-style: normal; color: var(--accent); }

.label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---- buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent-deep); }
.btn--dark:disabled { background: var(--sand-2); color: var(--muted); cursor: not-allowed; }
.btn--line { border: 1px solid currentColor; min-height: 44px; padding: 0 22px; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.link-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.link-btn svg { width: 16px; height: 16px; }

/* ---- navigation ---- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--paper);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-h);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height 0.5s var(--ease);
}
.nav.is-solid,
.page-plain .nav {
  background: rgba(246, 242, 235, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-solid .nav__inner { height: 70px; }

.logo,
.footer__logo {
  font-family: var(--latin);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  direction: ltr;
}
.logo span,
.footer__logo span { font-style: italic; font-weight: 300; }

.nav__links { display: flex; gap: 34px; margin-inline-start: auto; font-size: 15px; }
.nav__links a { position: relative; padding-block: 6px; }
.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__burger { display: none; width: 40px; height: 40px; margin-inline-start: auto; position: relative; }
.nav__burger span {
  position: absolute;
  inset-inline: 8px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 24px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: var(--bg);
}
.menu nav { display: flex; flex-direction: column; gap: 10px; }
.menu nav a { font-family: var(--display); font-size: 40px; font-weight: 300; line-height: 1.3; }
.menu__foot { margin-top: auto; color: var(--muted); direction: ltr; text-align: end; }
body.menu-open { overflow: hidden; }
body.menu-open .nav { color: var(--ink); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ---- hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.8s var(--ease), transform 8s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0.45) 0%, rgba(18, 17, 15, 0) 22%),
    linear-gradient(to left, rgba(18, 17, 15, 0.5) 0%, rgba(18, 17, 15, 0.12) 45%, rgba(18, 17, 15, 0) 65%),
    linear-gradient(0deg, rgba(18, 17, 15, 0.72) 0%, rgba(18, 17, 15, 0.18) 48%, rgba(18, 17, 15, 0) 70%);
}
.hero__content { position: relative; padding-bottom: 150px; }
.hero__title {
  margin: 0 0 24px;
  font-family: var(--latin);
  font-weight: 300;
  font-size: clamp(76px, 12.5vw, 210px);
  line-height: 0.84;
  letter-spacing: -0.02em;
  direction: ltr;
  text-align: right;
}
.hero__title span { display: inline-block; padding-right: 0.5em; font-style: italic; }
.hero__lead { max-width: 520px; margin: 0; font-size: 20px; line-height: 1.6; color: rgba(251, 248, 243, 0.88); }
.hero__progress { position: absolute; inset-inline-end: var(--gutter); bottom: 160px; display: flex; gap: 10px; }
.hero__progress span { position: relative; width: 44px; height: 1px; background: rgba(251, 248, 243, 0.35); overflow: hidden; }
.hero__progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: right;
}
.hero__progress span.is-active::after { animation: progress 6.5s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.hero__bar { position: relative; z-index: 2; transform: translateY(50%); }
.bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(18, 17, 15, 0.45);
}
.bar__field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 96px;
  padding: 0 32px;
  text-align: start;
  border-inline-end: 1px solid var(--line);
  transition: background 0.3s;
}
.bar__field:hover { background: var(--bg); }
.bar__value { font-family: var(--display); font-size: 21px; font-weight: 300; }
.bar__cta { min-height: 96px; padding: 0 44px; font-size: 16px; }

/* ---- sections ---- */

.section { padding-block: clamp(96px, 13vw, 180px); }
.section__head { margin-bottom: clamp(48px, 7vw, 96px); }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* intro */
.intro { padding-top: clamp(150px, 16vw, 230px); }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 48px;
}
.intro__grid .eyebrow { grid-column: 1 / -1; margin: 0; }
.intro .display { grid-column: 1 / 8; }
.intro__text { grid-column: 9 / 13; align-self: end; color: var(--ink-2); }
.intro__text p { margin: 0 0 1.1em; }
.facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}
.facts div { padding: 32px 0 0; padding-inline-end: 24px; }
.facts div + div { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3vw, 44px); line-height: 1.1; }
.facts dd { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

/* spaces */
.spaces { padding-top: 0; }
.space {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: center;
  margin-bottom: clamp(110px, 13vw, 190px);
}
.space:last-child { margin-bottom: 0; }
.space__media { grid-column: 1 / 9; grid-row: 1; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.space__media img,
.space__inset img { width: 100%; height: 100%; object-fit: cover; }
.space__body { grid-column: 9 / 13; grid-row: 1; padding-inline-start: clamp(0px, 3vw, 48px); }
.space__inset {
  position: absolute;
  z-index: 2;
  bottom: -9%;
  inset-inline-start: 59%;
  width: 21%;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(18, 17, 15, 0.45);
}
.space:has(.space__inset) .space__body { align-self: start; padding-top: 4%; }
.space--flip .space__media { grid-column: 5 / 13; }
.space--flip .space__body { grid-column: 1 / 5; padding-inline-start: 0; padding-inline-end: clamp(0px, 3vw, 48px); }
.space--flip .space__inset { inset-inline-start: auto; inset-inline-end: 59%; }
.space__index { display: block; margin-bottom: 18px; font-family: var(--latin); font-style: italic; font-size: 22px; color: var(--accent); }
.space h3 { margin: 0 0 18px; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.space p { margin: 0; color: var(--ink-2); }

/* quote break */
.break { position: relative; height: 92vh; min-height: 520px; overflow: hidden; display: grid; place-items: center; color: var(--paper); }
.break__media { position: absolute; inset: -12% 0; }
.break__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.break__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(18, 17, 15, 0.62) 0%, rgba(18, 17, 15, 0.38) 70%); }
.break__quote {
  position: relative;
  margin: 0;
  padding-inline: var(--gutter);
  text-align: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 108px);
  line-height: 1.05;
}
.break__quote em { color: #e6d3ad; }

/* amenities */
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.amenities__grid li {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 180px;
  padding: 32px 28px;
  background: var(--bg);
  font-size: 17px;
  line-height: 1.4;
  transition: background 0.4s var(--ease);
}
.amenities__grid li:hover { background: var(--paper); }
.amenities__grid svg { width: 36px; height: 36px; color: var(--accent); stroke-width: 1.2; }

/* gallery */
.gallery { padding-top: 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 290px);
  grid-auto-flow: dense;
  gap: 10px;
}
.g { position: relative; overflow: hidden; background: var(--sand); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g--big { grid-column: span 2; grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity 0.6s; }
.g:hover img { transform: scale(1.04); }
.g::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 15, 0);
  transition: background 0.5s var(--ease);
}
.g:hover::after { background: rgba(18, 17, 15, 0.08); }

/* ---- booking ---- */

.booking { background: var(--sand); }
.booking__note { margin: 0; max-width: 420px; font-size: 16px; color: var(--ink-2); }
.notice {
  margin-bottom: 24px;
  padding: 16px 22px;
  background: var(--paper);
  border-inline-start: 2px solid var(--accent);
  font-size: 16px;
}
.booking__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }

.cal { position: relative; background: var(--paper); padding: 34px clamp(20px, 3vw, 44px) 28px; }
.cal__head {
  position: absolute;
  inset-inline: clamp(12px, 2vw, 28px);
  top: 30px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.cal__nav {
  pointer-events: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s;
}
.cal__nav:hover:not(:disabled) { border-color: var(--ink); }
.cal__nav:disabled { opacity: 0.3; cursor: default; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); min-height: 380px; overflow-anchor: none; }
.booking { overflow-anchor: none; }
.cal__loading { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--muted); }
.month__title { margin: 6px 0 22px; text-align: center; font-family: var(--display); font-weight: 400; font-size: 22px; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.month__wd { padding-bottom: 10px; text-align: center; font-size: 12px; font-weight: 500; color: var(--muted); }
.day {
  position: relative;
  aspect-ratio: 1;
  max-height: 52px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  transition: background 0.2s, color 0.2s;
}
.day:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.day:disabled { cursor: default; }
.day.is-past,
.day.is-beyond { color: var(--line-strong); }
.day.is-booked { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(30, 29, 26, 0.35); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(30, 29, 26, 0.045) 6px 7px); }
.day.is-short { color: var(--line-strong); }
.day.is-today::after { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.day.is-range,
.day.is-preview { background: var(--sand); color: var(--ink); text-decoration: none; }
.day.is-start,
.day.is-end { background: var(--ink); color: var(--paper); text-decoration: none; }
.day.is-checkout-only { color: var(--ink); text-decoration: none; background: none; }
.cal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cal__legend { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.cal__legend li { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--line-strong); }
.dot--booked { background: repeating-linear-gradient(135deg, transparent 0 3px, var(--line-strong) 3px 4px); }
.dot--selected { background: var(--ink); border-color: var(--ink); }
.cal__hint { margin: 0; font-size: 15px; color: var(--ink-2); }

.summary { position: sticky; top: 96px; background: var(--paper); padding: 34px 32px; }
.summary__step { display: flex; flex-direction: column; gap: 22px; }
.summary__dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.summary__dates > div { padding: 14px 18px; }
.summary__dates > div + div { border-inline-start: 1px solid var(--line); }
.summary__dates strong { display: block; margin-top: 2px; font-family: var(--display); font-weight: 400; font-size: 19px; }
.summary__guests { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border: 1px solid var(--line); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}
.stepper button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.stepper button:disabled { opacity: 0.3; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font-family: var(--display); font-size: 20px; }
.summary__empty { margin: 0; font-size: 15px; color: var(--muted); }
.price { margin: 0; }
.price div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 16px; }
.price dt { color: var(--ink-2); }
.price dd { margin: 0; font-variant-numeric: tabular-nums; }
.price .price__total { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; }
.price .price__total dd { font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.2; }
.price .price__due dd { font-weight: 600; }
.price__nights { margin: 0; padding: 0 0 4px; list-style: none; font-size: 13px; color: var(--muted); }
.price__nights li { display: flex; justify-content: space-between; }
.price__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

.summary__mini { margin: 0; padding: 14px 18px; background: var(--bg); font-size: 15px; line-height: 1.5; }
.form__title { margin: 4px 0 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field span { font-size: 13px; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 8px 0 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 17px;
  outline: none;
  transition: border-color 0.3s;
  resize: vertical;
}
.field input[dir="ltr"] { text-align: right; }
.field input:focus,
.field textarea:focus { border-color: var(--ink); }
.field.is-invalid input { border-color: var(--error); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.check a { border-bottom: 1px solid var(--line-strong); }
.form__error { margin: 0; font-size: 15px; color: var(--error); }
.form__secure { display: flex; gap: 10px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.form__secure svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.link-btn--back { align-self: flex-start; }

/* ---- rules ---- */

.rules__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; margin: 0; }
.rules__list div { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.rules__list dt { margin-bottom: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; color: var(--muted); }
.rules__list dd { margin: 0; padding-inline-end: 24px; font-family: var(--display); font-weight: 300; font-size: 22px; line-height: 1.45; }

/* ---- contact ---- */

.contact { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.contact__media { min-height: 640px; overflow: hidden; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__body { padding: clamp(64px, 9vw, 140px) var(--gutter); align-self: center; }
.contact__text { max-width: 460px; margin: 28px 0 36px; color: var(--ink-2); }
.contact__list { margin: 48px 0 0; border-top: 1px solid var(--line); }
.contact__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { font-size: 14px; color: var(--muted); }
.contact__list dd { margin: 0; font-size: 17px; }
.contact__list a { border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.contact__list a:hover { border-color: var(--line-strong); }

/* ---- footer ---- */

.footer { background: var(--night); color: rgba(251, 248, 243, 0.72); padding-block: 72px 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px 24px; align-items: end; }
.footer__logo { font-size: clamp(48px, 7vw, 96px); color: var(--paper); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; }
.footer__links a:hover { color: var(--paper); }
.footer__copy { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 24px; border-top: 1px solid rgba(251, 248, 243, 0.12); font-size: 13px; }
.footer__copy a { border-bottom: 1px solid rgba(251, 248, 243, 0.3); }

/* ---- mobile CTA ---- */

.mobile-cta { display: none; }

/* ---- lightbox ---- */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(18, 17, 15, 0.97);
  color: var(--paper);
}
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lightbox::backdrop { background: rgba(18, 17, 15, 0.9); }
.lightbox__figure { grid-column: 2; margin: 0; display: grid; place-items: center; height: 100%; padding-block: 64px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 128px); object-fit: contain; animation: fade 0.5s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox__nav { display: grid; place-items: center; width: 56px; height: 56px; margin: auto; border-radius: 50%; border: 1px solid rgba(251, 248, 243, 0.25); transition: border-color 0.3s; }
.lightbox__nav:hover { border-color: var(--paper); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox__close { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; display: grid; place-items: center; }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__count { position: absolute; bottom: 18px; inset-inline: 0; margin: 0; text-align: center; font-size: 14px; letter-spacing: 0.1em; color: rgba(251, 248, 243, 0.6); }

/* ---- plain pages: success, payment, 404 ---- */

.plain { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; }
.plain__media { position: relative; overflow: hidden; }
.plain__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plain__body { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 48px) var(--gutter) 64px; }
.plain__body .display { font-size: clamp(38px, 4.4vw, 64px); }
.plain__text { max-width: 480px; margin: 24px 0 0; color: var(--ink-2); }
.details { margin: 36px 0 0; max-width: 520px; border-top: 1px solid var(--line); }
.details div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 15px; }
.details dd { margin: 0; font-size: 17px; text-align: end; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.actions .btn--line { min-height: 52px; }
.demo-badge { align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; background: var(--sand); font-size: 13px; color: var(--ink-2); }
.spinner { width: 28px; height: 28px; margin-bottom: 28px; border: 1px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- reveal on scroll (only when JS runs) ---- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img img { transform: scale(1.12); transition: transform 2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
.js .hero .reveal { transition-duration: 1.4s; }
.js .hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.js .hero .reveal:nth-child(3) { transition-delay: 0.24s; }

/* ---- responsive ---- */

@media (max-width: 1180px) {
  .nav__links { gap: 24px; }
  .amenities__grid { grid-template-columns: repeat(3, 1fr); }
  .booking__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: block; }

  .bar { grid-template-columns: 1fr 1fr; }
  .bar__field { min-height: 76px; padding: 0 20px; border-bottom: 1px solid var(--line); }
  .bar__field:nth-child(3) { display: none; }
  .bar__field:nth-child(2) { border-inline-end: 0; }
  .bar__cta { grid-column: 1 / -1; min-height: 60px; }
  .hero__content { padding-bottom: 120px; }
  .hero__progress { display: none; }

  .intro .display,
  .intro__text { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts div:nth-child(n + 3) { margin-top: 28px; border-top: 1px solid var(--line); }

  .space,
  .space--flip { display: flex; flex-direction: column; align-items: stretch; }
  .space__media { aspect-ratio: 4 / 3; }
  .space__inset { display: none; }
  .space__body,
  .space--flip .space__body { padding: 32px 0 0; }

  .rules__list { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__media { min-height: 0; aspect-ratio: 16 / 10; }
  .plain { grid-template-columns: 1fr; }
  .plain__media { min-height: 38vh; }
  .plain__body { padding-top: 48px; }

  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 243, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta p { margin: 0; line-height: 1.2; }
  .mobile-cta .label { display: inline; }
  .mobile-cta strong { font-family: var(--display); font-weight: 400; font-size: 22px; }
  .mobile-cta .btn { min-height: 46px; padding: 0 26px; }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .cal__months { grid-template-columns: 1fr; min-height: 340px; }
  .cal__months .month:nth-child(2) { display: none; }
  .amenities__grid { grid-template-columns: 1fr 1fr; }
  .amenities__grid li { min-height: 150px; padding: 24px 20px; font-size: 16px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 6px; }
  .g--tall { grid-row: span 1; }
  .rules__list { grid-template-columns: 1fr; }
  .summary { padding: 28px 22px; }
  .cal { padding-inline: 14px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; padding: 64px 0 0; }
  .lightbox__nav--prev,
  .lightbox__nav--next { grid-row: 2; grid-column: auto; margin: 16px auto 56px; }
  .contact__list div { grid-template-columns: 90px 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal,
  .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
}
