:root {
  --sand: #f4ede1;
  --sand-2: #e9dcc6;
  --ink: #1f2a33;
  --ink-2: #4a5560;
  --lake: #1f3a4d;
  --grass: #5b6b4a;
  --sun: #c8743c;
  --card: #fffaf2;
  --line: #e0d3bd;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, sans-serif;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 650; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(28px, 4vw, 38px); color: var(--lake); }
h3 { font-size: 20px; margin-top: 1.4em; }
a { color: var(--lake); }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(244,237,225,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand { font-family: "Fraunces", serif; font-weight: 650; font-size: 20px; text-decoration: none; color: var(--lake); }
.nav nav { display: flex; gap: clamp(12px, 2.5vw, 28px); flex-wrap: wrap; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav nav a:hover { color: var(--lake); }

/* hero — uses photos/hero.jpg when present, a dune gradient otherwise */
.hero {
  position: relative; overflow: hidden; min-height: min(78vh, 680px);
  display: flex; align-items: center; padding: 64px clamp(16px, 6vw, 96px) 140px;
  background: linear-gradient(180deg, #cfe0e6 0%, #e9dcc6 70%, var(--sand) 100%);
}
.hero.has-photo { background: center/cover no-repeat var(--lake); }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,25,32,.62), rgba(15,25,32,.1)); }
.hero.has-photo .hero-inner, .hero.has-photo .hero-inner a.ghost { color: #fff; }
.hero.has-photo .eyebrow { color: #f3d9b9; }
.hero.has-photo .dunes { display: none; }
.hero-inner { position: relative; max-width: 620px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; color: var(--grass); margin: 0 0 12px; }
.hero h1 { font-size: clamp(48px, 9vw, 96px); color: inherit; margin-bottom: 16px; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: inherit; opacity: .9; margin: 0 0 28px; }
.dunes { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 180px; }
.dunes .d1 { fill: #dcc7a3; }
.dunes .d2 { fill: var(--sand); }

.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
}
.btn.primary { background: var(--sun); color: #fff; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { border-color: currentColor; color: var(--lake); }

/* sections */
.section { max-width: 1080px; margin: 0 auto; padding: 72px clamp(16px, 4vw, 32px); }
.section + .section { border-top: 1px solid var(--line); }
.body { max-width: 680px; color: var(--ink-2); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gallery button { all: unset; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-2); }
.gallery button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.04); }
.empty { color: var(--ink-2); font-style: italic; }

/* facts */
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.facts li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; }
.facts .k { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--grass); font-weight: 600; }
.facts .v { font-family: "Fraunces", serif; font-size: 26px; color: var(--lake); }
.amenities { columns: 2 220px; padding-left: 1.1em; color: var(--ink-2); }

/* booking */
#booking-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.booking-pending p { margin: 0 0 10px; max-width: 560px; }
.booking-pending .btn { margin-top: 8px; }
.also { margin-top: 18px; color: var(--ink-2); }
.also .listing { margin-left: 8px; font-weight: 600; }
.also.none { display: none; }

/* footer */
.foot { text-align: center; padding: 40px 16px 56px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }

/* lightbox */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
#lightbox::backdrop { background: rgba(10,16,20,.9); }
#lightbox[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; }
#lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 8px; }
#lightbox .lb-cap { color: #e9e2d6; margin: 12px 0 0; font-size: 15px; }
#lightbox button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%;
  width: 48px; height: 48px; font-size: 28px; line-height: 1; cursor: pointer; }
#lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .nav nav a:nth-child(2) { display: none; }
  .hero { padding-bottom: 120px; }
}
