/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Lenis smooth scroll */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ============ DESIGN TOKENS ============ */
:root {
  /* Pastel Istrian palette — sage + beige + warm stone */
  --sage-50:  #f3f5ef;
  --sage-100: #e7ecdf;
  --sage-200: #cfd9bd;
  --sage-300: #a9b98e;
  --sage-500: #7a8b60;
  --sage-700: #4f5c3d;
  --sage-900: #2d3524;

  --sand-50:  #faf6ef;
  --sand-100: #f2ead9;
  --sand-200: #e5d8bd;
  --sand-300: #d4be95;
  --sand-500: #a88d5e;
  --sand-700: #6d5a3a;

  --ink:      #2a2a26;
  --ink-soft: #5a5a52;
  --paper:    #fbf9f4;
  --line:     rgba(42, 42, 38, 0.12);

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  --max: 1200px;
  --gap: clamp(1rem, 2vw, 2rem);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* ============ TYPOGRAPHY ============ */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--sage-900);
  margin: 0.3rem 0 1.5rem;
}
.h2 em { font-style: italic; color: var(--sage-500); font-weight: 300; }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--sand-200); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand-500);
  font-weight: 500;
}
.eyebrow--light { color: var(--sand-200); }

p { color: var(--ink-soft); font-size: 1.02rem; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.15rem clamp(1.25rem, 4vw, 3rem);
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 1px 0 var(--line);
}

.nav__brand { display: flex; align-items: center; gap: 0.65rem; color: var(--paper); transition: color 0.4s var(--ease); }
.nav.is-scrolled .nav__brand { color: var(--sage-900); }
.nav__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif); font-size: 0.85rem; letter-spacing: 0.05em;
}
.nav__name { font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.02em; }

.nav__links { display: flex; gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.nav__links a {
  font-size: 0.88rem; color: var(--paper); opacity: 0.9;
  transition: opacity 0.25s, color 0.4s var(--ease);
  position: relative;
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a:hover { opacity: 1; }
.nav__links a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 0.55rem 1.2rem;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 0.82rem !important;
  letter-spacing: 0.05em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__cta:hover { background: var(--paper); color: var(--sage-900) !important; }
.nav.is-scrolled .nav__cta:hover { background: var(--sage-900); color: var(--paper) !important; }

@media (max-width: 700px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* Language switcher */
.lang { position: relative; margin-left: 0.5rem; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  color: var(--paper);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
}
.lang__btn:hover { background: rgba(255,255,255,0.12); }
.nav.is-scrolled .lang__btn { color: var(--ink); border-color: var(--line); }
.nav.is-scrolled .lang__btn:hover { background: var(--sage-50); }
.lang__flag { font-size: 1rem; line-height: 1; }
.lang__code { font-family: var(--sans); }
.lang__chevron {
  width: 10px; height: 10px;
  transition: transform 0.3s var(--ease);
}
.lang__btn[aria-expanded="true"] .lang__chevron { transform: rotate(180deg); }

.lang__menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  box-shadow: 0 18px 48px -16px rgba(45, 53, 36, 0.28);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 200;
}
.lang__menu.is-open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang__menu li { list-style: none; }
.lang__menu button {
  width: 100%;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--ink);
  text-align: left;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}
.lang__menu button:hover {
  background: var(--sage-50);
  color: var(--sage-900);
}

@media (max-width: 520px) {
  .lang__btn { padding: 0.4rem 0.6rem; }
  .lang__code { display: none; }
}

/* Language change animation — soft fade+blur on translatable text */
[data-i18n], [data-i18n-html] {
  transition: opacity 0.28s var(--ease), filter 0.28s var(--ease);
}
body.is-lang-changing [data-i18n],
body.is-lang-changing [data-i18n-html] {
  opacity: 0;
  filter: blur(4px);
}

/* ============ HERO ============ */
.hero {
  position: sticky;
  top: 0;
  height: 100vh; min-height: 620px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
  z-index: 0;
}
.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 25% 70%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 35%, rgba(0,0,0,0.75) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 3rem) clamp(3rem, 10vh, 7rem);
  max-width: var(--max); margin: 0 auto; width: 100%;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(4rem, 14vw, 10rem);
  line-height: 0.95; letter-spacing: -0.02em;
  margin: 0.6rem 0 1.2rem;
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero__title-italic { font-style: italic; color: var(--sand-100); font-weight: 300; }
.hero__title > span {
  display: inline-block; opacity: 0;
  animation: heroRise 1.2s var(--ease) forwards;
}
.hero__title > span:nth-child(1) { animation-delay: 0.2s; }
.hero__title > span:nth-child(2) { animation-delay: 0.5s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero__lede {
  font-family: var(--serif);
  color: var(--paper); opacity: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
  max-width: 520px; line-height: 1.55; font-weight: 400;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  animation: heroRise 1.2s var(--ease) 0.9s forwards;
}
.hero__meta {
  margin-top: 1.8rem;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  opacity: 0; animation: heroRise 1.2s var(--ease) 1.2s forwards;
}
.hero__meta .dot {
  width: 3px; height: 3px; border-radius: 50%; background: var(--sand-200);
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid rgba(255,255,255,0.5); border-radius: 20px;
  display: grid; place-items: center;
  opacity: 0; animation: heroRise 1s ease-out 1.6s forwards;
}
.hero__scroll span {
  width: 2px; height: 6px; background: var(--paper); border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(-6px); opacity: 0.3; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ STORY ============ */
.story {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--paper);
  position: relative;
  z-index: 1;
}
.story__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; } }

.story__text p { margin-top: 1.1rem; max-width: 44ch; }
.story__stats {
  margin-top: 2.5rem; display: flex; gap: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.story__stats div { display: flex; flex-direction: column; }
.story__stats strong {
  font-family: var(--serif); font-size: 2rem; font-weight: 400;
  color: var(--sage-700);
}
.story__stats span {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-soft);
}

.story__media { position: relative; aspect-ratio: 4/5; }
.story__img { position: absolute; overflow: hidden; border-radius: 4px; box-shadow: 0 20px 60px -20px rgba(45, 53, 36, 0.25); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__img:hover img { transform: scale(1.05); }
.story__img--1 { top: 0; left: 0; width: 65%; height: 70%; z-index: 2; }
.story__img--2 { bottom: 0; right: 0; width: 55%; height: 55%; z-index: 1; }

.story__chip {
  position: absolute; top: 15%; right: -10px; z-index: 3;
  background: var(--sage-100); color: var(--sage-900);
  padding: 0.7rem 1.1rem; border-radius: 100px;
  font-size: 0.78rem; letter-spacing: 0.05em; font-weight: 500;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: 0 8px 24px -8px rgba(45, 53, 36, 0.2);
}
.story__chip .chip__sub { color: var(--ink-soft); font-weight: 400; font-size: 0.72rem; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage-500); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--sage-300); } 50% { box-shadow: 0 0 0 6px rgba(169, 185, 142, 0); } }

/* ============ GALLERY ============ */
.gallery {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--sage-50);
  position: relative;
  z-index: 1;
}
.gallery__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vh, 5rem);
  padding: 0 1rem;
}
.gallery__head .eyebrow { margin-bottom: 0.5rem; display: block; }
.gallery__sub {
  margin-top: clamp(0.8rem, 1.5vw, 1.2rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  color: var(--sage-700);
}

/* ============ GALLERY GRID — masonry columns ============ */
.gal-grid {
  column-count: 3;
  column-gap: clamp(0.6rem, 1.2vw, 1rem);
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
@media (max-width: 1024px) { .gal-grid { column-count: 2; } }
@media (max-width: 560px)  { .gal-grid { column-count: 2; column-gap: 0.5rem; } }

.gal-tile {
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.6rem, 1.2vw, 1rem);
  padding: 0;
  border: none;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: var(--sand-100);
  break-inside: avoid;
  box-shadow: 0 14px 32px -20px rgba(45, 53, 36, 0.22);
  transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.gal-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s var(--ease);
}
.gal-tile:hover,
.gal-tile:focus-visible {
  box-shadow: 0 26px 50px -22px rgba(45, 53, 36, 0.32);
  outline: none;
  transform: translateY(-2px);
}
.gal-tile:hover img,
.gal-tile:focus-visible img { transform: scale(1.03); }
@media (hover: none) {
  .gal-tile:active { transform: translateY(-1px); }
}

.gal-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.gal-cta {
  background: var(--sage-900);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  padding: 0.85em 1.8em;
  border-radius: 100px;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5em;
  cursor: pointer;
  border: none;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
.gal-cta:hover { background: var(--sage-700); transform: translateY(-2px); }
.gal-cta sup {
  font-size: 0.6em;
  font-style: italic;
  color: var(--sand-200);
  align-self: flex-start;
  transform: translateY(0.15em);
}

/* Legacy editorial (superseded by .scatter) — kept but unused */
.ed-photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--sand-100);
  box-shadow: 0 18px 50px -24px rgba(45, 53, 36, 0.22);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}
.ed-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.7s var(--ease);
  display: block;
}
.ed-photo:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -28px rgba(45, 53, 36, 0.32); }
.ed-photo:hover img { transform: scale(1.04); }

.ed-photo__caption {
  position: absolute;
  bottom: 1.5rem; left: 1.8rem;
  color: var(--paper);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  max-width: 75%;
  pointer-events: none;
}
.ed-photo:hover .ed-photo__caption {
  opacity: 1; transform: translateY(0);
}

/* Block widths and heights, built around the golden ratio (≈1.618).
   Using aspect-ratio instead of fixed heights so they scale with width. */
.ed-row {
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}
/* Row: single full-width hero (golden rectangle — wide) */
.ed-row--hero { grid-template-columns: 1fr; }
.ed-row--hero .ed-photo { aspect-ratio: 1.618 / 1; }

/* Row: two side-by-side, offset heights (one taller = golden portrait) */
.ed-row--duo {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.ed-row--duo .ed-photo:nth-child(1) { aspect-ratio: 1 / 1.2; margin-top: 3rem; }
.ed-row--duo .ed-photo:nth-child(2) { aspect-ratio: 1 / 1.618; }

/* Row: offset — one wide photo, indented left or right */
.ed-row--offset-right {
  grid-template-columns: 1fr 2.618fr;  /* inverse golden split */
}
.ed-row--offset-right .ed-photo { aspect-ratio: 1.618 / 1; grid-column: 2; }

.ed-row--offset-left {
  grid-template-columns: 2.618fr 1fr;
}
.ed-row--offset-left .ed-photo { aspect-ratio: 1.618 / 1; grid-column: 1; }

/* Row: narrow portrait centered */
.ed-row--portrait { grid-template-columns: 1fr; justify-items: center; }
.ed-row--portrait .ed-photo {
  aspect-ratio: 1 / 1.2;
  width: 62%;
  min-width: min(100%, 420px);
}

/* Italic text fragments between photos */
.ed-fragment {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--sage-700);
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: clamp(1.5rem, 3vw, 3rem) auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.ed-fragment.is-visible { opacity: 1; transform: translateY(0); }
.ed-fragment::before, .ed-fragment::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--sage-300);
  margin: 1.2rem auto;
}

/* Sticky scaling CTA */
.editorial__cta-sticky {
  position: sticky;
  bottom: 0;
  height: 100vh;
  margin-top: clamp(3rem, 6vh, 6rem);
  margin-bottom: -100vh;   /* pulls next section up so the CTA can scroll out */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.editorial__cta {
  font-family: var(--serif);
  color: var(--sage-900);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: clamp(0.5rem, 1vw, 1rem);
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transform: scale(var(--cta-scale, 0.35));
  transition: transform 0.1s linear, color 0.35s var(--ease);
  transform-origin: center;
  will-change: transform;
}
.editorial__cta sup {
  font-size: 0.35em;
  font-style: italic;
  color: var(--sage-500);
  align-self: flex-start;
  transform: translateY(0.5em);
}
.editorial__cta-arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
  font-size: 0.8em;
}
.editorial__cta:hover { color: var(--sage-700); }
.editorial__cta:hover .editorial__cta-arrow { transform: translateX(8px); }

@media (max-width: 720px) {
  .ed-row--duo { grid-template-columns: 1fr; gap: 2rem; }
  .ed-row--duo .ed-photo:nth-child(1) { margin-top: 0; }
  .ed-row--offset-right, .ed-row--offset-left { grid-template-columns: 1fr; }
  .ed-row--offset-right .ed-photo, .ed-row--offset-left .ed-photo { grid-column: 1; }
  .ed-row--portrait .ed-photo { width: 100%; }
}

/* Legacy mosaic styles — unused now but kept for safety */
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 110px;
  gap: 10px;
  max-width: calc(var(--max) + 160px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--sand-100);
  opacity: 0;
  transform: translateY(20px);
  animation: tileIn 0.9s var(--ease) forwards;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(45,53,36,0.35) 100%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { opacity: 1; }

@keyframes tileIn { to { opacity: 1; transform: translateY(0); } }

/* Mosaic pattern classes */
.tile.t-lg { grid-column: span 3; grid-row: span 3; }
.tile.t-md { grid-column: span 2; grid-row: span 2; }
.tile.t-sm { grid-column: span 2; grid-row: span 2; }
.tile.t-wide { grid-column: span 4; grid-row: span 2; }
.tile.t-tall { grid-column: span 2; grid-row: span 3; }

@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 100px; }
  .tile.t-lg, .tile.t-md, .tile.t-sm, .tile.t-wide, .tile.t-tall { grid-column: span 2; grid-row: span 2; }
  .tile.t-lg { grid-column: span 4; grid-row: span 3; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .tile { grid-column: span 1 !important; grid-row: span 2 !important; }
  .tile.t-lg { grid-column: span 2 !important; grid-row: span 3 !important; }
}

/* ============ EXPLORE THE VILLA ============ */
.explore {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--sand-50);
  position: relative;
  z-index: 1;
}
.explore__head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 5vh, 4rem); }
.explore__head .eyebrow { display: block; margin-bottom: 0.5rem; }
.explore__sub { margin-top: 0.8rem; }

/* Floor toggle — minimal segmented control with sliding pill */
.explore__toggle {
  position: relative;
  display: inline-flex;
  margin: 0 auto clamp(2.5rem, 5vh, 4rem);
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  left: 50%; transform: translateX(-50%);
  gap: 0;
}
.toggle__btn {
  position: relative; z-index: 2;
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem; letter-spacing: 0.06em;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: color 0.35s var(--ease);
  white-space: nowrap;
}
.toggle__btn.is-active { color: var(--paper); }
.toggle__slider {
  position: absolute;
  top: 6px; bottom: 6px; left: 0;
  background: var(--sage-700);
  border-radius: 100px;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
  z-index: 1;
}
@media (max-width: 520px) {
  .toggle__btn { padding: 0.55rem 0.9rem; font-size: 0.75rem; }
}

/* Rooms grid */
.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rooms { grid-template-columns: 1fr; } }

.room {
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s var(--ease);
  opacity: 0; transform: translateY(24px);
  animation: roomIn 0.8s var(--ease) forwards;
}
@keyframes roomIn { to { opacity: 1; transform: translateY(0); } }

.room:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(45, 53, 36, 0.28);
  border-color: var(--sage-200);
}
.room:hover .room__media img { transform: scale(1.06); }
.room:hover .room__arrow { transform: translateX(4px); }
.room:hover .room__name { color: var(--sage-700); }

.room__media {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand-100);
}
.room__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.room__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(45,53,36,0.2) 100%);
}

.room__count {
  position: absolute; z-index: 2;
  top: 0.9rem; right: 0.9rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  color: var(--sage-900);
  border-radius: 100px;
}

.room__body {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.35rem;
  flex: 1;
}
.room__name {
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem;
  color: var(--sage-900);
  transition: color 0.35s var(--ease);
  line-height: 1.1;
}
.room__caption {
  font-size: 0.88rem; color: var(--ink-soft); line-height: 1.5;
  margin-bottom: 0.6rem;
}
.room__enter {
  margin-top: auto;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--sand-500); font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.room__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.explore__note {
  text-align: center;
  margin: clamp(2rem, 4vh, 3rem) auto 0;
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 540px;
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(20, 24, 16, 0.96);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lb__stage { max-width: 92vw; max-height: 88vh; }
.lb__img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain; border-radius: 3px;
  animation: lbIn 0.4s var(--ease);
}
@keyframes lbIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }

.lb__close, .lb__prev, .lb__next {
  position: absolute; color: var(--paper);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  transition: background 0.25s ease, transform 0.25s ease;
  font-size: 1.5rem;
}
.lb__close:hover, .lb__prev:hover, .lb__next:hover { background: rgba(255,255,255,0.18); transform: scale(1.05); }
.lb__close { top: 1.5rem; right: 1.5rem; font-size: 2rem; }
.lb__prev { left: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lb__next { right: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lb__prev:hover, .lb__next:hover { transform: translateY(-50%) scale(1.05); }
.lb__counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: var(--paper); font-size: 0.85rem; letter-spacing: 0.1em;
  background: rgba(255,255,255,0.08); padding: 0.4rem 1rem; border-radius: 100px;
}

/* ============ AMENITIES ============ */
.amenities { padding: clamp(5rem, 12vh, 9rem) 0; background: var(--sand-50); position: relative; z-index: 1; }
.amenities__head { text-align: center; max-width: 720px; margin: 0 auto clamp(3rem, 6vh, 5rem); }
.amenities__head .eyebrow { display: block; margin-bottom: 0.5rem; }

.amenities__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 860px) { .amenities__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amenities__grid { grid-template-columns: 1fr; } }

.amenity {
  background: var(--paper);
  padding: 2rem 1.8rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.amenity:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(45, 53, 36, 0.18);
}
.amenity__icon { font-size: 1.8rem; display: inline-block; margin-bottom: 0.8rem; filter: grayscale(0.2); }
.amenity h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.4rem;
  color: var(--sage-900); margin-bottom: 0.4rem;
}
.amenity p { font-size: 0.92rem; }

/* ============ DISCOVER / MAP ============ */
.discover { padding: clamp(5rem, 12vh, 9rem) 0; background: var(--paper); position: relative; z-index: 1; }
.discover__head { max-width: 700px; margin: 0 auto clamp(3rem, 6vh, 5rem); text-align: center; }
.discover__head .eyebrow { display: block; margin-bottom: 0.5rem; }
.discover__sub { margin-top: 0.8rem; }

/* Category filter chips */
.discover__filters {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem;
  max-width: var(--max);
  margin: 0 auto clamp(2rem, 4vh, 3rem);
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--sage-300);
  color: var(--sage-900);
  transform: translateY(-1px);
}
.chip.is-active {
  background: var(--sage-700);
  color: var(--paper);
  border-color: var(--sage-700);
}

.discover__grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
@media (max-width: 900px) { .discover__grid { grid-template-columns: 1fr; } }

.discover__map-wrap {
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 20px 60px -25px rgba(45, 53, 36, 0.3);
  min-height: 560px;
}
.map { width: 100%; height: 100%; min-height: 560px; }

.discover__list {
  list-style: none; counter-reset: item;
  display: flex; flex-direction: column; gap: 0.75rem;
  max-height: 560px; overflow-y: auto;
  padding-right: 0.5rem;
}
.discover__list::-webkit-scrollbar { width: 4px; }
.discover__list::-webkit-scrollbar-track { background: var(--sage-50); }
.discover__list::-webkit-scrollbar-thumb { background: var(--sage-300); border-radius: 2px; }

.attraction {
  padding: 1rem 1.1rem;
  background: var(--sage-50);
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.9rem;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  opacity: 0; transform: translateY(10px);
  animation: attrIn 0.55s var(--ease) forwards;
}
@keyframes attrIn { to { opacity: 1; transform: translateY(0); } }
.attraction:hover, .attraction.is-active {
  background: var(--paper); border-color: var(--sage-300);
  transform: translateX(4px);
}
.attraction__num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.4rem; color: var(--sage-500);
  width: 32px; text-align: center;
}
.attraction__body h4 {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 500;
  color: var(--sage-900); margin-bottom: 0.15rem;
}
.attraction__body p {
  font-size: 0.82rem; color: var(--ink-soft); line-height: 1.45;
}
.attraction__dist {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sand-500); font-weight: 500;
  text-align: right; white-space: nowrap;
}

/* Leaflet pin override */
.leaflet-container { font-family: var(--sans); background: var(--sage-50); }
.pin {
  width: 32px; height: 32px; border-radius: 50% 50% 50% 0;
  background: var(--sage-700); transform: rotate(-45deg);
  display: grid; place-items: center;
  box-shadow: 0 6px 14px -4px rgba(45, 53, 36, 0.4);
  border: 2px solid var(--paper);
}
.pin span { transform: rotate(45deg); color: var(--paper); font-family: var(--serif); font-style: italic; font-size: 0.9rem; }

/* Villa pin — larger, house icon, distinct color */
.pin--villa {
  background: var(--sand-500);
  width: 46px; height: 46px;
  border: 3px solid var(--paper);
  box-shadow: 0 8px 20px -4px rgba(45, 53, 36, 0.5), 0 0 0 6px rgba(212, 190, 149, 0.25);
  animation: villaPulse 2.4s ease-in-out infinite;
}
.pin--villa svg {
  transform: rotate(45deg);
  width: 22px; height: 22px;
  color: var(--paper);
}
@keyframes villaPulse {
  0%, 100% { box-shadow: 0 8px 20px -4px rgba(45, 53, 36, 0.5), 0 0 0 4px rgba(212, 190, 149, 0.35); }
  50%      { box-shadow: 0 8px 20px -4px rgba(45, 53, 36, 0.5), 0 0 0 10px rgba(212, 190, 149, 0); }
}

/* ============ ARRIVE ============ */
/* ============ LOCAL KNOWLEDGE ============ */
.local {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--sand-50);
  position: relative;
  z-index: 1;
}
.local__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3.5rem, 7vh, 6rem);
  padding: 0 1rem;
}
.local__head .eyebrow { display: block; margin-bottom: 0.5rem; }
.local__sub {
  margin-top: 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--sage-700);
  line-height: 1.5;
}

.local__block {
  max-width: 820px;
  margin: 0 auto clamp(3rem, 6vh, 5rem);
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}
.local__block:last-child { margin-bottom: 0; }

.local__block-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.local__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  color: var(--sage-700);
}
.local__h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--sage-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.local__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--sage-700);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.local__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
.local__list li {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 2fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.local__list li:last-child { border-bottom: none; }
.local__list strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--sage-900);
  line-height: 1.3;
}
.local__list span {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 560px) {
  .local__list li { grid-template-columns: 1fr; gap: 0.35rem; }
  .local__list strong { font-size: 1.05rem; }
}

.local__stories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 720px) { .local__stories { grid-template-columns: 1fr; } }

.local__story {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.local__story:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(45, 53, 36, 0.18);
  border-color: var(--sage-200);
}
.local__story h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--sage-900);
  margin-bottom: 0.6rem;
}
.local__story p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.arrive { padding: clamp(5rem, 12vh, 9rem) 0; background: var(--sage-100); position: relative; z-index: 1; }
.arrive__head { text-align: center; margin-bottom: clamp(3rem, 6vh, 5rem); }
.arrive__head .eyebrow { display: block; margin-bottom: 0.5rem; }

.arrive__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
@media (max-width: 900px) { .arrive__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .arrive__grid { grid-template-columns: 1fr; } }

.arrive__card {
  background: var(--paper);
  padding: 2rem 1.5rem;
  border-radius: 6px;
  position: relative;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.arrive__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(45, 53, 36, 0.2); }
.arrive__num {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 2.6rem; color: var(--sage-300); line-height: 1;
  display: block; margin-bottom: 0.7rem;
}
.arrive__card h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.3rem;
  color: var(--sage-900); margin-bottom: 0.4rem;
}
.arrive__card p { font-size: 0.92rem; }

/* ============ HOST ============ */
.host { padding: clamp(5rem, 12vh, 9rem) 0; background: var(--paper); position: relative; z-index: 1; }
.host__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .host__grid { grid-template-columns: 1fr; } }
.host__media { aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; box-shadow: 0 20px 60px -25px rgba(45, 53, 36, 0.3); }
.host__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.host__media:hover img { transform: scale(1.05); }
.host__text p { margin-top: 1rem; max-width: 48ch; }
.host__stats {
  margin-top: 2rem; display: flex; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.host__stats div { display: flex; flex-direction: column; }
.host__stats strong {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 400;
  color: var(--sage-700);
}
.host__stats span {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--sage-50);
  position: relative;
  z-index: 1;
}
.testimonials__head {
  text-align: center; max-width: 680px;
  margin: 0 auto clamp(3rem, 6vh, 5rem);
}
.testimonials__head .eyebrow { display: block; margin-bottom: 0.5rem; }
.testimonials__sub { margin-top: 0.8rem; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  max-width: var(--max);
  margin: 0 auto;
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonials__grid { grid-template-columns: 1fr; } }

.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s var(--ease);
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(45, 53, 36, 0.22);
  border-color: var(--sage-200);
}

.review__mark {
  position: absolute;
  top: 0.4rem; left: 1.2rem;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--sage-200);
  font-style: italic;
  pointer-events: none;
}

.review__stars {
  color: var(--sand-500);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  position: relative; z-index: 1;
  text-align: right;
}

.review blockquote {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--sage-900);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 1.5rem;
  position: relative; z-index: 1;
  flex: 1;
}

.review figcaption {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.review__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--sage-900);
}
.review__meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand-500);
  font-weight: 500;
}

.testimonials__foot {
  margin-top: clamp(2.5rem, 5vh, 4rem);
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max); margin-left: auto; margin-right: auto;
  gap: 1.5rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.testimonials__rating {
  display: flex; align-items: center; gap: 1rem;
}
.rating__stars {
  color: var(--sand-500);
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}
.rating__text { display: flex; align-items: baseline; gap: 0.6rem; }
.rating__text strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--sage-900);
  line-height: 1;
}
.rating__text span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.testimonials__link {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--sage-700);
  font-weight: 500;
  border-bottom: 1px solid var(--sage-300);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testimonials__link:hover {
  color: var(--sage-900);
  border-color: var(--sage-700);
}

/* ============ BOOK CTA ============ */
.book {
  padding: clamp(5rem, 12vh, 9rem) 0;
  background: var(--sage-700);
  color: var(--paper);
  position: relative; overflow: hidden;
  z-index: 1;
}
.book::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('images/photo-30.jpg');
  background-size: cover; background-position: center;
  opacity: 0.15; filter: grayscale(0.5);
}
.book__inner { position: relative; text-align: center; max-width: 620px; margin: 0 auto; }
.book__inner .eyebrow { display: block; margin-bottom: 0.8rem; }
.book__sub { color: var(--sand-100); margin: 1rem auto 2rem; font-size: 1.05rem; }

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.05em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.btn--light { background: var(--paper); color: var(--sage-900); border: none; cursor: pointer; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.35); background: var(--sand-100); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--paper); }
.btn--dark {
  background: var(--sage-900);
  color: var(--paper);
  border: none;
  cursor: pointer;
  padding: 0.95rem 2rem;
  border-radius: 100px;
  font-family: var(--sans); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--dark:hover:not(:disabled) {
  background: var(--sage-700);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.25);
}
.btn--dark:disabled { background: var(--sand-200); color: var(--ink-soft); cursor: not-allowed; opacity: 0.6; }

.book__ctas {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* When booking is open, hide everything except the modal + its submit bar */
html.vn-booking-open body > *:not(.bk):not(.bk__submit-bar) {
  visibility: hidden;
}

/* ============ BOOKING — full-screen split view ============
   Two columns side-by-side: dates left, guest info + summary + submit right.
   No step navigation — everything in one view, single Continue button.
   Mobile: stacks vertically, whole thing scrolls.
   ====================================================================*/
.bk {
  position: fixed; inset: 0;
  background: var(--paper);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  z-index: 9000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.bk.is-open { opacity: 1; visibility: visible; }

.bk__close {
  position: fixed; top: 1rem; right: 1.2rem;
  width: 40px; height: 40px;
  background: var(--sage-50);
  border: none; border-radius: 50%;
  color: var(--ink); cursor: pointer;
  font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
  transition: background 0.25s var(--ease);
  z-index: 10;
  box-shadow: 0 4px 12px -4px rgba(0,0,0,0.15);
}
.bk__close:hover { background: var(--sage-100); }

/* Two-column grid */
.bk__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.bk__col {
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 6rem;  /* room for fixed submit button */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.bk__col--dates { background: var(--paper); border-right: 1px solid var(--line); }
.bk__col--info  { background: var(--sage-50); }

.bk__col-head .eyebrow { display: block; margin-bottom: 0.5rem; }
.bk__col-head .bk__h { margin: 0.2rem 0 0.6rem; }
.bk__col-head .bk__sub { margin: 0; }

.bk__h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--sage-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.bk__sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile: stack columns */
@media (max-width: 820px) {
  .bk__grid { grid-template-columns: 1fr; }
  .bk__col--dates { border-right: none; border-bottom: 1px solid var(--line); }
}

/* Done overlay */
.bk__done-screen {
  position: fixed;
  inset: 0;
  background: var(--paper);
  display: grid;
  place-items: center;
  z-index: 5;
  padding: 2rem;
  animation: bkFade 0.4s var(--ease);
}
.bk__done-screen[hidden] { display: none; }
.bk__done {
  text-align: center;
  max-width: 440px;
}
.bk__done svg {
  width: 72px; height: 72px;
  color: var(--sage-500);
  margin: 0 auto 1.5rem;
  display: block;
}
.bk__done .bk__h { margin-bottom: 1rem; }
.bk__done .bk__sub { margin-bottom: 2rem; }

@keyframes bkFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Calendar toolbar (prev / month-year jump / next) */
.bk-cal__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.bk-cal__nav-big {
  width: 40px; height: 40px;
  background: var(--sage-50);
  border: none; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--sage-900); cursor: pointer;
  font-size: 1.4rem;
  transition: background 0.25s var(--ease);
}
.bk-cal__nav-big:hover { background: var(--sage-100); }
.bk-cal__jump {
  display: flex; gap: 0.5rem; flex: 1; justify-content: center;
}
.bk-cal__select {
  font-family: var(--serif); font-size: 1.05rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  color: var(--sage-900);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.bk-cal__select:hover { border-color: var(--sage-300); background: var(--sage-50); }
.bk-cal__select:focus { outline: none; border-color: var(--sage-500); }

/* Two-month grid */
.bk-cal__grid2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) { .bk-cal__grid2 { grid-template-columns: 1fr; gap: 2rem; } }

.bk-cal__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--sage-900);
}
.bk-cal__head { display: flex; justify-content: center; }

.bk-cal__dow,
.bk-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.bk-cal__dow {
  margin-bottom: 4px;
}
.bk-cal__dow span {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--sand-500);
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 0;
}
.bk-cal__day {
  background: none; border: none;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  font-family: var(--sans);
}
.bk-cal__day:hover:not(.is-past):not(.is-blocked):not(.is-not-saturday):not(.is-start):not(.is-end) {
  background: var(--sage-100);
}
.bk-cal__day.is-past,
.bk-cal__day.is-not-saturday {
  color: var(--sand-300);
  cursor: default;
}
.bk-cal__day.is-not-saturday {
  font-style: italic;
  opacity: 0.5;
}
.bk-cal__day.is-blocked {
  background: var(--sand-100);
  color: var(--sand-500);
  cursor: not-allowed;
  text-decoration: line-through;
}
.bk-cal__day.is-mid {
  background: var(--sage-100);
  color: var(--sage-900);
  border-radius: 0;
}
.bk-cal__day.is-start,
.bk-cal__day.is-end {
  background: var(--sage-700);
  color: var(--paper);
  font-weight: 500;
}
.bk-cal__day.is-start { border-radius: 4px 0 0 4px; }
.bk-cal__day.is-end   { border-radius: 0 4px 4px 0; }
.bk-cal__blank { aspect-ratio: 1 / 1; }

.bk__legend {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--ink-soft);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.bk__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.bk__legend .dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.dot--free { background: var(--paper); border: 1px solid var(--sand-300); }
.dot--taken { background: var(--sand-100); border: 1px solid var(--sand-300); }
.dot--selected { background: var(--sage-700); }

.bk__summary {
  background: var(--sage-50);
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.bk__summary-line {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 0.92rem;
  padding: 0.4rem 0;
}
.bk__summary-line strong {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--sage-900);
}
.bk__summary-line--total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  font-size: 1rem;
}
.bk__summary-line--total strong {
  font-size: 1.4rem;
  color: var(--sage-900);
}

/* Guest fields grid */
.bk__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}
@media (max-width: 520px) { .bk__fields { grid-template-columns: 1fr; } }
.bk__field { display: flex; flex-direction: column; gap: 0.3rem; }
.bk__field--wide { grid-column: 1 / -1; }
.bk__field span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.bk__field span em { color: var(--sand-500); font-style: italic; font-weight: 400; }
.bk__field input,
.bk__field select,
.bk__field textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.bk__field input:focus,
.bk__field select:focus,
.bk__field textarea:focus {
  outline: none;
  border-color: var(--sage-500);
}
.bk__field textarea { resize: vertical; min-height: 80px; }

/* Hint shown when no dates picked yet */
.bk__hint {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 0.8rem;
  background: var(--paper);
  border: 1px dashed var(--sand-300);
  border-radius: 6px;
  margin: 0;
}
.bk__hint[hidden] { display: none; }

/* Submit bar — fixed to bottom of viewport, lives in its own DOM node
   appended to <body> so it bypasses every page section's stacking context */
.bk__submit-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 1rem clamp(1rem, 4vw, 3rem);
  display: flex;
  justify-content: flex-end;
  z-index: 2147483647;       /* max safe z-index, above absolutely everything */
  box-shadow: 0 -8px 24px -8px rgba(45, 53, 36, 0.18);
}
.bk__submit-bar[hidden] { display: none; }
.bk__submit {
  font-size: 1rem;
  padding: 1rem 2rem;
  min-width: 200px;
}
@media (max-width: 820px) {
  .bk__submit { width: 100%; }
}

/* ============ FOOTER ============ */
.footer { padding: 3rem 0 2.5rem; background: var(--sage-900); color: var(--sand-100); position: relative; z-index: 1; }
.footer__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center;
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; text-align: center; } }

.footer__brand { font-family: var(--serif); font-size: 1.8rem; color: var(--paper); }
.footer__addr { font-size: 0.85rem; color: var(--sage-300); margin-top: 0.3rem; }
.footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer__nav a { font-size: 0.85rem; opacity: 0.8; transition: opacity 0.25s; }
.footer__nav a:hover { opacity: 1; }
.footer__fine { font-size: 0.78rem; color: var(--sage-300); text-align: right; }
@media (max-width: 720px) { .footer__fine { text-align: center; } }
