/* =====================================================
   Casa del Sol — Tropical Boho Bali, reimagined
   Cormorant Garamond / Jost · clay · sage · sand
   Themeable via :root[data-theme] · [data-font] · [data-motion]
   ===================================================== */

/* ─── Theme tokens ─── */
:root,
:root[data-theme="clay"] {
  --sand:      #f1e8d9;
  --sand-2:    #e8dbc8;
  --shell:     #fbf6ed;
  --ink:       #2d2418;
  --ink-soft:  #6d5f4d;
  --ink-faint: #9c8c77;
  --clay:      #b06a47;
  --clay-deep: #8c5232;
  --clay-soft: #d7a87f;
  --sage:      #7c8a68;
  --sage-deep: #5d6a4c;
  --gold:      #c2924f;
  --deep:      #2a2014;
  --on-deep:   #f1e8d9;
  --line:      rgba(140, 82, 50, 0.16);
  --line-soft: rgba(140, 82, 50, 0.09);
  --grain:     0.05;
}
:root[data-theme="terracotta"] {
  --sand:      #f5e7d6;
  --sand-2:    #eedac4;
  --shell:     #fdf5ea;
  --ink:       #34221a;
  --ink-soft:  #7a5544;
  --ink-faint: #a8826b;
  --clay:      #c0673c;
  --clay-deep: #99431f;
  --clay-soft: #e0a878;
  --sage:      #a08a4e;
  --sage-deep: #7d6a39;
  --gold:      #cf9a4a;
  --deep:      #321c0f;
  --on-deep:   #f5e7d6;
  --line:      rgba(160, 70, 35, 0.18);
  --line-soft: rgba(160, 70, 35, 0.10);
  --grain:     0.06;
}
:root[data-theme="jungle"] {
  --sand:      #edefe2;
  --sand-2:    #e1e6d0;
  --shell:     #f8faf0;
  --ink:       #25291c;
  --ink-soft:  #56604a;
  --ink-faint: #8a9079;
  --clay:      #6f7d52;   /* primary becomes foliage green */
  --clay-deep: #515d39;
  --clay-soft: #aab98a;
  --sage:      #b07248;   /* secondary becomes warm clay */
  --sage-deep: #8c5634;
  --gold:      #c2924f;
  --deep:      #20271b;
  --on-deep:   #edefe2;
  --line:      rgba(80, 95, 55, 0.18);
  --line-soft: rgba(80, 95, 55, 0.10);
  --grain:     0.05;
}
:root[data-theme="dusk"] {
  --sand:      #221d15;
  --sand-2:    #2a241a;
  --shell:     #2e2719;
  --ink:       #f1e7d6;
  --ink-soft:  #c6b8a2;
  --ink-faint: #93876f;
  --clay:      #d18a5b;
  --clay-deep: #b06a3c;
  --clay-soft: #8a5c3c;
  --sage:      #9aa882;
  --sage-deep: #b7c39f;
  --gold:      #d4a861;
  --deep:      #19140d;
  --on-deep:   #f1e7d6;
  --line:      rgba(241, 231, 214, 0.14);
  --line-soft: rgba(241, 231, 214, 0.07);
  --grain:     0.07;
}

/* ─── Font directions ─── */
:root,
:root[data-font="editorial"] {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;
  --display-weight: 500;
  --display-tracking: 0.005em;
}
:root[data-font="relaxed"] {
  --font-display: 'Marcellus', Georgia, serif;
  --font-body:    'Karla', sans-serif;
  --display-weight: 400;
  --display-tracking: 0.01em;
}
:root[data-font="soft"] {
  --font-display: 'Philosopher', Georgia, serif;
  --font-body:    'Mulish', sans-serif;
  --display-weight: 400;
  --display-tracking: 0;
}

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --maxw: 1240px;
  --arch: 50% 50% 6px 6px / 26% 26% 6px 6px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.6s var(--ease-out), color 0.6s var(--ease-out);
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--clay-soft); color: var(--deep); }

/* ─── Organic grain overlay ─── */
.grain {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ─── Custom cursor ─── */
.c-dot, .c-ring { position: fixed; top: 0; left: 0; pointer-events: none; transform: translate(-50%, -50%); border-radius: 50%; }
.c-dot  { z-index: 9999; width: 6px; height: 6px; background: var(--clay); transition: transform 0.18s var(--ease-out), background 0.2s; }
.c-ring { z-index: 9998; width: 30px; height: 30px; border: 1.5px solid color-mix(in srgb, var(--clay) 55%, transparent); transition: opacity 0.2s, width 0.25s, height 0.25s; }
.cursor-hide .c-dot, .cursor-hide .c-ring { display: none; }

/* ─── Page loader ─── */
#page-loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--sand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  transition: opacity 0.8s var(--ease-out);
}
#page-loader.out { opacity: 0; pointer-events: none; }
#page-loader .loader-mark { width: 150px; opacity: 0; transform: translateY(8px) scale(0.96); animation: loaderIn 1.1s var(--ease-out) 0.15s forwards; }
#page-loader .loader-bar { width: 0; height: 1.5px; background: var(--clay); max-width: 180px; animation: loaderBar 1.4s var(--ease-out) 0.3s forwards; }
@keyframes loaderIn  { to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { width: 180px; } }

/* ─── Navbar ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3.2rem; height: 88px;
  transition: transform 0.5s var(--ease-out), background 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), height 0.4s var(--ease-out);
}
#navbar.hidden { transform: translateY(-100%); }
#navbar.scrolled {
  height: 70px;
  background: color-mix(in srgb, var(--sand) 92%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo-img { height: 44px; width: auto; transition: filter 0.45s, height 0.4s; filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0,0,0,0.25)); }
#navbar.scrolled .nav-logo-img { filter: none; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 2.4rem; }
.nav-link {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.86); position: relative; transition: color 0.3s;
}
.nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; right: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link:hover { color: #fff; }
#navbar.scrolled .nav-link { color: var(--ink-soft); }
#navbar.scrolled .nav-link:hover, #navbar.scrolled .nav-link.active { color: var(--clay); }
.nav-book {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,0.45); padding: 0.6rem 1.5rem; border-radius: 40px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav-book:hover { background: rgba(255,255,255,0.16); }
#navbar.scrolled .nav-book { color: var(--clay); border-color: color-mix(in srgb, var(--clay) 45%, transparent); }
#navbar.scrolled .nav-book:hover { background: var(--clay); color: var(--shell); border-color: var(--clay); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: #fff; transition: background 0.3s; }
#navbar.scrolled .hamburger span { background: var(--ink); }
@media (max-width: 860px) {
  #navbar { padding: 0 1.4rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ─── Mobile menu ─── */
#mobile-menu {
  position: fixed; inset: 0; z-index: 600; background: var(--sand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  transform: translateY(-100%); transition: transform 0.55s var(--ease-out);
}
#mobile-menu.open { transform: translateY(0); }
#mobile-menu a { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 2.2rem; color: var(--ink); }
#mobile-menu a:hover { color: var(--clay); }
.menu-close { position: absolute; top: 1.4rem; right: 1.4rem; font-size: 1.6rem; color: var(--ink-soft); padding: 0.5rem; }

/* ─── Typography helpers ─── */
.overline { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay); display: inline-flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.overline::before { content: ''; width: 22px; height: 1px; background: var(--clay); display: inline-block; opacity: 0.7; }
.overline.center { justify-content: center; }
.display-xl { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.8rem, 6.5vw, 5.4rem); line-height: 1.04; letter-spacing: var(--display-tracking); color: var(--ink); }
.display-lg { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: var(--display-tracking); color: var(--ink); }
.display-md { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.14; color: var(--ink); }
.display-xl em, .display-lg em, .display-md em { font-style: italic; color: var(--clay); }
.body-text { font-family: var(--font-body); font-size: 1.02rem; line-height: 1.8; color: var(--ink-soft); font-weight: 300; }
.text-clay { color: var(--clay); }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; padding: 1rem 2.2rem; border-radius: 40px; transition: background 0.3s var(--ease-out), color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s; }
.btn-fill { background: var(--clay); color: var(--shell); box-shadow: 0 6px 22px color-mix(in srgb, var(--clay) 28%, transparent); }
.btn-fill:hover { background: var(--clay-deep); transform: translateY(-2px); box-shadow: 0 12px 30px color-mix(in srgb, var(--clay) 34%, transparent); }
.btn-line { background: transparent; color: var(--clay); border: 1px solid color-mix(in srgb, var(--clay) 50%, transparent); }
.btn-line:hover { background: var(--clay); color: var(--shell); border-color: var(--clay); transform: translateY(-2px); }
.btn .arr { transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* ─── Sections ─── */
.section { padding: clamp(4.5rem, 9vw, 8rem) 3rem; }
.bg-sand  { background: var(--sand); }
.bg-sand2 { background: var(--sand-2); }
.bg-shell { background: var(--shell); }
.bg-deep  { background: var(--deep); color: var(--on-deep); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.inner-narrow { max-width: 880px; margin: 0 auto; }
.section-head { margin-bottom: clamp(2.4rem, 5vw, 4rem); }

/* ─── Reveal animation ─── */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); will-change: opacity, transform; }
[data-reveal="left"]  { transform: translateX(-42px); }
[data-reveal="right"] { transform: translateX(42px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { opacity: 1; transform: none; }
:root[data-motion="off"] [data-reveal] { opacity: 1; transform: none; transition: none; }

/* ─── Hero ─── */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--deep); }
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-out); }
.hero-slide.active { opacity: 1; }
.hero-slide-inner { position: absolute; inset: -8% 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.active img { animation: kenBurns 9s ease-out forwards; }
@keyframes kenBurns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-ph { position: absolute; inset: 0; background: linear-gradient(150deg, var(--clay-soft), var(--clay-deep) 70%); display: flex; align-items: center; justify-content: center; }
.hero-ph span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(20,14,8,0.42) 0%, rgba(20,14,8,0.12) 38%, rgba(20,14,8,0.30) 70%, rgba(20,14,8,0.72) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: clamp(180px, 26vh, 240px); z-index: 4; text-align: center; color: #fff; padding: 0 2rem; }
.hero-eyebrow { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 1.4rem; overflow: hidden; }
.hero-eyebrow span { display: inline-block; }
.hero-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(3.4rem, 9vw, 6.6rem); line-height: 0.98; letter-spacing: 0.01em; }
.hero-title .l { display: block; overflow: hidden; }
.hero-title .l > span { display: inline-block; }
.hero-title em { font-style: italic; color: rgba(255,255,255,0.92); }
.hero-subtitle { font-family: var(--font-body); font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.78); letter-spacing: 0.05em; margin-top: 1.4rem; }
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo { width: clamp(280px, 46vw, 620px); height: auto; filter: brightness(0) invert(1) drop-shadow(0 4px 24px rgba(0,0,0,0.4)); }
.hero-scroll-cue { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.hero-scroll-cue .line { width: 1px; height: 42px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.7)); position: relative; overflow: hidden; }
.hero-scroll-cue .line::after { content: ''; position: absolute; top: -42px; left: 0; width: 1px; height: 42px; background: #fff; animation: scrollCue 2.2s var(--ease-in-out) infinite; }
@keyframes scrollCue { 0% { top: -42px; } 60%,100% { top: 42px; } }
.hero-dots { position: absolute; left: 50%; bottom: 122px; transform: translateX(-50%); z-index: 5; display: flex; gap: 9px; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.42); transition: background 0.3s, transform 0.3s, width 0.3s; cursor: pointer; }
.hero-dot.active { background: #fff; width: 22px; border-radius: 4px; }

/* ─── Hero search ─── */
.hero-search-wrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 0 2.5rem 2.4rem; }
.hero-search { max-width: 920px; margin: 0 auto; display: flex; align-items: stretch; background: color-mix(in srgb, var(--shell) 92%, transparent); backdrop-filter: blur(20px); border-radius: 50px; overflow: hidden; box-shadow: 0 18px 50px rgba(20,14,8,0.28); border: 1px solid rgba(255,255,255,0.25); }
.search-field { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 1rem 1.8rem; border-right: 1px solid var(--line); }
.search-field:first-child { padding-left: 2.2rem; }
.search-label { font-family: var(--font-body); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.3rem; }
.search-input, .search-select { font-family: var(--font-body); font-size: 0.92rem; color: var(--ink); background: transparent; border: none; outline: none; width: 100%; cursor: pointer; -webkit-appearance: none; appearance: none; }
.date-display::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.search-input::-webkit-calendar-picker-indicator { opacity: 0.4; cursor: pointer; }
.search-btn-wrap { padding: 0.7rem; display: flex; align-items: center; }
.search-btn { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; background: var(--clay); color: var(--shell); padding: 1.1rem 2rem; border-radius: 40px; white-space: nowrap; transition: background 0.3s; }
.search-btn:hover { background: var(--clay-deep); }
.hero-price { display: none; text-align: center; margin: 0.9rem auto 0; max-width: 620px; font-family: var(--font-body); font-size: 0.88rem; color: rgba(255,255,255,0.92); background: rgba(20,14,8,0.4); backdrop-filter: blur(8px); padding: 0.6rem 1.4rem; border-radius: 40px; }
.date-picker-popover { position: absolute; left: 50%; bottom: calc(100% + 1rem); z-index: 20; width: min(780px, calc(100vw - 2.4rem)); transform: translate(-50%, 12px) scale(0.98); opacity: 0; pointer-events: none; background: color-mix(in srgb, var(--shell) 96%, white); border: 1px solid rgba(255,255,255,0.62); border-radius: 28px; box-shadow: 0 28px 80px rgba(20,14,8,0.34); padding: 1rem; transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out); }
.date-picker-popover.open { opacity: 1; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.date-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.4rem 0.45rem 0.9rem; border-bottom: 1px solid var(--line-soft); }
.date-picker-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); line-height: 1; }
.date-picker-hint { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-top: 0.25rem; }
.date-picker-nav { display: flex; align-items: center; gap: 0.45rem; }
.date-picker-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--sand); color: var(--ink); font-family: var(--font-body); font-size: 1.1rem; transition: transform 0.2s var(--ease-out), background 0.2s, color 0.2s, box-shadow 0.2s; }
.date-picker-nav button:hover { transform: translateY(-2px); background: var(--clay); color: var(--shell); box-shadow: 0 10px 22px rgba(176,106,71,0.22); }
.date-picker-months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; padding-top: 1rem; }
.date-month { background: color-mix(in srgb, var(--sand) 58%, white); border: 1px solid var(--line-soft); border-radius: 22px; padding: 0.9rem; }
.date-month-name { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.7rem; text-align: center; }
.date-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.22rem; }
.date-weekday { height: 28px; display: grid; place-items: center; font-family: var(--font-body); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.date-day { position: relative; height: 40px; display: grid; place-items: center; border: 0; border-radius: 14px; background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 0.88rem; cursor: pointer; transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s; }
.date-day:hover:not(:disabled) { background: var(--shell); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,14,8,0.09); }
.date-day.muted { color: var(--ink-faint); opacity: 0.42; }
.date-day:disabled { cursor: not-allowed; color: var(--ink-faint); opacity: 0.26; }
.date-day.today { box-shadow: inset 0 0 0 1px var(--clay-soft); }
.date-day.in-range { background: rgba(176,106,71,0.12); color: var(--ink); border-radius: 10px; }
.date-day.selected { background: var(--clay); color: var(--shell); box-shadow: 0 10px 22px rgba(176,106,71,0.28); }
.date-picker-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0.45rem 0.15rem; font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-soft); }
.date-picker-clear { color: var(--clay); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; background: transparent; }
@media (max-width: 860px) {
  .hero-search-wrap { padding: 0 1.1rem 1.4rem; }
  .hero-search { flex-direction: column; border-radius: 22px; }
  .search-field { border-right: none; border-bottom: 1px solid var(--line); padding: 0.9rem 1.4rem; }
  .search-field:first-child { padding-left: 1.4rem; }
  .search-btn-wrap { padding: 0.9rem 1.2rem; }
  .search-btn { width: 100%; text-align: center; }
  .date-picker-popover { position: fixed; left: 50%; right: auto; bottom: 1rem; width: min(430px, calc(100vw - 1.3rem)); max-height: calc(100vh - 2rem); overflow-y: auto; border-radius: 24px; }
  .date-picker-head { align-items: flex-start; }
  .date-picker-title { font-size: 1.2rem; }
  .date-picker-months { grid-template-columns: 1fr; }
  .date-month:nth-child(2) { display: none; }
  .date-day { height: 42px; }
  .hero-content { bottom: 380px; }
  .hero-scroll-cue, .hero-dots { display: none; }
}

/* ─── Marquee ticker ─── */
.ticker { background: var(--deep); color: var(--on-deep); overflow: hidden; padding: 1.1rem 0; border-top: 1px solid color-mix(in srgb, var(--on-deep) 12%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 12%, transparent); }
.ticker-track { display: flex; gap: 3rem; width: max-content; animation: ticker 38s linear infinite; }
:root[data-motion="off"] .ticker-track { animation: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--on-deep); display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; opacity: 0.92; }
.ticker-item::after { content: '✦'; font-style: normal; font-size: 0.8rem; color: var(--clay-soft); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Stats ─── */
.stats { background: var(--shell); border-bottom: 1px solid var(--line-soft); padding: 3.2rem 3rem; }
.stats-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 1.2rem 2rem; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.6rem, 4vw, 3.4rem); color: var(--clay); line-height: 1; margin-bottom: 0.5rem; }
.stat-num sup { font-size: 0.5em; vertical-align: super; }
.stat-label { font-family: var(--font-body); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; } .stat:nth-child(2) { border-right: none; } }

/* ─── Arched frame ─── */
.arch { border-radius: var(--arch); overflow: hidden; position: relative; }
.frame { position: relative; }
.frame::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,0.35); border-radius: inherit; pointer-events: none; z-index: 3; }
.ph { background: linear-gradient(150deg, var(--clay-soft), var(--clay-deep)); display: flex; align-items: center; justify-content: center; position: relative; }
.ph.sage { background: linear-gradient(150deg, color-mix(in srgb,var(--sage) 70%, #fff), var(--sage-deep)); }
.ph::before { content: ''; position: absolute; inset: 0; opacity: 0.5; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 9px); }
.ph span { position: relative; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ─── About ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.about-media { position: relative; }
.about-photo { width: 100%; aspect-ratio: 4/5; }
.about-accent { position: absolute; right: -1.8rem; bottom: -1.8rem; width: 48%; aspect-ratio: 3/4; border: 7px solid var(--shell); border-radius: 200px 200px 6px 6px; box-shadow: 0 18px 50px rgba(20,14,8,0.18); }
.about-leaf { position: absolute; left: -3.5rem; top: -3rem; width: 120px; z-index: 4; opacity: 0.92; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-accent { width: 40%; right: -0.6rem; bottom: -1rem; } .about-leaf { display: none; } }

/* ─── Story timeline ─── */
.story-wrap { max-width: 980px; margin: 0 auto; position: relative; }
.story-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); transform: translateX(-50%); }
.story-line .fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--clay); transition: height 0.1s linear; }
.story-item { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 0; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.story-item:last-child { margin-bottom: 0; }
.story-card { background: var(--shell); border: 1px solid var(--line); border-radius: 4px 4px 4px 4px; padding: 1.8rem 2rem; box-shadow: 0 10px 34px rgba(20,14,8,0.06); }
.story-item:nth-child(odd) .story-card  { grid-column: 1; text-align: right; }
.story-item:nth-child(even) .story-card { grid-column: 3; text-align: left; }
.story-node { grid-column: 2; justify-self: center; width: 16px; height: 16px; border-radius: 50%; background: var(--sand); border: 2px solid var(--clay); position: relative; z-index: 2; transition: background 0.4s, transform 0.4s; }
.story-item.in .story-node { background: var(--clay); transform: scale(1.15); }
.story-year { font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 1.5rem; color: var(--clay); margin-bottom: 0.4rem; }
.story-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.45rem; color: var(--ink); margin-bottom: 0.5rem; }
.story-text { font-family: var(--font-body); font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); font-weight: 300; }
@media (max-width: 720px) {
  .story-line { left: 8px; }
  .story-item { grid-template-columns: 16px 1fr; gap: 1.4rem; margin-bottom: 2rem; }
  .story-node { grid-column: 1; }
  .story-item:nth-child(odd) .story-card, .story-item:nth-child(even) .story-card { grid-column: 2; text-align: left; }
}

/* ─── Cinematic panel ─── */
.cinematic { position: relative; height: 78vh; min-height: 480px; overflow: hidden; }
.cinematic .par { position: absolute; inset: -12% 0; }
.cinematic .ph, .cinematic img { width: 100%; height: 100%; }
.cinematic-overlay { position: absolute; inset: 0; background: rgba(20,14,8,0.4); display: flex; align-items: center; justify-content: center; z-index: 2; }
.cinematic-text { text-align: center; color: #fff; padding: 0 2rem; }

/* ─── Amenities ─── */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-soft); border-radius: 6px; overflow: hidden; background: var(--shell); }
.amenity { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; padding: 2.4rem 1.4rem; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-align: center; transition: background 0.35s; }
.amenity:hover { background: var(--sand); }
.amenity:nth-child(4n) { border-right: none; }
.amenity svg { width: 34px; height: 34px; color: var(--clay); stroke-width: 1.4; transition: transform 0.4s var(--ease-out); }
.amenity:hover svg { transform: translateY(-3px); }
.amenity-label { font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; letter-spacing: 0.04em; color: var(--ink-soft); }
@media (max-width: 768px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } .amenity:nth-child(4n) { border-right: 1px solid var(--line-soft); } .amenity:nth-child(2n) { border-right: none; } }

/* ─── Why ─── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.2rem); max-width: 1180px; margin: 0 auto; }
.why-card { position: relative; min-height: 100%; padding: clamp(1.45rem, 2.8vw, 2.15rem); border: 1px solid transparent; border-radius: 16px; background: transparent; }
.why-num { font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 2.4rem; color: var(--clay-soft); margin-bottom: 0.8rem; }
.why-icon { width: 44px; height: 44px; color: var(--clay); stroke-width: 1.2; margin-bottom: 1.2rem; }
.why-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.6rem; color: var(--ink); margin-bottom: 0.8rem; line-height: 1.18; }
.why-desc { font-family: var(--font-body); font-size: 0.95rem; line-height: 1.75; color: var(--ink-soft); font-weight: 300; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; max-width: 620px; } .why-card { padding: 1.6rem; } }

/* ─── Photo strip (marquee + drag) ─── */
.strip-wrap { overflow: hidden; cursor: grab; user-select: none; padding: 0.5rem 0; }
.strip-wrap.dragging { cursor: grabbing; }
.strip { display: flex; gap: 1rem; padding: 0 1rem; width: max-content; animation: stripScroll 60s linear infinite; }
:root[data-motion="off"] .strip { animation: none; }
.strip-wrap.dragging .strip, .strip-wrap:hover .strip { animation-play-state: paused; }
@keyframes stripScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.strip-item { flex: 0 0 clamp(220px, 24vw, 320px); aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; }
.strip-item .ph, .strip-item img { width: 100%; height: 100%; }
.strip-item img { transition: transform 0.7s var(--ease-out); }
.strip-item:hover img { transform: scale(1.05); }

/* ─── Experiences ─── */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.exp-card { position: relative; aspect-ratio: 3/4.2; border-radius: 180px 180px 6px 6px; overflow: hidden; background: var(--deep); cursor: pointer; }
.exp-card .ph, .exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.9s var(--ease-out); }
.exp-card:hover .ph, .exp-card:hover img { transform: scale(1.06); }
.exp-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, rgba(20,14,8,0) 38%, rgba(20,14,8,0.78) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.8rem 1.5rem; }
.exp-num { font-family: var(--font-body); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-bottom: 0.5rem; }
.exp-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.5rem; color: #fff; line-height: 1.16; }
.exp-desc { font-family: var(--font-body); font-size: 0.84rem; color: rgba(255,255,255,0.82); line-height: 1.55; font-weight: 300; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--ease-out), opacity 0.4s, margin-top 0.5s; }
.exp-card:hover .exp-desc { max-height: 160px; opacity: 1; margin-top: 0.5rem; }
@media (max-width: 900px) { .exp-grid { grid-template-columns: repeat(2, 1fr); } .exp-desc { max-height: 160px; opacity: 1; margin-top: 0.5rem; } }
@media (max-width: 520px) { .exp-grid { grid-template-columns: 1fr; } }

/* ─── Location ─── */
.loc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; max-width: var(--maxw); margin: 0 auto; }
.loc-map { position: relative; aspect-ratio: 5/4.4; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: var(--sand-2); }
.loc-map .map-ph { position: absolute; inset: 0; background:
  radial-gradient(circle at 30% 35%, color-mix(in srgb,var(--sage) 35%, transparent), transparent 40%),
  radial-gradient(circle at 75% 70%, color-mix(in srgb,var(--clay-soft) 35%, transparent), transparent 45%),
  var(--sand-2);
}
.loc-map .roads { position: absolute; inset: 0; opacity: 0.5; background-image:
  linear-gradient(var(--line) 1px, transparent 1px),
  linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; }
.loc-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-100%); z-index: 3; display: flex; flex-direction: column; align-items: center; }
.loc-pin .dot { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--clay); transform: rotate(45deg); box-shadow: 0 4px 12px rgba(20,14,8,0.3); }
.loc-pin .pulse { position: absolute; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--clay); opacity: 0.4; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: 0.45; } to { transform: scale(3.4); opacity: 0; } }
.loc-pin .label { margin-top: 0.9rem; font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay-deep); background: var(--shell); padding: 0.3rem 0.7rem; border-radius: 30px; box-shadow: 0 4px 14px rgba(20,14,8,0.12); white-space: nowrap; }
.dist-list { list-style: none; margin-top: 1.8rem; }
.dist-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.dist-name { font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); font-weight: 400; }
.dist-name small { display: block; font-size: 0.78rem; color: var(--ink-faint); font-weight: 300; margin-top: 0.1rem; }
.dist-val { font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: 1.35rem; color: var(--clay); white-space: nowrap; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr; } }

/* ─── CTA banner ─── */
.cta { position: relative; overflow: hidden; background: var(--clay); color: #fff; padding: clamp(4rem, 8vw, 6.5rem) 3rem; text-align: center; }
.cta-leaf { position: absolute; width: 220px; opacity: 0.16; pointer-events: none; }
.cta-leaf.l { left: -40px; bottom: -40px; transform: rotate(-15deg); }
.cta-leaf.r { right: -40px; top: -40px; transform: rotate(160deg); }
.cta .display-lg { color: #fff; }
.cta .display-lg em { color: rgba(255,255,255,0.78); }
.cta .body-text { color: rgba(255,255,255,0.82); }
.cta .btn-fill { background: var(--shell); color: var(--clay); box-shadow: none; }
.cta .btn-fill:hover { background: #fff; }
.cta .btn-line { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta .btn-line:hover { background: rgba(255,255,255,0.16); color: #fff; border-color: rgba(255,255,255,0.7); }

/* ─── Reviews ─── */
.rating-badge { display: inline-flex; align-items: center; gap: 0.8rem; background: var(--shell); border: 1px solid var(--line); padding: 0.6rem 1.3rem; border-radius: 40px; }
.rating-stars { display: flex; gap: 2px; color: var(--gold); }
.rating-text { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink); }
.rating-text strong { font-weight: 600; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { background: var(--shell); border: 1px solid var(--line-soft); border-radius: 6px; padding: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(20,14,8,0.12); }
.review-plat { font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); display: flex; align-items: center; gap: 0.5rem; }
.review-plat::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.review-stars { display: flex; gap: 2px; color: var(--gold); }
.review-quote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.55; color: var(--ink); font-weight: 400; flex: 1; }
.review-author { padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.review-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; color: var(--ink); }
.review-meta { font-family: var(--font-body); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.06em; color: var(--ink-faint); margin-top: 0.15rem; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ─── Host ─── */
.host-grid { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); gap: clamp(2.4rem, 6vw, 5rem); align-items: center; max-width: 1100px; margin: 0 auto; }
.host-grid > div:first-child { justify-self: center; position: relative; width: clamp(250px, 24vw, 320px); }
.host-grid > div:first-child::before { content: ''; position: absolute; inset: -18px -18px 22px; border: 1px solid var(--clay-soft); border-radius: 50% 50% 18px 18px / 35% 35% 18px 18px; opacity: 0.45; z-index: -1; }
.host-photo { width: 100%; aspect-ratio: 3/4; border-radius: 50% 50% 12px 12px / 34% 34% 12px 12px; flex-shrink: 0; overflow: hidden; box-shadow: 0 26px 60px rgba(20,14,8,0.16); }
.host-photo img { object-position: center top; }
.host-note { background: color-mix(in srgb, var(--sand) 72%, #fff); border: 1px solid var(--line-soft); border-left: 3px solid var(--clay); padding: clamp(1.6rem, 3vw, 2.25rem); font-family: var(--font-body); font-size: 1rem; line-height: 1.85; color: var(--ink-soft); font-weight: 300; border-radius: 0 14px 14px 0; margin: 1.4rem 0 1.35rem; box-shadow: 0 16px 42px rgba(20,14,8,0.06); }
.host-note strong { display: block; font-family: var(--font-body); font-weight: 700; color: var(--ink); margin-bottom: 0.7rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
.host-badges { display: flex; gap: 0.65rem; flex-wrap: wrap; }
.host-badge { font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); border: 1px solid var(--line); background: color-mix(in srgb, var(--shell) 82%, white); padding: 0.5rem 1rem; border-radius: 40px; box-shadow: 0 8px 20px rgba(20,14,8,0.03); }
@media (max-width: 760px) { .host-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 560px; } .host-grid > div:first-child { width: min(82vw, 300px); } .host-grid > div:first-child::before { inset: -14px -14px 18px; } .host-photo { width: 100%; } .host-note { text-align: left; border-radius: 14px; border-left-width: 1px; } .host-badges { justify-content: center; } }

/* ─── Newsletter ─── */
.news { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6rem) 3rem; }
.news-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.news .overline { color: var(--clay-soft); }
.news .display-md { color: var(--on-deep); margin-bottom: 0.8rem; }
.news .display-md em { color: var(--clay-soft); }
.news-sub { font-family: var(--font-body); font-size: 0.98rem; font-weight: 300; color: color-mix(in srgb, var(--on-deep) 65%, transparent); margin: 0.6rem auto 2.4rem; max-width: 520px; line-height: 1.75; }
.news-form { display: flex; max-width: 520px; margin: 0 auto; border: 1px solid color-mix(in srgb, var(--on-deep) 20%, transparent); border-radius: 50px; overflow: hidden; background: color-mix(in srgb, var(--on-deep) 5%, transparent); transition: border-color 0.3s; }
.news-form:focus-within { border-color: var(--clay-soft); }
.news-input { flex: 1; font-family: var(--font-body); font-size: 0.92rem; color: var(--on-deep); background: transparent; border: none; outline: none; padding: 1rem 1.5rem; }
.news-input::placeholder { color: color-mix(in srgb, var(--on-deep) 40%, transparent); }
.news-btn { font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep); background: var(--clay-soft); border: none; padding: 1rem 1.8rem; transition: background 0.3s; white-space: nowrap; }
.news-btn:hover { background: var(--on-deep); }
.news-note { font-family: var(--font-body); font-size: 0.72rem; color: color-mix(in srgb, var(--on-deep) 40%, transparent); margin-top: 1.2rem; }
.news-sun { position: absolute; left: 50%; top: -30%; transform: translateX(-50%); width: 460px; opacity: 0.07; z-index: 1; pointer-events: none; }
@media (max-width: 600px) { .news-form { flex-direction: column; } .news-btn { padding: 0.9rem; } }

/* ─── Footer ─── */
footer { background: var(--deep); color: color-mix(in srgb, var(--on-deep) 65%, transparent); padding: 4.5rem 3rem 2rem; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3.5rem; padding-bottom: 3rem; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 10%, transparent); }
.footer-logo { height: 40px; width: auto; margin-bottom: 1.2rem; filter: brightness(0) invert(1); opacity: 0.88; }
.footer-tagline { font-family: var(--font-body); font-size: 0.92rem; line-height: 1.8; color: color-mix(in srgb, var(--on-deep) 48%, transparent); font-weight: 300; max-width: 280px; }
.footer-col-title { font-family: var(--font-body); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--on-deep) 42%, transparent); margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a { font-family: var(--font-body); font-size: 0.9rem; color: color-mix(in srgb, var(--on-deep) 60%, transparent); transition: color 0.25s; }
.footer-links a:hover { color: var(--on-deep); }
.footer-addr { color: color-mix(in srgb, var(--on-deep) 35%, transparent); font-size: 0.82rem; line-height: 1.8; margin-top: 0.8rem; }
.footer-bottom { max-width: var(--maxw); margin: 2rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-family: var(--font-body); font-size: 0.74rem; color: color-mix(in srgb, var(--on-deep) 32%, transparent); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2.4rem; } footer { padding: 3.5rem 1.5rem 2rem; } }

/* ─── WhatsApp float ─── */
.wa-float { position: fixed; bottom: 2rem; right: 2rem; z-index: 400; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(37,211,102,0.42); transition: transform 0.3s var(--ease-out), box-shadow 0.3s; }
.wa-float:hover { transform: scale(1.09) rotate(4deg); box-shadow: 0 10px 30px rgba(37,211,102,0.5); }

/* ─── Lightbox ─── */
#lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,14,8,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img { max-width: 92vw; max-height: 92vh; object-fit: contain; border-radius: 4px; }
.lb-btn { position: fixed; background: rgba(255,255,255,0.1); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.25s; }
.lb-btn:hover { background: rgba(255,255,255,0.2); }
.lb-close { top: 1.4rem; right: 1.4rem; width: 44px; height: 44px; font-size: 1.3rem; }
.lb-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lb-next { right: 1.4rem; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }

/* ─── Toast ─── */
#toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(90px); background: var(--deep); color: var(--on-deep); font-family: var(--font-body); font-size: 0.88rem; padding: 0.9rem 1.8rem; border-radius: 40px; z-index: 2000; transition: transform 0.45s var(--ease-out); pointer-events: none; box-shadow: 0 10px 30px rgba(20,14,8,0.3); }
#toast.show { transform: translateX(-50%) translateY(0); }

/* ─── Scroll progress ─── */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--clay); z-index: 700; transition: width 0.1s linear; }

/* ─── Leaf placeholders ─── */
.leaf-ph { background: linear-gradient(150deg, color-mix(in srgb,var(--sage) 60%,#fff), var(--sage-deep)); border-radius: 0 80% 0 80%; display: flex; align-items: center; justify-content: center; transform: rotate(0deg); box-shadow: 0 14px 30px rgba(20,14,8,0.14); }
.leaf-ph span { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-align: center; padding: 0.4rem; }


/* ─── Global hover polish ─── */

.frame img,
.about-photo img,
.loc-map .map-ph,
.stat-num,
.search-label,
.story-year,
.story-title,
.story-node,
.why-num,
.why-title,
.dist-val,
.rev-card3 .rev-name,
.amenity-label {
  transition-property: transform, color, background, box-shadow, filter;
  transition-duration: 0.35s;
  transition-timing-function: var(--ease-out);
}
.nav-logo-img,
.hero-search,
.search-field,
.search-btn,
.stat,
.frame,
.about-photo,
.story-card,
.amenity,
.why-card,
.strip-item,
.exp-card,
.loc-map,
.dist-item,
.rating-badge,
.review-card,
.rev-card3,
.rev-dot,
.host-grid .host-photo,
.host-badge,
.news-form,
.news-btn,
.footer-logo,
.footer-links a,
.lb-btn {
  transition-property: transform, box-shadow, border-color, background, color, opacity, filter;
  transition-duration: 0.35s;
  transition-timing-function: var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-logo-img:hover { transform: translateY(-1px) scale(1.035); filter: brightness(0) invert(1) drop-shadow(0 5px 16px rgba(0,0,0,0.28)); }
  #navbar.scrolled .nav-logo-img:hover { filter: drop-shadow(0 5px 14px rgba(20,14,8,0.14)); }
  .hamburger:hover span { background: var(--clay-soft); }
  #navbar.scrolled .hamburger:hover span { background: var(--clay); }

  .hero-search:hover { transform: translateY(-3px); box-shadow: 0 24px 62px rgba(20,14,8,0.34); border-color: rgba(255,255,255,0.42); }
  .search-field:hover { background: color-mix(in srgb, var(--sand) 52%, transparent); }
  .search-field:hover .search-label { color: var(--clay); }
  .search-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px color-mix(in srgb, var(--clay) 34%, transparent); }
  .hero-dot:hover { transform: scale(1.45); background: rgba(255,255,255,0.82); }

  .stat:hover { transform: translateY(-4px); background: color-mix(in srgb, var(--sand) 58%, transparent); }
  .stat:hover .stat-num { color: var(--clay-deep); }

  .frame:hover,
  .about-photo:hover,
  .strip-item:hover,
  .exp-card:hover,
  .loc-map:hover,
  .host-grid .host-photo:hover { transform: translateY(-6px); box-shadow: 0 24px 58px rgba(20,14,8,0.16); }
  .frame:hover img,
  .about-photo:hover img,
  .loc-map:hover .map-ph { transform: scale(1.035); }

  .story-card:hover,
  .review-card:hover,
  .rev-card3:hover { transform: translateY(-6px); border-color: var(--clay-soft); box-shadow: 0 20px 48px rgba(20,14,8,0.11); }
  .why-card:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--shell) 88%, white); border-color: var(--line-soft); box-shadow: 0 22px 52px rgba(20,14,8,0.10); }
  .story-card:hover .story-year,
  .why-card:hover .why-num,
  .why-card:hover .why-title,
  .rev-card3:hover .rev-name { color: var(--clay-deep); }
  .story-item:hover .story-node { transform: scale(1.28); box-shadow: 0 0 0 8px color-mix(in srgb, var(--clay) 12%, transparent); }

  .amenity:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--clay-soft) 44%, transparent); }
  .amenity:hover .amenity-label { color: var(--ink); }
  .amenity:hover svg { transform: translateY(-5px) scale(1.08); }

  .dist-item:hover { transform: translateX(6px); border-color: var(--clay-soft); }
  .dist-item:hover .dist-val { color: var(--clay-deep); }
  .rating-badge:hover { transform: translateY(-2px); border-color: var(--clay-soft); box-shadow: 0 12px 28px rgba(20,14,8,0.08); }
  .rev-dot:hover { transform: scale(1.35); background: var(--clay-soft); }
  .rev-nav:hover { transform: translateY(-50%) scale(1.06); box-shadow: 0 14px 30px rgba(20,14,8,0.18); }

  .host-badge:hover { transform: translateY(-2px); border-color: var(--clay); background: var(--sand); }
  .news-form:hover { border-color: color-mix(in srgb, var(--clay-soft) 65%, transparent); box-shadow: 0 14px 34px rgba(20,14,8,0.16); }
  .news-btn:hover { transform: translateX(-2px); }
  .footer-logo:hover { transform: translateY(-2px); opacity: 1; }
  .footer-links a:hover { transform: translateX(4px); display: inline-block; }
  .lb-btn:hover { transform: scale(1.06); }
  .lb-prev:hover,
  .lb-next:hover { transform: translateY(-50%) scale(1.06); }
}

:root[data-motion="off"] .nav-logo-img,
:root[data-motion="off"] .hero-search,
:root[data-motion="off"] .search-field,
:root[data-motion="off"] .search-btn,
:root[data-motion="off"] .stat,
:root[data-motion="off"] .frame,
:root[data-motion="off"] .about-photo,
:root[data-motion="off"] .story-card,
:root[data-motion="off"] .amenity,
:root[data-motion="off"] .why-card,
:root[data-motion="off"] .strip-item,
:root[data-motion="off"] .exp-card,
:root[data-motion="off"] .loc-map,
:root[data-motion="off"] .dist-item,
:root[data-motion="off"] .review-card,
:root[data-motion="off"] .rev-card3,
:root[data-motion="off"] .host-grid .host-photo,
:root[data-motion="off"] .news-form,
:root[data-motion="off"] .footer-links a { transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ─── Fix: hero slide image fill (ph has no aspect-ratio here) ─── */
.hero-slide .ph { position: absolute; inset: 0; }
.hero-slide .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ─── Fix: clean frames when a real photo is present (hide stripe + inner border) ─── */
.ph img { z-index: 3; }
.ph:has(img)::before { display: none; }
.frame:has(img)::after { display: none; }

/* ─── Match accent frame arch to the main photo ─── */
.about-accent { border-radius: var(--arch); overflow: hidden; }

/* ─── Fix: keep the arched photo's clip stable while the inner image scales on
       hover, so the rounded/arched edge doesn't bleed or flicker (compositing seam) ─── */
.about-photo, .about-accent { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.about-photo img, .about-accent img, .frame img { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .about-photo:hover, .about-accent:hover { transform: translateY(-6px) translateZ(0); }
}

/* ─── Center the hero logo group vertically (slightly above middle) ─── */
.hero-content { top: 43%; bottom: auto; transform: translateY(-50%); }
@media (max-width: 860px) { .hero-content { top: 42%; bottom: auto; } }

/* ─── Reviews carousel (arch window) ─── */
.rev-carousel-wrap { position: relative; max-width: 760px; margin: 2.6rem auto 0; }
.rev-sun { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 60px; height: auto; z-index: 3; opacity: 0.85; pointer-events: none; }
.rev-stage {
  position: relative; overflow: hidden;
  border-radius: 280px 280px 18px 18px / 170px 170px 18px 18px;
  background: linear-gradient(180deg, var(--shell) 0%, #fff 60%);
  border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(20,14,8,0.09);
}
.rev-stage::before {
  content: ''; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid var(--line-soft); border-radius: inherit; z-index: 2;
}
.rev-track { display: flex; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.rev-slide {
  flex: 0 0 100%; box-sizing: border-box;
  padding: 5rem 3.4rem 3rem; min-height: 430px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.rev-plat { font-family: var(--font-body); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.rev-stars { display: flex; gap: 3px; color: var(--clay); margin-bottom: 1.4rem; }
.rev-quote-lg { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.2rem, 2.1vw, 1.62rem); line-height: 1.5; color: var(--ink); max-width: 560px; margin-bottom: 1.6rem; }
.rev-author { padding-top: 1.1rem; border-top: 1px solid var(--line-soft); min-width: 200px; }
.rev-name { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.15rem; color: var(--ink); }
.rev-meta { font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); margin-top: 0.25rem; }
.rev-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 50px; height: 50px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  color: var(--clay); font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(20,14,8,0.12); transition: background 0.25s, color 0.25s, transform 0.2s;
}
.rev-nav:hover { background: var(--clay); color: #fff; }
.rev-nav.prev { left: -24px; } .rev-nav.next { right: -24px; }
.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 1.8rem; }
.rev-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; padding: 0; transition: background 0.3s, width 0.3s; }
.rev-dot.active { background: var(--clay); width: 24px; border-radius: 5px; }
@media (max-width: 820px) {
  .rev-nav.prev { left: 6px; } .rev-nav.next { right: 6px; }
  .rev-stage { border-radius: 150px 150px 14px 14px; }
  .rev-slide { padding: 4rem 1.6rem 2.4rem; min-height: 460px; }
}

/* ─── Reviews carousel: 3 arched cards ─── */
.rev-carousel-wrap { max-width: 1160px; }
.rev-viewport { overflow: hidden; padding: 0.4rem 0; }
.rev-track { display: flex; gap: 1.4rem; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.rev-card3 {
  flex: 0 0 calc((100% - 2.8rem) / 3); box-sizing: border-box;
  background: linear-gradient(180deg, var(--shell) 0%, #fff 72%);
  border: 1px solid var(--line);
  border-radius: 150px 150px 16px 16px / 116px 116px 16px 16px;
  padding: 2.8rem 1.7rem 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 440px; box-shadow: 0 16px 40px rgba(20,14,8,0.06);
}
.rev-card3 .rev-plat { margin-bottom: 0.8rem; }
.rev-card3 .rev-stars { gap: 2px; margin-bottom: 1rem; }
.rev-card3 .rev-stars svg { width: 13px; height: 13px; }
.rev-quote3 { font-family: var(--font-body); font-weight: 300; font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); flex: 1; display: flex; align-items: center; }
.rev-card3 .rev-author { border-top: 1px solid var(--line-soft); padding-top: 1rem; margin-top: 1.2rem; width: 100%; }
.rev-nav.prev { left: -22px; } .rev-nav.next { right: -22px; }
@media (max-width: 1000px) { .rev-card3 { flex: 0 0 calc((100% - 1.4rem) / 2); } }
@media (max-width: 640px) {
  .rev-card3 { flex: 0 0 100%; min-height: 400px; }
  .rev-nav.prev { left: 2px; } .rev-nav.next { right: 2px; }
}
