/* Direct booking site */

:root {
  --forest: #163226;
  --forest-deep: #0d1c16;
  --moss: #3d5a45;
  --leaf: #5a7a58;
  --gold: #c4a46a;
  --gold-soft: #d4bc88;
  --gold-deep: #8f7340;
  --cream: #f6f0e6;
  --parchment: #ede4d4;
  --sand: #e6d9c4;
  --ink: #1c1710;
  --bark: #3a2c20;
  --muted: #6b5e4e;
  --line: rgba(28, 23, 16, 0.12);
  --white: #fffdf8;
  --danger-soft: #c4b4a8;
  --shadow: 0 18px 50px rgba(22, 50, 38, 0.12);
  --shadow-soft: 0 8px 24px rgba(22, 50, 38, 0.08);
  --radius: 16px;
  --header-h: 72px;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(13, 28, 22, 0.72), rgba(13, 28, 22, 0.28));
  backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(13, 28, 22, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream);
}

.logo picture {
  display: contents;
}
.logo-mark {
  width: 52px;
  height: 52px;
  flex: none;
  display: block;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2.25rem;
}

.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.nav a:hover { opacity: 1; color: var(--gold-soft); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  padding: 12px 22px;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(196, 164, 106, 0.28);
}

.btn-gold:hover { background: var(--gold-soft); }

.btn-wide { width: 100%; padding: 14px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  isolation: isolate;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 42%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 28, 22, 0.62) 0%, rgba(13, 28, 22, 0.28) 42%, rgba(13, 28, 22, 0.08) 70%),
    linear-gradient(to top, rgba(13, 28, 22, 0.78) 0%, rgba(13, 28, 22, 0.2) 38%, rgba(13, 28, 22, 0.25) 100%);
}

.hero picture {
  display: contents;
}
.hero-badge {
  position: absolute;
  right: 0;
  bottom: 120px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
}
.hero-content {
  padding: 0 0 120px;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  margin: 0 0 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
  margin: 0 0 22px;
  color: #f3ead8;
  max-width: 28ch;
  line-height: 1.35;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.95rem;
  margin: 0 0 28px;
  color: #efe6d6;
}

.hero-meta a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}
.hero-meta a:hover,
.hero-meta a:focus-visible {
  color: var(--gold-soft);
  text-decoration: underline;
}

.hero-meta .reviews-stars-link {
  color: var(--gold);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  flex: none;
}
.hero-meta .reviews-stars-link:hover,
.hero-meta .reviews-stars-link:focus-visible {
  color: var(--gold-soft);
  text-decoration: none;
}

.hero-guest-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hero-meta .hero-guest-fav {
  color: var(--gold);
  text-decoration: none;
  flex: none;
}

.hero-meta .hero-guest-fav:hover,
.hero-meta .hero-guest-fav:focus-visible {
  color: var(--gold-soft);
  text-decoration: none;
}

.hero-guest-tip {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 16.5rem;
  max-width: min(16.5rem, calc(100vw - 48px));
  padding: 10px 12px;
  background: var(--forest-deep);
  color: var(--cream);
  border: 1px solid rgba(212, 188, 136, 0.45);
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.hero-guest-wrap:focus-within .hero-guest-tip {
  opacity: 1;
  visibility: visible;
}

@media (hover: hover) and (pointer: fine) {
  .hero-guest-wrap:hover .hero-guest-tip {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 720px) {
  /* Tidy on small screens: compact width, don't cover the action buttons. */
  .hero-guest-tip {
    width: min(16.5rem, calc(100vw - 40px));
    font-size: 0.74rem;
    padding: 8px 10px;
  }
}



.stars { color: var(--gold); letter-spacing: 0.04em; }

.dot { opacity: 0.5; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 240, 230, 0.45);
  padding: 11px 22px;
  font-size: 0.88rem;
}

.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -56px;
}

.stats-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
}

.stat {
  padding: 22px 16px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 6px;
}

.stat span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Sections */
section { padding: 88px 0; }

.section-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 10px;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--forest);
}

.lede {
  font-size: 1.12rem;
  color: var(--bark);
  max-width: 62ch;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.split p { margin: 0 0 16px; color: var(--bark); }

.split-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.split-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: 50% 50%;
  display: block;
  vertical-align: bottom;
}

.split-photo { background: var(--white); }
.caption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 12px 16px 14px;
  line-height: 1.45;
}
.photo-credit {
  display: block;
  margin-top: 4px;
  color: var(--bark);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Amenities */
.amenities { background: var(--forest); color: var(--cream); }

.amenities h2 { color: var(--cream); }

.amenities .section-kicker { color: var(--gold-soft); }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.amenity {
  background: rgba(255, 253, 248, 0.05);
  border: 1px solid rgba(246, 240, 230, 0.1);
  border-radius: 14px;
  padding: 20px 18px 18px;
  min-height: 118px;
}

.amenity svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  margin-bottom: 12px;
}

.amenity strong {
  display: block;
  font-weight: 500;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.amenity p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(246, 240, 230, 0.7);
  line-height: 1.4;
}

/* Gallery — grouped layouts; tile aspect lives on .gallery-link so captions sit below */
#gallery .gallery-group {
  margin-top: 48px;
}
#gallery .gallery-group:first-of-type {
  margin-top: 32px;
}
.gallery-group h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--forest);
}
#gallery .gallery-grid {
  display: grid;
  gap: 12px;
  justify-content: start;
  grid-template-rows: none;
  grid-auto-rows: auto;
  margin-top: 0;
}
#gallery .gallery-grid + .gallery-grid {
  margin-top: 12px;
}
#gallery .gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: var(--white);
}
.gallery-link {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--parchment);
}
#gallery .gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
#gallery .gallery-grid figure:hover img { transform: scale(1.04); }

.landscape-32 .gallery-link { aspect-ratio: 3 / 2; }
.landscape-43 .gallery-link { aspect-ratio: 4 / 3; }
.landscape-21 .gallery-link { aspect-ratio: 2 / 1; }
.portrait-34 .gallery-link { aspect-ratio: 3 / 4; }
.portrait-45 .gallery-link { aspect-ratio: 4 / 5; }
.square .gallery-link { aspect-ratio: 1 / 1; }

.gallery-cap {
  padding: 8px 12px 10px;
  font-size: 0.78rem;
  color: var(--bark);
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--white);
  line-height: 1.35;
}

.gallery-pair {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.78fr);
  align-items: start;
}
.gallery-two {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.gallery-two-lead {
  grid-template-columns: 1.25fr 1fr;
  align-items: start;
}
.gallery-three {
  grid-template-columns: 1fr 1fr minmax(160px, 280px);
  align-items: start;
}
.gallery-portraits-3 {
  grid-template-columns: 1.12fr 1fr 1fr;
  align-items: start;
}
.gallery-single-portrait {
  grid-template-columns: minmax(0, 400px);
}
.gallery-featured-one {
  grid-template-columns: minmax(0, 720px);
}
.gallery-aerial {
  grid-template-columns: minmax(0, 960px);
}
.gallery-chandeliers {
  grid-template-columns: minmax(0, 640px);
}
.gallery-touches-row {
  grid-template-columns: minmax(0, 360px) minmax(0, 280px) minmax(0, 280px);
  align-items: start;
}
.gallery-sign {
  grid-template-columns: minmax(0, 560px);
}
.gallery-propose {
  grid-template-columns: minmax(0, 420px) minmax(0, 220px);
  align-items: start;
}
#gallery .modest {
  max-width: 300px;
}
#gallery .small-tile {
  max-width: 220px;
}

.photo-note {
  margin: 28px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Booking */
.booking { background: var(--parchment); }

.booking-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
  margin-top: 36px;
}

.panel {
  background: var(--white);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.panel h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 0 0 6px;
  color: var(--forest);
}

.hint {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0 0 22px;
  font-size: 0.8rem;
  color: var(--muted);
}

.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: var(--white);
}

.swatch.booked { background: #e4ddd2; }
.swatch.selected { background: var(--forest); border-color: var(--forest); }
.swatch.available { background: var(--white); }

.calendars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.month { min-width: 0; }
.days, .dow { width: 100%; }
.month h4 {
  margin: 0 0 12px;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  color: var(--forest);
}

.dow, .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.days {
  grid-template-rows: repeat(6, minmax(38px, auto));
}

.dow span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
}

.day {
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}

.day:hover:not(:disabled):not(.booked):not(.empty) {
  background: rgba(22, 50, 38, 0.08);
}

.day.empty { cursor: default; visibility: hidden; }

.day.booked {
  color: #b3a89a;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #eee8de;
}

.day.selected {
  background: var(--forest);
  color: var(--cream);
  font-weight: 500;
}

.day.in-range {
  background: #d9e3db;
  color: var(--forest);
  border-radius: 0;
}

.day.in-range.selected { border-radius: 10px; background: var(--forest); color: var(--cream); }

.day:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Booking form */
.book-card { position: sticky; top: calc(var(--header-h) + 20px); }

.sample-flag {
  display: inline-block;
  background: rgba(196, 164, 106, 0.2);
  color: var(--gold-deep);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.field input, .field select {
  appearance: none;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 1rem;
  color: var(--ink);
  width: 100%;
}

.field input:focus, .field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  background: var(--white);
}

.price {
  margin: 8px 0 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.price-line, .price-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  margin: 0 0 8px;
  color: var(--bark);
}

.price-total {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
}

.price-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.payment {
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.payment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.payment-head h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
}

.stripe-demo {
  font-size: 0.75rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lock {
  width: 14px;
  height: 14px;
}

.demo-toast {
  display: none;
  margin-top: 12px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.88rem;
}

.demo-toast.show { display: block; }

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer h2, .site-footer h3 {
  color: var(--cream);
  margin: 0 0 14px;
}

.site-footer h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.site-footer p { color: rgba(246, 240, 230, 0.78); margin: 0 0 12px; }

.save-msg {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-soft) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 240, 230, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(246, 240, 230, 0.55);
}

/* Responsive */
@media (max-width: 980px) {
  .split, .booking-layout, .footer-grid, .calendars {
    grid-template-columns: 1fr;
  }
  .split-photo { position: static; }
  .split-photo img { height: auto; }
  .book-card { position: static; }
  .stats-card { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px 200px;
  }
  .gallery-grid .wide { grid-row: 1; grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--forest-deep);
    padding: 8px 0 16px;
  }
  .nav.is-open .nav-links a { padding: 12px 24px; }
  .nav-toggle { display: block; }
  .hero { min-height: 92vh; }
  .hero-content { padding-bottom: 96px; }
  .hero h1 { font-size: 3.1rem; }
  .stats { margin-top: -40px; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid var(--line); padding: 16px 10px; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:nth-child(3) { border-right: 1px solid var(--line); }
  section { padding: 64px 0; }
  .field-row { grid-template-columns: 1fr; }
  .amenity-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }
  .gallery-grid .wide { grid-column: 1; }
  .panel { padding: 20px 18px; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.7rem; }
  .day { font-size: 0.8rem; border-radius: 8px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--forest-deep);
    padding: 8px 0 16px;
  }
  .nav.is-open .nav-links a { padding: 12px 24px; }
}


/* Layout fixes */
@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 200px 200px;
  }
  .gallery-grid .wide {
    grid-row: 1;
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header .btn-gold {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
  .logo-text span { display: none; }
  .logo-mark { width: 46px; height: 46px; }
  .hero-badge { display: none; }
  .nav { gap: 4px; }
  .stat:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }
  .amenity-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .amenity {
    padding: 14px 12px 14px;
    min-height: 0;
  }
  .amenity p { font-size: 0.75rem; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 190px 190px;
  }
}

@media (max-width: 720px) {
  .payment-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Other stays + OwnerRez placeholder */
.other-stays { background: var(--cream); }
.other-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.other-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
}
.other-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.other-card img { width: 100%; height: 200px; object-fit: cover; }
.other-card .other-body { padding: 16px 18px 20px; }
.other-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin: 0 0 6px;
  color: var(--forest);
}
.other-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.or-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(196, 164, 106, 0.16);
  border: 1px solid rgba(143, 115, 64, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 20px;
}
.or-banner strong { display: block; color: var(--forest); font-size: 0.95rem; margin-bottom: 2px; }
.or-banner p { margin: 0; font-size: 0.86rem; color: var(--bark); }

.price-placeholder {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 8px 0 8px;
}
.price-placeholder p { margin: 0 0 8px; color: var(--bark); }
.btn-gold:disabled, .btn[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 720px) {
  .other-grid { grid-template-columns: 1fr; }
  .other-card img { height: 180px; }
}

/* Guest reviews */
.reviews { background: var(--white); }

.reviews-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 0 0 0;
}
.reviews-heading h2 { margin: 0; }
.reviews-stars-link {
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
  flex: none;
}
.reviews-stars-link:hover,
.reviews-stars-link:focus-visible {
  color: var(--gold);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.review-card {
  margin: 0;
  background: var(--cream);
  border-radius: 16px;
  padding: 24px 26px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 10px;
  line-height: 1;
}

.review-card p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--bark);
  margin: 0 0 18px;
  flex: 1;
}

.review-meta {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: normal;
}

.review-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.review-attr {
  margin: 24px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.review-attr a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .reviews-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 2px 12px;
    -webkit-overflow-scrolling: touch;
  }
  .review-card {
    flex: 0 0 min(320px, 82vw);
    scroll-snap-align: start;
  }
  .review-card p {
    font-size: 1.08rem;
    line-height: 1.55;
  }
  .review-meta {
    font-size: 0.9rem;
  }
}


/* OwnerRez Booking/Inquiry widget */
.booking-cancel-note {
  margin: 28px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 46rem;
}
.booking-widget {
  margin-top: 14px;
  background: var(--white);
  border-radius: 18px;
  padding: 20px 22px 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.booking-widget .ownerrez-widget,
.booking-widget iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}
@media (max-width: 720px) {
  .booking-widget {
    padding: 12px 10px 16px;
    border-radius: 14px;
  }
}


/* Hero is the original 1200x818 treehouse-and-bridge photo. On desktop, contain
   the full photo in the area below the header and fill the side gaps with a
   blurred/ghosted copy of the foliage so the roof stays fully visible.
   On mobile, keep cover below the header (treehouse on the right of the frame)
   so the gable is not hidden. */
.hero {
  background: #0d1c16;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0d1c16 url("assets/hero.jpg") 72% 42% / cover no-repeat;
  filter: blur(28px) saturate(0.85) brightness(0.42);
  transform: scale(1.12);
  z-index: -3;
  pointer-events: none;
}
.hero-img {
  top: var(--header-h);
  height: calc(100% - var(--header-h));
  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
}
@media (max-width: 720px) {
  .hero-img {
    object-fit: cover;
    object-position: 72% 50%;
  }
}

/* Gallery responsive + lightbox */
@media (max-width: 980px) {
  #gallery .gallery-pair,
  #gallery .gallery-two-lead,
  #gallery .gallery-portraits-3 {
    grid-template-columns: 1fr 1fr;
  }
  #gallery .gallery-three {
    grid-template-columns: 1fr 1fr minmax(140px, 240px);
  }
  #gallery .gallery-touches-row {
    grid-template-columns: 1fr minmax(0, 240px) minmax(0, 240px);
  }
}
@media (max-width: 720px) {
  #gallery .gallery-pair,
  #gallery .gallery-two,
  #gallery .gallery-two-lead,
  #gallery .gallery-three,
  #gallery .gallery-portraits-3,
  #gallery .gallery-touches-row {
    grid-template-columns: 1fr 1fr;
  }
  #gallery .gallery-propose {
    grid-template-columns: minmax(0, 1fr) minmax(0, 160px);
  }
  #gallery .gallery-single-portrait,
  #gallery .gallery-featured-one,
  #gallery .gallery-chandeliers,
  #gallery .gallery-sign,
  #gallery .gallery-aerial {
    grid-template-columns: minmax(0, 1fr);
  }
  #gallery .modest { max-width: 100%; }
  #gallery .small-tile { max-width: 160px; }
  .gallery-group h3 { font-size: 1.45rem; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 28, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 72px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox-figure {
  margin: 0;
  max-width: min(1400px, 100%);
  text-align: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
  margin-inline: auto;
}
.lightbox-caption {
  color: var(--cream);
  font-size: 0.9rem;
  margin-top: 14px;
  opacity: 0.85;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  opacity: 0.85;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-close {
  top: 16px;
  right: 20px;
  font-size: 2.4rem;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 720px) {
  .lightbox { padding: 56px 16px 24px; }
  .lightbox-prev,
  .lightbox-next { font-size: 2.4rem; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* Keep hero badge just inside the contained hero photo on desktop */
@media (min-width: 721px) {
  .hero-badge {
    right: max(24px, calc(50% - (100dvh - var(--header-h)) * 0.7335 + 28px));
    bottom: 140px;
  }
}

/* House rules pages, booking agreement notice, and footer contact links */
body.rules-view .site-header {
  background: rgba(13, 28, 22, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.rules-main {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 24px;
}
.rules-doc {
  max-width: 46rem;
}
.rules-doc h1 {
  margin: 0 0 12px;
}
.rules-lede {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 1.05rem;
}
.rules-intro { margin: 0 0 14px; }
.rules-doc section {
  padding: 28px 0 8px;
}
.rules-doc h2 {
  margin-bottom: 12px;
}
.rules-doc h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
  margin: 22px 0 10px;
}
.rules-doc ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}
.rules-doc li { margin: 0 0 0.55em; }
.rules-doc a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rules-doc a:hover { color: var(--forest); }
.rules-doc .more-links {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.house-rules-teaser {
  background: var(--white);
}
.rules-highlights {
  margin: 18px 0 24px;
  padding-left: 1.2em;
  max-width: 46rem;
}
.rules-highlights li { margin: 0 0 0.45em; }
.booking-agree-note {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
  max-width: 46rem;
}
.booking-agree-note a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}
.booking-agree-note a:hover { color: var(--forest); }
.site-footer a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer a:hover { color: var(--cream); }
.cert-line { font-size: 0.9rem; }
@media (max-width: 1180px) {
  .nav-links { gap: 1.35rem; }
  .nav { gap: 1.5rem; }
}
