* { box-sizing: border-box; }
:root {
  --ink: #1c211d;
  --muted: #5f685f;
  --cream: #f8f4ec;
  --sage: #718067;
  --dark: #111711;
  --white: #ffffff;
  --line: rgba(28, 33, 29, .12);
  --shadow: 0 18px 50px rgba(0,0,0,.16);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248,244,236,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: .9rem clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark); color: var(--white);
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand small { display: block; color: var(--muted); margin-top: -.15rem; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: .95rem; }
nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero picture, .hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.25), rgba(0,0,0,.1));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: clamp(2rem, 6vw, 5rem);
  color: var(--white);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--sage);
  font-weight: 800;
  font-size: .78rem;
  margin: 0 0 .75rem;
}
.hero .eyebrow { color: #dce9d2; }
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h3 { font-size: 1.6rem; }
.hero p { font-size: clamp(1rem, 1.8vw, 1.25rem); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.button {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--sage); color: var(--white); }
.button.secondary { background: rgba(255,255,255,.16); color: inherit; border: 1px solid rgba(255,255,255,.38); }
.site-footer .button.secondary { background: transparent; border-color: var(--line); }

.section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem); }
.intro-grid, .split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); }
.feature-card, .booking-form, .price-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.feature-card { padding: clamp(1.25rem, 3vw, 2rem); }
.feature-card ul { padding-left: 1.2rem; margin-bottom: 0; }
.image-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.image-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section-heading { max-width: 780px; margin-bottom: 2rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { display: block; padding: .8rem 1rem 1rem; font-weight: 800; }

.booking-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .8fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  background: #ecede3;
}
.price-box {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
}
.price-box strong { display: block; font-size: 1.35rem; }
.price-box span { color: var(--muted); }
.booking-form {
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}
label { display: grid; gap: .35rem; font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .85rem .95rem;
  font: inherit;
  background: #fbfaf6;
}
.form-note { color: var(--muted); font-size: .9rem; margin: 0; }

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 4rem);
  background: var(--dark);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-footer p { margin: .25rem 0 0; color: rgba(255,255,255,.7); }

.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 100;
  padding: 4rem 1rem 2rem;
  place-items: center;
}
.lightbox.active { display: grid; }
.lightbox img {
  max-height: 78vh;
  width: min(1100px, 92vw);
  object-fit: contain;
  border-radius: 18px;
}
.lightbox p { color: var(--white); font-weight: 800; }
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro-grid, .split, .split.reverse, .booking-panel { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  nav { gap: .7rem; font-size: .86rem; }
  .hero { min-height: 74vh; }
  .gallery-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

/* Logo and contact updates */
.brand-with-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #f8f4ec;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
}
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  background: #f1efe6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-actions, .footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.button.outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .contact-panel { grid-template-columns: 1fr; }
  .brand-with-logo img { width: 46px; height: 46px; }
}

/* Accommodation, prices and availability */
.accommodation-panel {
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sleep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.sleep-card, .availability-card, .price-table-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.sleep-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}
.sleep-card span {
  color: var(--muted);
}
.booking-panel {
  grid-template-columns: minmax(0, .85fr) minmax(300px, .9fr);
}
.availability-card, .price-table-card {
  margin-bottom: 1rem;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .75rem;
  font-size: .95rem;
}
.price-table th, .price-table td {
  text-align: left;
  padding: .75rem .6rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-weight: 800;
  color: var(--ink);
}
.booking-form input[type="hidden"] {
  display: none;
}

/* Responsive Google Calendar embed */
.calendar-embed {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}
.calendar-embed iframe {
  width: 100%;
  height: 600px;
  max-width: 100%;
  border: 0;
  display: block;
}
.availability-calendar p {
  margin-top: 0;
}
@media (max-width: 760px) {
  .calendar-embed {
    min-height: 460px;
  }
  .calendar-embed iframe {
    height: 520px;
  }
}

/* Calendar link buttons */
.calendar-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1rem 0 1.1rem;
}
.calendar-links .button {
  min-height: 42px;
}

/* Offers and map link updates */
.offers-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem;
  margin-top: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.offers-card h3 {
  margin-bottom: .65rem;
}
.offers-card ul {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.2rem;
}
.site-footer p {
  max-width: 760px;
}


/* Subtle watermark logo backgrounds */
.section {
  position: relative;
  isolation: isolate;
}
.watermark-section {
  overflow: hidden;
}
.watermark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/logo/fox-hole-retreat-logo-transparent.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: min(420px, 72vw);
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(8%);
}
.watermark-section > * {
  position: relative;
  z-index: 1;
}
.contact-panel::before {
  background-position: right center;
  background-size: min(360px, 56vw);
  opacity: 0.05;
}
.booking-panel::before {
  background-position: left center;
  background-size: min(420px, 62vw);
  opacity: 0.045;
}
@media (max-width: 760px) {
  .watermark-section::before {
    background-size: min(280px, 72vw);
    opacity: 0.05;
  }
}


/* Review and luxury messaging */
.review-panel {
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: #fbfaf6;
}
.review-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  text-align: center;
}
.review-card blockquote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.12;
  margin: .4rem auto 1rem;
  max-width: 760px;
}
.review-note {
  color: var(--muted);
  max-width: 720px;
  margin: .75rem auto 0;
}

/* Close by links */
.close-by-panel {
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.close-by-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.close-by-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.close-by-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.close-by-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .4rem;
}
.close-by-card span {
  display: block;
  color: var(--muted);
}

/* Guest information links */
.guest-info-panel {
  background: #f1efe6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.guest-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Local dining section */
.local-dining-panel {
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dining-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.dining-card {
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dining-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.dining-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.dining-card div {
  padding: 1rem 1.05rem 1.15rem;
}
.dining-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .4rem;
}
.dining-card span {
  color: var(--muted);
}


.dining-card--textonly .dining-textonly-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(17,64,57,0.95), rgba(87,126,118,0.95));
  color: #fff;
  text-align: center;
}
.dining-card--textonly .dining-textonly-media span {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: .12em;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* Footer credit / sponsorship line */
.site-credit {
  margin-top: .65rem !important;
  max-width: 900px;
  font-size: .92rem;
  line-height: 1.55;
}
.site-credit a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-credit a:hover {
  opacity: .82;
}

/* Amenities and park rules updates */
.amenities-panel {
  background: #fbfaf6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-subheading {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.facility-card span,
.rule-card span {
  display: block;
  color: var(--muted);
}
.amenities-grid .facility-card:first-child {
  grid-column: span 2;
}
.park-rules-panel {
  background: #f1efe6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.rule-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.rule-card strong {
  display: block;
  margin-bottom: .45rem;
}
.rules-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}
@media (max-width: 760px) {
  .amenities-grid .facility-card:first-child {
    grid-column: auto;
  }
}
