/* Bohemian Kea — editorial luxury system */

:root {
  --bg: #f1ece1;
  --bg-2: #e8e1d1;
  --paper: #fbf8f1;
  --ink: #1a1916;
  --ink-2: #2c2a25;
  --muted: #7a7367;
  --muted-2: #a39c8d;
  --hair: rgba(26, 25, 22, 0.14);
  --hair-soft: rgba(26, 25, 22, 0.08);
  --accent: #b8865a;
  --accent-2: #8a5a36;

  --font-display: "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --font-body: "Jost", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad-x: clamp(24px, 5vw, 96px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ───────── type primitives ───────── */
.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.005em; }
.serif-it { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-ink { color: var(--ink); }
.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.018em;
}
.h-1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}
.h-2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.008em;
}
.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  color: var(--ink-2);
}
.body-l {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
}
.body-m {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.body-s {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ───────── layout helpers ───────── */
.page {
  min-height: 100vh;
  background: var(--bg);
}
.section { padding-inline: var(--pad-x); }
.divider { height: 1px; background: var(--hair); width: 100%; }
.hair-rule { border: 0; border-top: 1px solid var(--hair); margin: 0; }

/* ───────── nav ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad-x);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), backdrop-filter 0.6s var(--ease), padding 0.4s var(--ease);
  color: #fbf8f1;
}
.nav--solid {
  background: rgba(241, 236, 225, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--ink);
  padding-block: 14px;
  border-bottom: 1px solid var(--hair-soft);
}
.nav__left, .nav__right { display: flex; align-items: center; gap: 28px; }
.nav__right { justify-content: flex-end; }
.nav__link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 8px 0;
  cursor: default;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1;
  cursor: default;
}
.nav__wordmark small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: 0.38em;
  margin-top: 6px;
  opacity: 0.7;
}
.nav__book {
  appearance: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: default;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav--solid .nav__book:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav:not(.nav--solid) .nav__book:hover { background: var(--paper); color: var(--ink); }
.nav__lang {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.8;
  cursor: default;
}

/* ───────── hero ───────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  width: 100%;
  overflow: hidden;
  color: var(--paper);
}
.hero__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1.0); }
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.55) 100%);
}
.hero__content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 120px var(--pad-x) 48px;
}
.hero__tag {
  align-self: end;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(72px, 13vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin: 28px 0 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  display: block;
  font-size: 0.6em;
  opacity: 0.92;
}
.hero__foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 22px;
}
.hero__foot small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 6px;
}
.hero__foot p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.01em;
  font-weight: 400;
}
.hero__scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 28px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}

/* ───────── image placeholder ───────── */
.img-ph {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  background-color: #d6cebf;
  position: relative;
  overflow: hidden;
}
.img-ph--stripe {
  background-image: repeating-linear-gradient(135deg, #d6cebf 0 12px, #cec5b3 12px 24px);
}
.img-ph__caption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(26, 25, 22, 0.5);
  background: rgba(255,255,255,0.55);
  padding: 4px 8px;
  border-radius: 2px;
}

/* ───────── section header ───────── */
.s-head {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 3fr;
  gap: 48px;
  padding: 96px 0 56px;
  align-items: start;
}
.s-head__mark {
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 100px;
}
.s-head__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--muted);
}

/* ───────── villa cards ───────── */
.villas {
  padding-block: 32px 120px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.villa-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 56px;
  border-top: 1px solid var(--hair);
  cursor: default;
  transition: background 0.5s var(--ease);
}
.villa-row:last-child { border-bottom: 1px solid var(--hair); }
.villa-row:hover { background: var(--paper); }
.villa-row__img {
  height: 480px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.villa-row__img .img-ph { transition: transform 1.2s var(--ease); }
.villa-row:hover .villa-row__img .img-ph { transform: scale(1.04); }
.villa-row__body { padding-inline: 16px; }
.villa-row__roman {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.villa-row__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  margin-top: 8px;
  color: var(--ink);
}
.villa-row__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 32px;
  margin-top: 36px;
  border-top: 1px solid var(--hair);
  padding-top: 24px;
}
.villa-row__specs > div small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.villa-row__specs > div p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
}
.villa-row__cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.villa-row__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
}
.villa-row__price small {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}

/* ───────── buttons ───────── */
.btn-pill {
  appearance: none;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: default;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn-pill:hover { background: var(--accent-2); }
.btn-ghost {
  appearance: none;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: default;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: default;
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
}
.btn-link::after { content: "→"; font-size: 12px; letter-spacing: 0; }

/* ───────── editorial pull ───────── */
.pull {
  padding: 140px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}
.pull__big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.012em;
}
.pull__big em { font-style: italic; font-weight: 400; color: var(--accent-2); }
.pull__col p { margin: 0 0 1em; }

/* ───────── marquee ───────── */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding-block: 28px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.marquee__track {
  display: inline-flex;
  gap: 64px;
  animation: marqueeRun 60s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--ink-2);
}
.marquee__track span::before {
  content: "✦";
  margin-right: 64px;
  color: var(--accent);
  font-size: 14px;
  vertical-align: middle;
}
@keyframes marqueeRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ───────── side-by-side feature ───────── */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 90vh;
  align-items: stretch;
}
.feature__img { min-height: 480px; }
.feature__body {
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 96px clamp(24px, 5vw, 96px);
  background: var(--paper);
}
.feature--rev { direction: rtl; }
.feature--rev > * { direction: ltr; }

/* ───────── booking dock ───────── */
.book-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 40;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 18px 60px rgba(0,0,0,0.3);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.book-dock__field {
  display: flex; align-items: center; gap: 8px;
  opacity: 0.9;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 8px 4px;
  cursor: default;
  border-radius: 999px;
  transition: background 0.3s var(--ease), opacity 0.3s var(--ease);
}
.book-dock__field:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.book-dock__field--active { background: rgba(255,255,255,0.12); opacity: 1; }
.book-dock__field small { opacity: 0.55; }
.book-dock__sep { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }
.book-dock__cta {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: default;
}

/* ───────── popovers (above dock) ───────── */
.pop {
  position: fixed;
  z-index: 60;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hair);
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  padding: 24px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.pop--open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.pop__title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 4px;
}
.pop__sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

/* calendar */
.cal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cal__month { width: 252px; }
.cal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal__nav button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: default;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 14px;
  transition: background 0.2s var(--ease);
}
.cal__nav button:hover { background: var(--bg); }
.cal__nav button:disabled { color: var(--hair); cursor: default; }
.cal__nav button:disabled:hover { background: transparent; }
.cal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  flex: 1;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal__dow {
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
}
.cal__cell {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-2);
  cursor: default;
  border-radius: 999px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.cal__cell:hover { background: var(--bg-2); }
.cal__cell--out { color: var(--muted-2); opacity: 0.5; cursor: default; }
.cal__cell--out:hover { background: transparent; }
.cal__cell--past { color: var(--muted-2); opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.cal__cell--past:hover { background: transparent; }
/* range bridges using ::before so they render under siblings */
.cal__cell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cal__cell--in-range {
  background: var(--bg-2);
  border-radius: 0;
  color: var(--ink-2);
}
.cal__cell--range-start, .cal__cell--range-end {
  color: var(--paper);
  z-index: 2;
}
.cal__cell--range-start::before,
.cal__cell--range-end::before {
  background: var(--ink);
  border-radius: 999px;
  z-index: 1;
}
.cal__cell--range-start::after,
.cal__cell--range-end::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  background: var(--bg-2);
  z-index: -1;
}
.cal__cell--range-start:not(.cal__cell--range-end)::after { right: 0; }
.cal__cell--range-end:not(.cal__cell--range-start)::after { left: 0; }
.cal__cell--range-start.cal__cell--range-end::after { display: none; }

.cal__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--hair);
}
.cal__sum {
  display: flex;
  gap: 22px;
}
.cal__sum div small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.cal__sum div p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
}

/* guests stepper */
.gst {
  width: 320px;
}
.gst__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--hair);
}
.gst__row:last-child { border-bottom: 0; }
.gst__label h5 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 2px;
}
.gst__label p {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0;
}
.gst__step {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gst__step button {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: default;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.gst__step button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.gst__step button:disabled { opacity: 0.25; cursor: not-allowed; }
.gst__step span {
  font-family: var(--font-display);
  font-size: 22px;
  min-width: 24px;
  text-align: center;
}

/* ───────── footer ───────── */
.foot {
  background: var(--ink);
  color: var(--paper);
  padding: 96px var(--pad-x) 36px;
  margin-top: 0;
}
.foot__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.foot__brand h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.foot__brand p { color: rgba(255,255,255,0.55); font-size: 13px; max-width: 36ch; margin: 0; }
.foot__col h4 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin: 0 0 20px;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot__col a { font-size: 14px; color: rgba(255,255,255,0.9); cursor: default; }
.foot__col a:hover { color: var(--accent); }
.foot__bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ───────── reveal animations ───────── */
.r-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.r-up.in { opacity: 1; transform: translateY(0); }

/* ───────── page transition ───────── */
.page-fade {
  animation: pageIn 0.7s var(--ease);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───────── stays — editorial ───────── */
.stays-hero {
  padding: 160px var(--pad-x) 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.stays-hero .h-display { margin: 0; }

.stays-index {
  padding: 32px var(--pad-x) 0;
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 1fr 120px;
  gap: 24px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding-block: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.villa-spread {
  padding: 96px var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--hair);
}
.villa-spread--rev .villa-spread__img { order: 2; }
.villa-spread__img {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.villa-spread__roman {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(96px, 11vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.villa-spread__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  margin: 8px 0 28px;
}
.villa-spread__copy { max-width: 48ch; }

/* trips */
.trips-hero {
  height: 70vh;
  min-height: 540px;
  position: relative;
  overflow: hidden;
  color: var(--paper);
}
.trips-hero .hero__img { animation: none; transform: none; }
.trips-grid {
  padding: 120px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.trip-card { display: flex; flex-direction: column; gap: 18px; }
.trip-card__img { aspect-ratio: 1/1; overflow: hidden; }
.trip-card__meta { display: flex; justify-content: space-between; align-items: baseline; }
.trip-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

/* restaurant */
.menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 96px;
  padding: 96px var(--pad-x);
}
.menu__col h4 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.menu__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px dotted var(--hair);
}
.menu__item h5 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 6px;
}
.menu__item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.menu__item .price {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
}

/* ───────── villa detail page ───────── */
.villa-hero {
  position: relative;
  height: 92vh;
  min-height: 640px;
  overflow: hidden;
  color: var(--paper);
}
.villa-hero__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.villa-hero__content {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 120px var(--pad-x) 56px;
}
.villa-hero__meta {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 24px;
}
.villa-hero__roman {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(72px, 9vw, 140px);
  line-height: 0.85;
}
.villa-hero__name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 116px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.villa-hero__tag {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 18px;
}

.villa-quick {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--paper);
}
.villa-quick > div {
  padding: 28px 28px;
  border-right: 1px solid var(--hair);
}
.villa-quick > div:last-child { border-right: 0; }
.villa-quick small {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.villa-quick p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
}

/* gallery */
.gal {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 14px;
  padding: 96px var(--pad-x);
}
.gal__big { grid-column: span 8; grid-row: span 4; }
.gal__sm  { grid-column: span 4; grid-row: span 2; }
.gal__wide{ grid-column: span 12; grid-row: span 3; }
.gal__half{ grid-column: span 6; grid-row: span 3; }
.gal__tall{ grid-column: span 4; grid-row: span 4; }

/* facilities tabs */
.fac-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 56px;
}
.fac-tab {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 18px 0;
  margin-right: 48px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  margin-bottom: -1px;
  cursor: default;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.fac-tab__count {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-left: 8px;
  vertical-align: middle;
}
.fac-tab--active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.fac-list {
  columns: 3;
  column-gap: 64px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fac-list li {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-2);
  border-bottom: 1px dotted var(--hair);
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.fac-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  display: inline-block;
  transform: translateY(-3px);
}

/* booking panel (sticky) */
.book-panel {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 32px;
}
.book-panel__price {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.015em;
}
.book-panel__price small {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}
.book-panel__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--hair);
  margin-top: 24px;
}
.book-panel__row > div {
  padding: 14px 16px;
}
.book-panel__row > div:first-child {
  border-right: 1px solid var(--hair);
}
.book-panel__row small {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.book-panel__row p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
}

/* reviews */
.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 96px var(--pad-x);
  border-top: 1px solid var(--hair);
}
.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review__stars {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.review__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.review__source {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* prev/next villas */
.cross {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hair);
}
.cross__card {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: default;
  transition: background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.cross__card:first-child { border-right: 1px solid var(--hair); }
.cross__card:hover { background: var(--paper); }
.cross__card small {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.cross__card h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  margin: 0;
}
.cross__card em {
  font-style: italic;
  font-size: 36px;
  color: var(--accent-2);
}

/* ───────── utility ───────── */
.cap { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; align-items: center; }
.gap-2 { gap: 8px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; }

/* ───────── language picker ───────── */
.lang-pick {
  position: relative;
}
.lang-pick__btn {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  cursor: default;
  opacity: 0.8;
  transition: opacity 0.2s var(--ease);
}
.lang-pick__btn:hover { opacity: 1; }
.lang-pick__caret {
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.lang-pick--open .lang-pick__caret { transform: rotate(-135deg) translateY(1px); }
.lang-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hair);
  box-shadow: 0 16px 48px rgba(0,0,0,0.16);
  min-width: 88px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 60;
}
.lang-pick--open .lang-drop { opacity: 1; pointer-events: auto; transform: translateY(0); }
.lang-drop__item {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 10px 18px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
  text-align: left;
  border-bottom: 1px solid var(--hair-soft);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang-drop__item:last-child { border-bottom: 0; }
.lang-drop__item:hover { color: var(--ink); background: var(--bg); }
.lang-drop__item--active { color: var(--ink); }

/* ───────── hamburger ───────── */
.nav__ham {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px 0 8px 6px;
  cursor: default;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  color: inherit;
}
.nav__ham span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav__ham--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__ham--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__ham--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ───────── mobile nav overlay ───────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay--open { opacity: 1; pointer-events: auto; }
.nav-overlay__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px 24px 48px;
}
.nav-overlay__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 56px;
}
.nav-overlay__close {
  background: transparent;
  border: 0;
  color: var(--paper);
  font-size: 22px;
  padding: 8px;
  cursor: default;
  opacity: 0.55;
  line-height: 1;
  transition: opacity 0.2s var(--ease);
}
.nav-overlay__close:hover { opacity: 1; }
.nav-overlay__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.nav-overlay__link {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 11vw, 64px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.45);
  transition: color 0.25s var(--ease);
  display: block;
}
.nav-overlay__link:hover { color: rgba(255,255,255,0.85); }
.nav-overlay__link--active { color: var(--paper); }
.nav-overlay__foot {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-overlay__langs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-overlay__lang {
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.3);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 8px;
  cursor: default;
  transition: color 0.2s var(--ease);
}
.nav-overlay__lang:hover { color: rgba(255,255,255,0.7); }
.nav-overlay__lang--active { color: var(--paper); }

/* ───────── booking sheet ───────── */
.book-sheet__inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  transform: translateY(100%);
  transition: transform .6s var(--ease);
  padding: 48px var(--pad-x) 56px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.book-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 32px;
}
.book-sheet__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 48px;
  align-items: start;
}

/* date/guest row within each villa row */
.sheet-date-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--hair-soft);
}

/* inline calendar that expands below the date button */
.sheet-inline-cal {
  padding: 28px 24px 20px;
  background: var(--bg);
  border-top: 1px solid var(--hair-soft);
}

/* ───────── audio player ───────── */

/* Wrapper — sits inline in nav__right */
.nav__audio {
  position: relative;
  display: flex;
  align-items: center;
}
/* Transparent bridge fills the gap between button and dropdown so hover
   is never lost as the mouse travels downward */
.nav__audio::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 20px; /* must be >= the dropdown's top offset (14px) + buffer */
  pointer-events: auto;
}

/* The circular button */
.audio-btn {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  flex-shrink: 0;
}
.nav--solid .audio-btn:hover     { background: var(--ink);   color: var(--paper); }
.nav:not(.nav--solid) .audio-btn:hover { background: var(--paper); color: var(--ink);  }

/* ── Play icon — visible by default */
.audio-btn__play {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px; /* optical centering of triangle */
  transition: opacity 0.18s var(--ease);
}

/* ── Pause icon — shown on hover while playing */
.audio-btn__pause {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}

/* ── Equaliser bars — shown while playing */
.audio-btn__bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5px;
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}
.audio-btn__bars span {
  width: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: bottom center;
  transform: scaleY(0.25);
}
.audio-btn__bars span:nth-child(1) { height: 9px;  }
.audio-btn__bars span:nth-child(2) { height: 13px; }
.audio-btn__bars span:nth-child(3) { height: 10px; }
.audio-btn__bars span:nth-child(4) { height: 7px;  }

/* ── Playing state ── */
.nav__audio--playing .audio-btn__play  { opacity: 0; }
.nav__audio--playing .audio-btn__bars  { opacity: 1; }
.nav__audio--playing .audio-btn__bars span {
  animation: bar-dance 0.85s ease-in-out infinite;
}
.nav__audio--playing .audio-btn__bars span:nth-child(1) { animation-delay: 0s;    }
.nav__audio--playing .audio-btn__bars span:nth-child(2) { animation-delay: 0.18s; }
.nav__audio--playing .audio-btn__bars span:nth-child(3) { animation-delay: 0.08s; }
.nav__audio--playing .audio-btn__bars span:nth-child(4) { animation-delay: 0.30s; }

/* ── Hover while playing → show pause, hide bars */
.nav__audio--playing .audio-btn:hover .audio-btn__bars  { opacity: 0; }
.nav__audio--playing .audio-btn:hover .audio-btn__pause { opacity: 1; }

@keyframes bar-dance {
  0%, 100% { transform: scaleY(0.2); }
  40%       { transform: scaleY(1);   }
}

/* ── Dropdown */
.audio-drop {
  position: absolute;
  top: calc(100% + 14px);
  right: -12px;
  width: 240px;
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 6px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 60;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* Show on hover of widget OR when --open is set by JS (mobile) */
.nav__audio:hover .audio-drop,
.nav__audio--open  .audio-drop {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown track rows */
.audio-drop__track {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.14s;
  color: var(--ink);
}
.audio-drop__track:hover     { background: var(--bg-2); }
.audio-drop__track--active   { color: var(--accent); }

.audio-drop__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  opacity: 0.45;
}
.audio-drop__title {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.audio-drop__dur {
  font-family: var(--font-mono);
  font-size: 9.5px;
  opacity: 0.4;
}

/* Small playing indicator inside dropdown for active track */
.audio-drop__track--active .audio-drop__num {
  opacity: 1;
}

@media (max-width: 900px) {
  :root { --pad-x: 20px; }
  .nav { grid-template-columns: auto auto; }
  .nav__left { display: none; }
  .nav__right .nav__link { display: none; } /* EVENTS/CLUB go in hamburger only */
  .hero__foot { grid-template-columns: 1fr; gap: 18px; }
  .villa-row, .villa-spread, .pull, .feature, .trips-grid, .menu, .stays-hero, .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .villa-row__img, .villa-spread__img { height: 360px; }
  .book-dock { display: none; }
  .nav__lang { display: none; }
  .nav__ham { display: flex; }
  .nav__wordmark { text-align: left; }
  .villa-row__roman { font-size: 64px; }
  .villa-quick { grid-template-columns: 1fr 1fr; }
  .villa-quick > div { border-right: 0; border-bottom: 1px solid var(--hair); }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gal__big, .gal__sm, .gal__wide, .gal__half, .gal__tall { grid-column: span 2; grid-row: span 2; }
  .fac-list { columns: 1; }
  .reviews, .cross { grid-template-columns: 1fr; }

  /* booking sheet mobile */
  .book-sheet__inner { padding: 24px 20px 40px; }
  .book-sheet__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .book-sheet__grid { grid-template-columns: 1fr; gap: 32px; }
  .sheet-date-row { grid-template-columns: 1fr; }

  /* calendar single-column inside the sheet on mobile */
  .sheet-inline-cal .cal { grid-template-columns: 1fr; }
  .sheet-inline-cal .cal__month { width: auto; }
  .sheet-inline-cal .cal__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}
