

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

:root {
  --ink: #023a11;
  --border: #e2e0d8;
  --surface: #f7f6f2;
  --white: #ffffff;
  --accent: #1d5c3a;
  --accent-light: #e8f2ec;
  --accent-mid: #022311;
  --warm: #c8a96e;
  --warm-light: #faf6ef;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NAV ---- */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 100px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
  box-sizing: border-box; /* Crucial: stops paddings from expanding screen widths */
}

#main-nav .logo img {
  height: 65px;  /* Tweak down from 100px so it sits inside the 100px container cleanly */
  width: auto;
  display: block;
}

.nav-links {
  display: flex; gap: 32px; list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: var(--accent);
  border: none;
  padding: 10px 22px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--accent-mid); }

/* Hidden on Desktop screens */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--ink-soft, #333);
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

/* ==========================================================================
   NEW RESPONSIVE MEDIA QUERY
   ========================================================================== */
@media (max-width: 992px) {
  /* 1. Show the hamburger menu icon */
  .menu-toggle {
    display: flex;
  }

  /* 2. Transform the text link list into a vertical slide drawer tray */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Placed hidden off-screen to the right by default */
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 120px 30px 40px 30px;
    gap: 24px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 3. Pull out the drawer menu view when clicked open */
  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 16px; /* Enhanced sizing targets for comfortable tap interactions */
    display: block;
    width: 100%;
    border-bottom: none;
  }

  /* 4. Hide desktop layout CTA from top header and move it inside the menu tray */
  .nav-cta {
    position: fixed;
    top: 380px; /* Positioned right beneath the text links inside the drawer */
    right: -100%;
    width: 220px;
    text-align: center;
    box-sizing: border-box;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* 5. Simultaneously slide the CTA out alongside links container */
  .nav-cta.open {
    right: 30px;
  }

  /* 6. Morph Hamburger bars smoothly into a close cross 'X' graphic */
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent);
  }
}
/* ---- PAGE WRAPPER ---- */
.page-content { margin-top: 72px; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--accent);
  padding: 72px 5% 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.page-hero-eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.18;
  max-width: 620px;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.75;
}

/* ---- SECTION UTILS ---- */
section { padding: 80px 5%; }

.section-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
  max-width: 520px;
  margin-bottom: 18px;
}
.section-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background: yellow;
  color: var(--ink);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn-dark:hover { opacity: 0.8; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--surface);
  padding: 72px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 3px solid var(--warm);
}
.cta-banner-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.cta-banner-text p { font-size: 15px; color: var(--muted); }

/* ---- FOOTER ---- */
footer {
  background: var(--accent-mid);
  padding: 64px 5% 32px;
  color: rgba(255,255,255,0.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: var(--warm); display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 220px; }
.footer-col h5 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: white; }

/* ---- ANIMATIONS ---- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim   { animation: slideUp 0.7s ease both; }
.anim-d1{ animation-delay: 0.1s; }
.anim-d2{ animation-delay: 0.2s; }
.anim-d3{ animation-delay: 0.3s; }
.anim-d4{ animation-delay: 0.45s; }
