:root {
  --deep-ocean: #0c2b30;
  --lagoon: #1f6b6f;
  --lagoon-light: #3f8f8a;
  --sand: #efe8d8;
  --sand-pale: #faf7ee;
  --brass: #b3894f;
  --ink: #111c1a;
  --line: rgba(17,28,26,0.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand-pale);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 450;
  margin: 0;
  color: var(--deep-ocean);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,238,0.92);
  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: 'Fraunces', serif; font-size: 1.25rem; letter-spacing: 0.01em; color: var(--deep-ocean); }
.brand-sub { font-size: 0.72rem; color: var(--lagoon); margin-top: 2px; }

/* Desktop Links */
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 0.92rem; }
.nav-links a { text-decoration: none; color: var(--ink); opacity: 0.75; 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(--deep-ocean); color: var(--sand-pale) !important;
  text-decoration: none; font-size: 0.88rem; letter-spacing: 0.02em;
  border: 1px solid var(--deep-ocean);
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-align: center; opacity: 1 !important;
}
.btn:hover { background: transparent; color: var(--deep-ocean) !important; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--sand-pale) !important; border: 1px solid rgba(250,247,238,0.55);
}
.btn-outline:hover { background: rgba(250,247,238,0.12); color: var(--sand-pale) !important; transform: translateY(-2px); }

/* Hamburger Icon (Hidden on Desktop) */
.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(--deep-ocean);
  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(--deep-ocean) 0%, #0a2226 100%);
  color: var(--sand-pale);
  overflow: hidden;
  padding: 80px 0 0;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  align-items: center;
  padding-bottom: 80px;
}
.eyebrow-line {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-size: 0.82rem; color: var(--sand); opacity: 0.85; text-transform: uppercase; letter-spacing: 1px;
}
.eyebrow-line span.dash { width: 28px; height: 1px; background: var(--brass); display: inline-block; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--sand-pale);
  line-height: 1.1;
  max-width: 11ch;
}
.hero p.lead {
  margin-top: 24px; max-width: 46ch;
  font-size: 1.05rem; color: rgba(250,247,238,0.82);
}
.hero-ctas { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-figures {
  display: flex; gap: 28px; margin-top: 52px; flex-wrap: wrap;
  border-top: 1px solid rgba(250,247,238,0.18); padding-top: 26px;
}
.figure b { display: block; font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--sand-pale); font-weight: 450; }
.figure span { font-size: 0.78rem; color: rgba(250,247,238,0.62); }

/* Hero Image */
.hero-art {
  position: relative;
  height: 550px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: translateY(20px);
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 10s ease;
}
.hero-art:hover img { transform: scale(1.05); }

/* ---------- SECTION LABELS ---------- */
.section { padding: 88px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px;
  margin-bottom: 56px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-tag { font-size: 0.82rem; color: var(--lagoon); text-transform: uppercase; letter-spacing: 1px; font-weight: 500;}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2;}
.section-head p { color: rgba(17,28,26,0.66); margin-top: 10px; max-width: 56ch; }

/* ---------- OVERVIEW ---------- */
.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.overview-grid p { color: rgba(17,28,26,0.75); margin-bottom: 16px; }
.stat-row { display: flex; gap: 36px; margin-top: 8px; flex-wrap: wrap; }
.stat-row .figure b { color: var(--deep-ocean); }
.stat-row .figure span { color: rgba(17,28,26,0.55); }

/* ---------- FEATURE LIST ---------- */
.feature-list { display: flex; flex-direction: column; }
.feature-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
  align-items: flex-start; transition: background 0.3s ease;
}
.feature-row:hover { background: rgba(17, 28, 26, 0.02); }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row .mark { font-family: 'Fraunces', serif; color: var(--brass); font-size: 1.6rem; }
.feature-row h3 { font-size: 1.15rem; color: var(--deep-ocean); margin-bottom: 6px; }
.feature-row p { margin: 0; color: rgba(17,28,26,0.68); font-size: 0.96rem; max-width: 60ch; }

/* ---------- TWO COLUMN LISTS ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.split-col { padding: 50px 40px; }
.split-col:first-child { border-right: 1px solid var(--line); background: var(--sand); }
.split-col h3 { font-size: 1.4rem; margin-bottom: 26px; }
.split-col ul { list-style: none; margin: 0; padding: 0; }
.split-col li {
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 0.96rem; color: rgba(17,28,26,0.78);
  display: flex; align-items: baseline; gap: 12px;
}
.split-col li:first-of-type { border-top: none; }
.split-col li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; transform: translateY(-3px); }

/* ---------- LOCATION ---------- */
.location { background: var(--deep-ocean); color: var(--sand-pale); }
.location .section-head { border-color: rgba(250,247,238,0.18); }
.location .section-head h2 { color: var(--sand-pale); }
.location .section-head p { color: rgba(250,247,238,0.72); }
.location .section-tag { color: var(--brass); }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(250,247,238,0.16); }
.loc-card { background: #0a2226; padding: 40px 32px; transition: background 0.3s ease; }
.loc-card:hover { background: #0f3036; }
.loc-card b { display: block; font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--sand-pale); margin-bottom: 8px; font-weight: 450; }
.loc-card span { font-size: 0.88rem; color: rgba(250,247,238,0.65); }

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); 
  grid-auto-rows: 280px; gap: 16px;
}
.gcell {
  position: relative; overflow: hidden; display: flex; 
  align-items: flex-end; border-radius: 6px; cursor: pointer;
  background: var(--deep-ocean); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.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.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gcell:hover img { transform: scale(1.08); }
.gcell::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12, 43, 48, 0.85) 0%, rgba(12, 43, 48, 0) 50%);
  z-index: 2; transition: opacity 0.4s ease;
}
.gcell:hover::after { opacity: 1; background: linear-gradient(to top, rgba(12, 43, 48, 0.95) 0%, rgba(12, 43, 48, 0) 60%); }

/* ---------- ENQUIRY FORM ---------- */
.enquiry {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.enquiry-copy { background: var(--sand); padding: 60px 44px; }
.enquiry-copy h2 { font-size: 1.9rem; }
.enquiry-copy p { color: rgba(17,28,26,0.68); margin-top: 16px; max-width: 40ch; }
.enquiry-copy .contact-block { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.enquiry-copy .contact-block div { font-size: 0.9rem; margin-bottom: 8px; color: rgba(17,28,26,0.75); }
.enquiry-copy .contact-block b { color: var(--deep-ocean); }

form { padding: 60px 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(17,28,26,0.6); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select {
  width: 100%; padding: 14px; border: 1px solid var(--line);
  background: var(--sand-pale); font-family: 'Work Sans', sans-serif; font-size: 0.94rem;
  color: var(--ink); border-radius: 2px; transition: outline 0.2s ease;
}
input:focus, select:focus { outline: 2px solid var(--lagoon-light); outline-offset: 1px; }
fieldset { border: none; padding: 0; margin: 0 0 20px; }
fieldset legend { font-size: 0.78rem; color: rgba(17,28,26,0.6); margin-bottom: 8px; padding: 0; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); padding: 10px 16px; font-size: 0.85rem;
  cursor: pointer; background: var(--sand-pale); 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(--deep-ocean); color: var(--sand-pale); border-color: var(--deep-ocean); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 24px; font-size: 0.82rem; color: rgba(17,28,26,0.6); }
.consent input { margin-top: 3px; }
button.submit {
  width: 100%; padding: 16px; background: var(--deep-ocean); color: var(--sand-pale);
  border: none; font-size: 0.95rem; letter-spacing: 0.02em; cursor: pointer;
  font-family: 'Work Sans', sans-serif; font-weight: 500; border-radius: 2px;
  transition: background 0.3s ease;
}
button.submit:hover { background: var(--lagoon); }

/* ---------- FOOTER ---------- */
footer { background: #0a2226; color: rgba(250,247,238,0.6); padding: 60px 0 30px; font-size: 0.82rem; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(250,247,238,0.14); align-items: center; }
.footer-logo { height: 55px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(250,247,238,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--sand-pale); }
.footer-bottom { padding-top: 24px; line-height: 1.7; }

/* ---------- POPUP MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(17,28,26,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(--sand-pale); 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(17,28,26,0.5); line-height: 1;
  transition: color 0.2s; background: none; border: none; padding: 0;
}
.modal-close:hover { color: var(--ink); }
.modal-content h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-content p { color: rgba(17,28,26,0.68); font-size: 0.9rem; margin-bottom: 24px; }
.modal-content form { padding: 0; background: transparent; }


/* =======================================================
   MOBILE & TABLET OPTIMIZATIONS
   ======================================================= */

/* Tablet & Smaller Desktop (Max 900px) */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 40px; gap: 40px; }
  .hero-art { height: 350px; transform: translateY(0); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; } 
  .enquiry { grid-template-columns: 1fr; }
}

/* Mobile Devices (Max 768px) */
@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(250,247,238,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);
    
    /* Animation settings */
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  /* When menu is opened */
  .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(17,28,26,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; }
  .brand-sub { font-size: 0.65rem; }
  .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; }
  .split { grid-template-columns: 1fr; }
  .split-col { padding: 40px 24px; }
  .split-col:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .loc-grid { grid-template-columns: 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; }
}

/* Very Small Mobile (Max 520px) */
@media (max-width: 520px) {
  .hero-art { height: 260px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-figures { gap: 16px; flex-direction: column; }
  
  .feature-row { grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; } 
  .gcell.tall { grid-row: span 1 !important; } 

  .field-row { grid-template-columns: 1fr; gap: 16px; }
  
  /* Modal adjustments for small screens */
  .modal-content { padding: 40px 24px 24px; width: 100%; }
  .modal-close { top: 12px; right: 16px; font-size: 2.2rem; }
}