/* ==========================================================================
   SafariBookNow — Shared design system
   Extracted from the original Woodbury prototype.
   ========================================================================== */

:root {
  --bg: #fbf8f2;
  --bg-warm: #f5efe1;
  --surface: #fff;
  --ink: #1c1711;
  --ink-soft: #4a4238;
  --muted: #7a7060;
  --line: #ebe3d3;
  --line-strong: #d8ccb1;
  --brass: #b4854a;
  --brass-dk: #8f6833;
  --brass-lt: #d9b685;
  --dark: #171411;
  --dark-2: #201b15;
  --green: #4a6b3f;
  --shadow: 0 12px 40px rgba(28, 23, 17, .1);
  --shadow-lg: 0 24px 60px rgba(28, 23, 17, .18);
  --r: 16px;
  --r-sm: 10px;
  --max: 1240px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dk); text-decoration: none; }
a:hover { color: var(--ink); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 20, 17, .92); backdrop-filter: blur(10px);
  color: #f7f1e4;
}
header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo {
  font-family: var(--serif); font-size: 22px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; color: #fff; line-height: 1.1;
}
.logo small {
  display: block; font-family: var(--sans); font-size: 10px;
  letter-spacing: .3em; color: var(--brass); font-weight: 500; margin-top: 2px;
}
.logo a { color: inherit; }
nav.primary ul { display: flex; gap: 22px; list-style: none; }
nav.primary a {
  color: #f7f1e4; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 500; opacity: .85;
}
nav.primary a:hover, nav.primary a.active { opacity: 1; color: #fff; }
.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.phone { font-size: 13px; color: #f7f1e4; opacity: .75; white-space: nowrap; }
.phone b { color: #fff; opacity: 1; font-weight: 500; }
.cta-pair { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-dk); box-shadow: 0 6px 18px rgba(180, 133, 74, .35); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.header-cta .btn { padding: 10px 18px; font-size: 12px; }

.mobile-toggle { display: none; color: #fff; padding: 8px; }
.mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) { .header-cta .phone { display: none; } }
@media (max-width: 820px) {
  nav.primary { display: none; }
  .header-cta .cta-pair .btn-ghost { display: none; }
  .mobile-toggle { display: inline-flex; }
}
/* On phones, hide the header CTAs entirely — the burger drawer has them */
@media (max-width: 640px) {
  .header-cta .cta-pair { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  display: none; position: fixed; inset: 72px 0 0 0; z-index: 49;
  background: rgba(23, 20, 17, .98); padding: 32px 24px; overflow-y: auto;
}
.mobile-drawer.open { display: block; }
.mobile-drawer ul { list-style: none; }
.mobile-drawer a {
  display: block; padding: 16px 0; color: #f7f1e4;
  font-size: 16px; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-drawer a:hover { color: var(--brass); }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: min(86vh, 760px); min-height: 520px;
  overflow: hidden; isolation: isolate;
}
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform: scale(1.04);
  transition: transform 14s ease-out;
}
.hero.loaded img.bg { transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,0) 30%, rgba(0,0,0,.55));
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--max); margin: 0 auto; padding: 0 24px 56px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
}
.breadcrumbs {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  opacity: .82; margin-bottom: 14px;
}
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { color: #fff; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02;
  letter-spacing: -.01em; max-width: 14ch;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}
.hero .loc {
  margin-top: 14px; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; opacity: .95;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); display: inline-block; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-top: 28px; flex-wrap: wrap;
}
.hero-trust { display: flex; gap: 22px; align-items: center; font-size: 14px; flex-wrap: wrap; }
.hero-trust .stars { color: #e9c77a; letter-spacing: 2px; }
.gallery-trigger {
  position: absolute; right: 24px; bottom: 24px; z-index: 3;
  background: rgba(0, 0, 0, .55); color: #fff; padding: 12px 18px;
  border-radius: 999px; font-size: 13px; font-weight: 500;
  backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15);
}
.gallery-trigger:hover { background: rgba(0, 0, 0, .75); }

/* ---------- Home hero search ---------- */
.hero-search {
  margin-top: 28px; background: rgba(255, 255, 255, .96);
  border-radius: var(--r); padding: 14px;
  box-shadow: var(--shadow-lg); color: var(--ink);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 8px;
  max-width: 880px;
}
.hero-search .field { padding: 10px 14px; border-radius: var(--r-sm); background: var(--bg); }
.hero-search .field label {
  display: block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600;
}
.hero-search .field input,
.hero-search .field select {
  width: 100%; border: 0; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink); outline: none;
}
.hero-search .btn { justify-content: center; }
@media (max-width: 760px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .btn { grid-column: 1 / -1; padding: 14px; }
}

/* ---------- Booking band ---------- */
.book-band { background: linear-gradient(180deg, var(--dark), var(--dark-2)); padding: 48px 0; position: relative; }
.book-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.book-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 36px; align-items: start; margin-top: 28px;
}
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; gap: 24px; } }
.book-band h3 { font-family: var(--serif); color: #fff; font-size: 22px; font-weight: 500; line-height: 1.15; margin-bottom: 14px; }
.book-band h3 small {
  display: block; font-family: var(--sans); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--brass);
  font-weight: 600; margin-bottom: 4px;
}
.widget-container {
  max-width: 100%; position: relative; z-index: 2;
  border-radius: var(--r);
}

/* When the booking widget is in use, drop the sticky header below the widget's
   modal popup so it doesn't clip the top of the booking flow. The 'expanded'
   class is added by site.js on first interaction with the widget. */
.widget-container.expanded {}
body:has(.widget-container.expanded) header.site { z-index: 1; }
body:has(.widget-container.expanded) .tabbar { z-index: 1; }
.widget-container booking-widget { display: block; width: 100%; max-width: 100%; }

.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .offers { grid-template-columns: 1fr; } }
.offer {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-sm); padding: 16px 18px; color: #f7f1e4;
  display: flex; gap: 12px; align-items: flex-start;
}
.offer .oicon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(180, 133, 74, .18); color: var(--brass);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.offer .oicon svg { width: 18px; height: 18px; }
.offer h5 { font-family: var(--serif); font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 2px; line-height: 1.2; }
.offer p { font-size: 12px; line-height: 1.5; opacity: .7; margin: 0; }
.offer .tagline {
  display: inline-block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 3px;
}

.plan-card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r); padding: 22px; color: #f7f1e4;
  display: flex; flex-direction: column; gap: 14px;
}
.plan-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.plan-card p { font-size: 14px; line-height: 1.55; opacity: .78; margin-bottom: 4px; }
.plan-card .plan-list { list-style: none; margin: 0; padding: 0; }
.plan-card .plan-list li {
  font-size: 13px; padding: 4px 0 4px 22px; position: relative;
  opacity: .85; line-height: 1.4;
}
.plan-card .plan-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 6px; border: 2px solid var(--brass);
  border-top: 0; border-right: 0; transform: rotate(-45deg);
}
.plan-card .plan-call {
  margin-top: 6px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px; opacity: .7; letter-spacing: .05em;
}
.plan-card .plan-call b { display: block; color: #fff; font-size: 15px; opacity: 1; font-weight: 500; margin-top: 4px; letter-spacing: 0; }

/* ---------- Tab bar (lodge page) ---------- */
.tabbar {
  position: sticky; top: 72px; z-index: 40;
  background: rgba(251, 248, 242, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.tabbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; gap: 4px; overflow: auto; scrollbar-width: none;
}
.tabbar-inner::-webkit-scrollbar { display: none; }
.tabbar a {
  position: relative; padding: 20px 12px;
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.tabbar a:hover { color: var(--ink); }
.tabbar a.active { color: var(--ink); }
.tabbar a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 2px; background: var(--brass);
}

/* ---------- Lodge layout (main + sticky rail) ---------- */
main { padding: 56px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; gap: 28px; } }
section.block { scroll-margin-top: 160px; padding: 32px 0; }
section.block + section.block { border-top: 1px solid var(--line); }

h2.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1;
  letter-spacing: -.01em; margin-bottom: 18px;
}
.eyebrow {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass-dk); font-weight: 600; margin-bottom: 10px;
}
.lede { font-size: 17px; line-height: 1.75; color: var(--ink-soft); max-width: 62ch; }
p + p { margin-top: 14px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
@media (max-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; }
.fact .k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.fact .v { font-family: var(--serif); font-size: 24px; }

/* ---------- Mosaic (gallery) ---------- */
.mosaic {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 10px;
  aspect-ratio: 16/8; border-radius: var(--r); overflow: hidden; margin-top: 28px;
}
.mosaic > * { overflow: hidden; background: #ddd; cursor: zoom-in; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic > *:hover img { transform: scale(1.05); }
.mosaic .big { grid-row: 1 / -1; }
@media (max-width: 700px) {
  .mosaic { grid-template-columns: 1fr 1fr; aspect-ratio: 4/3; }
  .mosaic .big { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Rooms ---------- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rooms { grid-template-columns: 1fr; } }
.room {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.room .cap { padding: 18px; }
.room h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 4px; }
.room p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.room .from { font-size: 13px; color: var(--ink-soft); }
.room .from b { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 500; }

/* ---------- Features (icon-list bullets) ---------- */
.features {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px; margin-top: 18px;
}
@media (max-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }
.features li {
  position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); line-height: 1.6;
}
.features li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 12px; height: 7px; border: 2px solid var(--brass);
  border-top: 0; border-right: 0; transform: rotate(-45deg);
}

/* ---------- Seasons / month strip ---------- */
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
@media (max-width: 700px) { .seasons { grid-template-columns: 1fr; } }
.season { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.season.best { border-color: var(--brass); background: linear-gradient(180deg, #fff, #fff8ec); }
.season .tag {
  display: inline-block; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brass-dk); font-weight: 700; margin-bottom: 8px;
}
.season h4 { font-family: var(--serif); font-size: 24px; margin-bottom: 4px; }
.season .sub { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.season ul { list-style: none; }
.season li { font-size: 14px; color: var(--ink-soft); padding: 4px 0 4px 18px; position: relative; line-height: 1.5; }
.season li::before { content: "•"; position: absolute; left: 0; color: var(--brass); }

.month-strip {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 4px; margin-top: 18px;
}
.m {
  text-align: center; padding: 12px 4px; border-radius: 6px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.m.peak { background: var(--brass); color: #fff; }
.m.good { background: #e6d4b3; color: var(--ink); }
.m.low { background: var(--line); color: var(--ink-soft); }
.legend { display: flex; gap: 24px; margin-top: 14px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.review .stars { color: #e9c77a; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ink); margin-bottom: 14px; }
.review cite { font-size: 12px; color: var(--muted); font-style: normal; letter-spacing: .08em; }

/* ---------- Why us / 3-step / CTA band ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-item .ico {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(180, 133, 74, .12); color: var(--brass-dk);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.why-item .ico svg { width: 22px; height: 22px; }
.why-item h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
@media (max-width: 800px) { .how-steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; }
.step .num {
  font-family: var(--serif); font-size: 36px; color: var(--brass);
  font-weight: 500; line-height: 1; margin-bottom: 14px;
}
.step h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.cta-band {
  margin-top: 36px; background: var(--dark); color: #fff;
  border-radius: var(--r); padding: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cta-band h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin-bottom: 4px; }
.cta-band p { opacity: .75; max-width: 50ch; }

/* ---------- Sticky rail (lodge sidebar) ---------- */
aside.rail { position: sticky; top: 132px; }
.summary-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px; box-shadow: var(--shadow);
}
.summary-card .from { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.summary-card .price { font-family: var(--serif); font-size: 36px; line-height: 1; margin: 6px 0 14px; }
.summary-card .price small { font-size: 13px; font-family: var(--sans); color: var(--muted); margin-left: 6px; }
.summary-card .rating { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.summary-card .rating .stars { color: #e9c77a; letter-spacing: 2px; margin-right: 6px; }
.summary-card .go {
  display: block; text-align: center; background: var(--brass); color: #fff;
  padding: 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.summary-card .go:hover { background: var(--brass-dk); color: #fff; }
.summary-card .plan {
  display: block; text-align: center; padding: 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); font-size: 13px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.summary-card .plan:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.summary-card .perks { display: flex; flex-wrap: wrap; gap: 8px; }
.summary-card .perks span {
  font-size: 11px; padding: 5px 10px; background: var(--bg-warm);
  border-radius: 4px; color: var(--ink-soft);
}

/* ---------- Footer ---------- */
footer.site { background: var(--dark); color: #d8ccb1; padding: 64px 0 32px; margin-top: 80px; }
footer.site .foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 800px) { footer.site .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { footer.site .foot-cols { grid-template-columns: 1fr; } }
footer.site h5 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
footer.site ul { list-style: none; }
footer.site li { padding: 4px 0; font-size: 14px; color: #b9ab8c; }
footer.site a { color: #b9ab8c; }
footer.site a:hover { color: var(--brass); }
footer.site .legal {
  margin-top: 24px; display: flex; justify-content: space-between;
  font-size: 12px; color: #80755e; flex-wrap: wrap; gap: 12px;
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92);
  display: none; align-items: center; justify-content: center;
}
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb .x, .lb .nav {
  position: absolute; background: rgba(255, 255, 255, .12); color: #fff;
  border-radius: 50%; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1;
}
.lb .x:hover, .lb .nav:hover { background: rgba(255, 255, 255, .25); }
.lb .x { top: 24px; right: 24px; }
.lb .nav.l { left: 24px; top: 50%; transform: translateY(-50%); }
.lb .nav.r { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Home-page specific
   ========================================================================== */

/* Section wrappers */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow { display: block; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-soft); line-height: 1.65; }

/* Experience tiles (Big 5, Honeymoon, etc.) */
.tile-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1100px) { .tile-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .tile-row { grid-template-columns: repeat(2, 1fr); } }
.tile {
  position: relative; aspect-ratio: 3/4; border-radius: var(--r);
  overflow: hidden; cursor: pointer; transition: transform .3s ease;
  display: block;
}
.tile:hover { transform: translateY(-4px); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75));
}
.tile .lbl {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  color: #fff; font-family: var(--serif); font-size: 20px;
  font-weight: 500; line-height: 1.15; z-index: 2;
}
.tile .lbl small {
  display: block; font-family: var(--sans); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-lt); font-weight: 600; margin-top: 4px;
}

/* Reserve / lodge cards (rectangular) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .img img { transform: scale(1.05); }
.card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 11px; padding: 5px 10px; border-radius: 4px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}
.card .badge.coming { background: var(--ink); color: #fff; }
.card .body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card .body h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 4px; line-height: 1.15; }
.card .body .where { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.card .body p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 14px; flex: 1; }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.card .meta .from { font-size: 13px; color: var(--ink-soft); }
.card .meta .from b { font-family: var(--serif); font-size: 18px; color: var(--ink); font-weight: 500; }
.card .meta .more { font-size: 12px; color: var(--brass-dk); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.card .body .feat { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.card .body .feat span {
  font-size: 11px; padding: 4px 8px; background: var(--bg-warm);
  border-radius: 4px; color: var(--ink-soft); letter-spacing: .05em;
}
.card.disabled { opacity: .65; pointer-events: none; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; justify-content: center; }
.chip {
  padding: 8px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--ink-soft);
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--brass); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Strip (alt-bg sections) */
.section-alt { background: var(--bg-warm); }
.section-dark { background: var(--dark); color: #f7f1e4; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--brass); }
.section-dark .section-head p { color: rgba(247, 241, 228, .8); }

/* Wildlife stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; }
.stat .v { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--brass); margin-bottom: 6px; }
.stat .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(247, 241, 228, .75); }

/* ==========================================================================
   Reserve-wide availability search
   ========================================================================== */

.reserve-search {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr 0.7fr auto;
  gap: 10px;
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px;
  margin-top: 12px;
  margin-bottom: 4px;
}
.reserve-search .field { display: flex; flex-direction: column; min-width: 0; }
.reserve-search .field label {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px; font-weight: 600;
}
.reserve-search .field input,
.reserve-search .field select {
  padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg); outline: none; min-width: 0;
}
.reserve-search .field input:focus,
.reserve-search .field select:focus { border-color: var(--brass); }
.reserve-search .btn { padding: 13px 22px; }

@media (max-width: 760px) {
  .reserve-search { grid-template-columns: 1fr 1fr; }
  .reserve-search .btn { grid-column: 1 / -1; justify-content: center; padding: 14px; }
}

/* Results states */
.results-loading,
.results-error,
.results-empty {
  padding: 32px 24px; margin: 22px 0; border-radius: var(--r);
  background: var(--bg-warm); border: 1px solid var(--line);
  text-align: center; color: var(--ink-soft); font-size: 16px;
}
.results-error { background: #fdf2ec; border-color: #f0d2bc; color: #8a4a23; }
.results-error .btn { margin-left: 10px; }

.results-summary {
  margin: 22px 0 12px; padding: 12px 18px;
  background: var(--bg-warm); border-left: 3px solid var(--brass);
  border-radius: 4px; font-size: 14px; color: var(--ink-soft);
}
.results-summary strong { color: var(--ink); }

.results-bucket { margin-top: 32px; }
.bucket-title {
  font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15;
  margin-bottom: 14px; padding-left: 18px; position: relative;
  display: flex; align-items: center; gap: 0;
}
.bucket-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 2px;
}
.bucket-title .bucket-count {
  display: inline-block; background: var(--bg-warm); color: var(--ink-soft);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; vertical-align: middle;
}
.bucket-available::before { background: #4a6b3f; }
.bucket-alternatives::before { background: var(--brass); }
.bucket-fullybooked::before { background: var(--muted); }
.bucket-intro { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.alt-suggest {
  font-size: 14px; color: var(--brass-dk); font-weight: 500;
  margin-top: 2px; margin-bottom: 10px;
}

.fullybooked-list {
  background: var(--bg-warm); border-radius: var(--r-sm);
  padding: 12px 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.fullybooked-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-top: 1px solid var(--line);
  font-size: 14px;
}
.fullybooked-row:first-child { border-top: 0; }
.fullybooked-row .lodge-name {
  font-weight: 500; color: var(--ink); text-decoration: none;
}
.fullybooked-row .lodge-name:hover { color: var(--brass-dk); }
.fullybooked-row .status { font-size: 12px; color: var(--muted); }

.results-reset {
  margin-top: 32px; text-align: center;
}
.results-reset a {
  font-size: 13px; color: var(--brass-dk);
  text-decoration: underline; text-underline-offset: 4px;
}
.results-reset a:hover { color: var(--ink); }

/* Newsletter */
.newsletter { background: var(--ink); color: #f7f1e4; padding: 56px 0; text-align: center; }
.newsletter h3 { font-family: var(--serif); font-size: 32px; margin-bottom: 8px; color: #fff; }
.newsletter p { opacity: .75; margin-bottom: 22px; max-width: 50ch; margin-left: auto; margin-right: auto; }
.newsletter form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .05);
  color: #fff; font: inherit; outline: none;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter input:focus { border-color: var(--brass); }

/* ==========================================================================
   Mobile optimization
   Pass applied last so it overrides earlier @media queries where needed.
   Targets phones in portrait (<=640px) and very small phones (<=400px).
   ========================================================================== */

@media (max-width: 760px) {
  /* Tighter horizontal padding on small screens — recover ~16px of usable width */
  .wrap { padding: 0 18px; }

  /* Hero — shorter on mobile so the search/CTAs are visible without scrolling */
  .hero { height: auto; min-height: 0; }
  .hero-inner { padding: 24vh 20px 32px; min-height: 460px; }
  .hero h1 { max-width: 100%; }
  .hero .loc { gap: 8px; font-size: 12px; letter-spacing: .1em; }
  .hero-search { padding: 10px; gap: 6px; }
  .hero-search .field { padding: 8px 12px; }
  .hero-search .field label { font-size: 9px; margin-bottom: 2px; }
  .hero-search .field input, .hero-search .field select { font-size: 14px; }
  .hero-foot { gap: 12px; margin-top: 18px; }
  .hero-trust { font-size: 13px; gap: 12px; }
  .gallery-trigger { right: 16px; bottom: 16px; padding: 10px 14px; font-size: 12px; }

  /* Section spacing tighter */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { margin-bottom: 10px; }
  .section-head p { font-size: 15px; }

  /* Cards: remove hover transform on touch (prevents sticky :hover state) */
  .card:hover, .tile:hover, .room:hover { transform: none; box-shadow: none; }
  .card:hover .img img, .tile:hover img, .room:hover img { transform: none; }
  .card .img { aspect-ratio: 16/9; }

  /* Tile labels — slightly smaller so they fit on tiny phones */
  .tile .lbl { font-size: 17px; left: 12px; right: 12px; bottom: 12px; }
  .tile .lbl small { font-size: 10px; margin-top: 2px; }

  /* Buttons — bigger tap targets for thumbs */
  .btn { padding: 14px 22px; font-size: 13px; }
  .header-cta .btn { padding: 11px 16px; font-size: 12px; }

  /* Header — make sure menu drawer fully opens */
  header .bar { height: 64px; gap: 12px; }
  .logo { font-size: 18px; letter-spacing: .12em; }
  .logo small { font-size: 9px; letter-spacing: .24em; }

  /* Booking widget band — tighter padding on mobile */
  .book-band { padding: 32px 0; }
  .book-band h3 { font-size: 19px; }
  .offer { padding: 14px 16px; gap: 10px; }
  .offer h5 { font-size: 15px; }
  .offer p { font-size: 12px; }
  .plan-card { padding: 18px; }
  .plan-card h3 { font-size: 19px; }

  /* Lodge tab bar — give it room and make it scrollable */
  .tabbar { top: 64px; }
  .tabbar a { padding: 16px 10px; font-size: 11px; letter-spacing: .06em; }

  /* Lodge layout — sticky sidebar should NOT be sticky once stacked below */
  aside.rail { position: static; top: auto; margin-top: 24px; }
  .summary-card { padding: 20px; }
  .summary-card .price { font-size: 30px; }

  /* Sections in lodge/reserve pages */
  section.block { scroll-margin-top: 140px; padding: 24px 0; }
  h2.section-title { font-size: 26px; margin-bottom: 14px; }
  .lede { font-size: 16px; line-height: 1.65; }
  main { padding: 32px 0; }

  /* Quick facts — 2 columns on small */
  .facts { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
  .fact { padding: 12px 14px; }
  .fact .v { font-size: 20px; }

  /* Mosaic gallery — single big + 2 small rows */
  .mosaic { aspect-ratio: 4/3; gap: 6px; }

  /* Month strip — make sure it stays one row but legible */
  .month-strip { gap: 2px; }
  .m { padding: 8px 2px; font-size: 9px; letter-spacing: .04em; }
  .legend { gap: 12px; font-size: 11px; }

  /* Seasons stack always on mobile */
  .seasons { grid-template-columns: 1fr; gap: 10px; }
  .season { padding: 18px; }
  .season h4 { font-size: 21px; }

  /* Reviews — single column with tighter padding */
  .review { padding: 18px; }
  .review blockquote { font-size: 17px; }

  /* Stat strip — 2x2 on mobile, smaller numbers */
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat .v { font-size: 36px; }
  .stat .k { font-size: 11px; }

  /* Newsletter — make button visible below input on tiny screens */
  .newsletter { padding: 44px 0; }
  .newsletter h3 { font-size: 26px; }
  .newsletter input { min-width: 0; flex-basis: 100%; }
  .newsletter form .btn { flex-basis: 100%; justify-content: center; }

  /* Footer — single column with tighter spacing */
  footer.site { padding: 48px 0 24px; margin-top: 56px; }
  footer.site .foot-cols { gap: 28px; padding-bottom: 28px; }
  footer.site .legal { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 11px; }

  /* CTA bands — stack vertically */
  .cta-band { padding: 24px; gap: 16px; flex-direction: column; align-items: flex-start; }
  .cta-band h3 { font-size: 22px; }
  .cta-band .cta-pair { width: 100%; flex-wrap: wrap; gap: 8px; }
  .cta-band .cta-pair .btn { flex: 1 1 100%; min-width: 0; justify-content: center; max-width: 100%; }

  /* Why-us / steps — single column on small phones */
  .why-grid, .how-steps { grid-template-columns: 1fr; gap: 18px; }
  .step { padding: 22px; }

  /* Featured rooms — single column on mobile (already at 600px) */
  .rooms { gap: 14px; }
  .room .cap { padding: 16px; }
}

/* Very small phones (< 400px) — further compaction */
@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .hero h1 { line-height: 1.05; }
  .tile-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { aspect-ratio: 4/5; }
  .month-strip { font-size: 9px; }
  .m { padding: 6px 1px; }
}

/* Touch-only optimization — disable hover transforms on touch devices */
@media (hover: none) {
  .card:hover, .tile:hover, .room:hover { transform: none; box-shadow: none; }
  .card:hover .img img, .tile:hover img, .room:hover img { transform: none; }
}
