:root {
  --ivory: #f7f2e6;
  --ivory-deep: #efe7d2;
  --moss: #4b5a3a;
  --moss-deep: #37432a;
  --bark: #2e2519;
  --stone: #a79a80;
  --ochre: #b8862e;
  --line: rgba(46,37,25,0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--bark);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  margin: 0;
  color: var(--bark);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,230,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand { 
  display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 101;
}
.brand-logo {
  height: 55px;
  width: auto;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Newsreader', serif; font-size: 1.25rem; color: var(--bark); }
.brand-sub { font-size: 0.72rem; color: var(--moss); margin-top: 2px; }

/* Desktop Links */
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 0.9rem; }
.nav-links a { text-decoration: none; color: var(--bark); opacity: 0.72; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; }

/* Button Styles */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 2px;
  background: var(--moss-deep); color: var(--ivory) !important;
  text-decoration: none; font-size: 0.88rem; border: 1px solid var(--moss-deep);
  transition: all .2s ease; text-align: center; opacity: 1 !important;
}
.btn:hover { background: transparent; color: var(--moss-deep) !important; }
.btn-line {
  background: transparent; color: var(--ivory) !important; border: 1px solid rgba(247,242,230,0.5);
}
.btn-line:hover { background: rgba(247,242,230,0.12); color: var(--ivory) !important; }

/* Hamburger Icon (Mobile) */
.hamburger {
  display: none; background: transparent; border: none; cursor: pointer;
  padding: 8px 0 8px 16px; z-index: 101;
}
.hamburger span {
  display: block; width: 26px; height: 2px; background: var(--bark);
  margin-bottom: 6px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger span:last-child { margin-bottom: 0; }

/* ---------- HERO ---------- */
header.hero {
  position: relative;
  background: linear-gradient(180deg, var(--moss-deep) 0%, #233120 100%);
  color: var(--ivory);
  padding: 90px 0 0;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px;
  align-items: center; padding-bottom: 56px;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 22px 0;
  font-size: 0.82rem; color: rgba(247,242,230,0.8); text-transform: uppercase; letter-spacing: 1px;
}
.eyebrow .dash { width: 26px; height: 1px; background: var(--ochre); display: inline-block; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.06; color: var(--ivory); max-width: 12ch; }
.hero p.lead { margin-top: 22px; max-width: 46ch; font-size: 1.03rem; color: rgba(247,242,230,0.82); }
.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-figures {
  display: flex; gap: 26px; margin-top: 48px; flex-wrap: wrap;
  border-top: 1px solid rgba(247,242,230,0.18); padding-top: 24px;
}
.figure b { display: block; font-family: 'Newsreader', serif; font-size: 1.4rem; color: var(--ivory); font-weight: 500; }
.figure span { font-size: 0.76rem; color: rgba(247,242,230,0.6); }

/* SVG Art */
.hero-art { height: 400px; position: relative; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- SECTIONS ---------- */
.section { padding: 84px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px;
  margin-bottom: 52px; padding-bottom: 26px; border-bottom: 1px solid var(--line);
}
.section-tag { font-size: 0.8rem; color: var(--moss); text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2;}
.section-head p { color: rgba(46,37,25,0.65); margin-top: 10px; max-width: 56ch; }

/* ---------- OVERVIEW ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; }
.overview-grid p { color: rgba(46,37,25,0.75); margin-bottom: 16px; }
.stat-row { display: flex; gap: 32px; margin-top: 8px; flex-wrap: wrap; }
.stat-row .figure b { color: var(--moss-deep); }
.stat-row .figure span { color: rgba(46,37,25,0.55); }

/* ---------- FEATURES ---------- */
.feature-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.feature-tile {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 18px; text-align: left;
}
.feature-tile .num { font-family: 'Newsreader', serif; font-style: italic; color: var(--ochre); font-size: 1.1rem; }
.feature-tile h3 { font-size: 0.98rem; margin-top: 14px; color: var(--moss-deep); }
.feature-tile p { font-size: 0.84rem; color: rgba(46,37,25,0.6); margin-top: 6px; }

/* ---------- AMENITIES ---------- */
.amenities-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.amenities-list div {
  padding: 20px 26px; border-bottom: 1px solid var(--line);
  font-size: 0.96rem; display: flex; gap: 12px; align-items: baseline;
}
.amenities-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.amenities-list div::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ochre); flex: none; transform: translateY(-3px);
}

/* ---------- LOCATION ---------- */
.location { background: var(--moss-deep); color: var(--ivory); }
.location .section-head { border-color: rgba(247,242,230,0.16); }
.location .section-head h2 { color: var(--ivory); }
.location .section-head p { color: rgba(247,242,230,0.7); }
.location .section-tag { color: var(--ochre); }
.loc-table { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.loc-row {
  display: flex; justify-content: space-between; padding: 13px 0;
  border-top: 1px solid rgba(247,242,230,0.14); font-size: 0.92rem;
}
.loc-row span:first-child { color: rgba(247,242,230,0.85); }
.loc-row span:last-child { color: var(--ochre); font-variant-numeric: tabular-nums; }

/* ---------- GALLERY ---------- *//* ---------- ENHANCED GALLERY ---------- */
.gallery-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  grid-auto-rows: 280px; /* Defines a consistent base height */
  gap: 16px; /* Slightly more breathing room for a premium feel */
}

.gcell {
  position: relative; 
  overflow: hidden; 
  border-radius: 6px; /* Slightly softer corners */
  background: var(--moss-deep); 
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  cursor: pointer; /* Indicates to the user they can interact with it */
}

/* Makes the tall images perfectly span two grid rows without breaking alignment */
.gcell.tall { 
  grid-row: span 2; 
}

.gcell img {
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%;
  object-fit: cover; 
  z-index: 1; 
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform; /* Hardware acceleration for buttery smooth zoom */
}

/* Smooth premium zoom effect on hover */
.gcell:hover img { 
  transform: scale(1.08); 
}

/* Elegant gradient overlay instead of a flat color */
.gcell::after {
  content: ""; 
  position: absolute; 
  inset: 0;
  /* Fades from a moody dark bark at the bottom to transparent at the top */
  background: linear-gradient(to top, rgba(46, 37, 25, 0.35) 0%, rgba(46, 37, 25, 0) 60%);
  z-index: 2; 
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gcell:hover::after { 
  opacity: 1; 
}

/* =========================================
   Mobile & Tablet Responsiveness
   ========================================= */
@media (max-width: 900px) {
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 240px; 
  }
}

@media (max-width: 520px) {
  .gallery-grid { 
    grid-template-columns: 1fr; 
    grid-auto-rows: 260px; 
  }
  .gcell.tall { 
    grid-row: span 1; /* Disables double-height on tiny screens to prevent massive vertical scrolling */
  }
}
/* Mobile Responsiveness for Gallery */
@media (max-width: 760px) {
  .gallery-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
}
@media (max-width: 520px) {
  .gallery-grid { 
    grid-template-columns: 1fr; 
  }
  .gcell, .gcell.tall { 
    aspect-ratio: 4/3; /* Standardizes image shapes on tiny mobile screens */
  }
}

/* ---------- ENQUIRY FORM ---------- */
.enquiry { display: grid; grid-template-columns: 0.9fr 1.1fr; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.enquiry-copy { background: var(--ivory-deep); padding: 52px 44px; }
.enquiry-copy h2 { font-size: 1.8rem; }
.enquiry-copy p { color: rgba(46,37,25,0.68); margin-top: 16px; max-width: 40ch; }
.enquiry-copy .contact-block { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.enquiry-copy .contact-block div { font-size: 0.9rem; margin-bottom: 8px; color: rgba(46,37,25,0.75); }
.enquiry-copy .contact-block b { color: var(--moss-deep); }
.enquiry-copy a { text-decoration: none; color: inherit; transition: color 0.2s; }
.enquiry-copy a:hover { color: var(--ochre); }

form { padding: 52px 44px; background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
label { display: block; font-size: 0.78rem; color: rgba(46,37,25,0.6); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--ivory); font-family: 'Inter', sans-serif; font-size: 0.94rem;
  color: var(--bark); border-radius: 2px; transition: outline 0.2s ease;
}
input:focus, select:focus { outline: 2px solid var(--moss); outline-offset: 1px; }
fieldset { border: none; padding: 0; margin: 0 0 16px; }
fieldset legend { font-size: 0.78rem; color: rgba(46,37,25,0.6); margin-bottom: 8px; padding: 0; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); padding: 9px 14px; font-size: 0.85rem;
  cursor: pointer; background: var(--ivory); border-radius: 30px;
  transition: all 0.2s ease; text-align: center;
}
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip:has(input:checked) { background: var(--moss-deep); color: var(--ivory); border-color: var(--moss-deep); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 24px; font-size: 0.82rem; color: rgba(46,37,25,0.6); }
.consent input { margin-top: 3px; }
button.submit {
  width: 100%; padding: 15px; background: var(--moss-deep); color: var(--ivory);
  border: none; font-size: 0.95rem; cursor: pointer; font-family: 'Inter', sans-serif;
  border-radius: 2px; transition: background 0.3s ease;
}
button.submit:hover { background: var(--moss); }

/* ---------- FOOTER ---------- */
footer { background: #221b12; color: rgba(247,242,230,0.6); padding: 46px 0 26px; font-size: 0.82rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid rgba(247,242,230,0.14); align-items: center; }
.footer-logo { height: 55px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(247,242,230,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { padding-top: 18px; line-height: 1.7; }

/* ---------- POPUP MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(46,37,25,0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  padding: 20px;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--ivory); width: 100%; max-width: 480px;
  padding: 48px 40px; border-radius: 4px; position: relative;
  transform: translateY(20px); transition: transform 0.3s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.is-open .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 20px; font-size: 2rem;
  cursor: pointer; color: rgba(46,37,25,0.5); line-height: 1;
  transition: color 0.2s; background: none; border: none; padding: 0;
}
.modal-close:hover { color: var(--bark); }
.modal-content h3 { font-family: 'Newsreader', serif; font-size: 1.6rem; margin-bottom: 8px; color: var(--bark); }
.modal-content p { color: rgba(46,37,25,0.68); font-size: 0.9rem; margin-bottom: 24px; }
.modal-content form { padding: 0; background: transparent; }

/* =======================================================
   MOBILE & TABLET OPTIMIZATIONS
   ======================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; gap: 40px; }
  .hero-art { height: 260px; }
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
  .enquiry { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 24px; }
  
  /* NAV HAMBURGER LOGIC */
  .hamburger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(247,242,230,0.98); backdrop-filter: blur(12px);
    flex-direction: column; padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--line); box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all 0.3s ease;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { 
    width: 100%; text-align: left; padding: 12px 0; 
    font-size: 1.1rem; border-bottom: 1px solid rgba(46,37,25,0.06);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .btn { margin-top: 8px; width: 100%; text-align: center; }
  
  /* Hamburger X Animation */
  .hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Spacing Reductions */
  .brand-logo { height: 55px; }
  .brand-name { font-size: 1.15rem; }
  .section { padding: 56px 0; }
  .section-head { grid-template-columns: 1fr; margin-bottom: 36px; padding-bottom: 20px; }
  header.hero { padding: 48px 0 0; }
  
  /* Grids & Splits */
  .overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .amenities-list { grid-template-columns: 1fr; }
  .amenities-list div:nth-child(odd) { border-right: none; }
  .loc-table { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Forms */
  .enquiry-copy { padding: 40px 24px; }
  form { padding: 40px 24px; }
  
  /* Footer */
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { gap: 16px; flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-figures { gap: 16px; flex-direction: column; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
  .modal-content { padding: 40px 24px 24px; width: 100%; }
  .modal-close { top: 12px; right: 16px; font-size: 2.2rem; }
}