/* Fonts are loaded from Google Fonts via a <link> tag in each page <head>. */
:root {
  --forest: #2d4a2d;
  --forest-light: #3d6b3d;
  --moss: #5a7a3a;
  --sage: #8aab6a;
  --earth: #8b6914;
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --charcoal: #2a2a2a;
  --mid-grey: #5c5c5c;
  --light-grey: #e8e4dc;
  --river: #3a6b7a;
  --river-light: #5a8b9a;
  --amber: #c4821a;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.serif-body { font-family: 'Source Serif 4', serif; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--moss); }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(90, 122, 58, 0.15);
  display: flex;
  align-items: center;
  transition: all .3s;
}

.nav.scrolled {
  background: rgba(45, 74, 45, 0.97);
  border-color: transparent;
}

.nav.scrolled .nav-logo { color: var(--cream); }
.nav.scrolled .nav-logo span { color: var(--sage); }
.nav.scrolled .nav-link { color: rgba(245,240,232,0.85); }
.nav.scrolled .nav-link:hover { color: var(--sage); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--moss); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2px;
  background: var(--moss);
  transition: width .3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta {
  background: var(--forest);
  color: var(--cream) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--moss) !important; }
.nav-cta::after { display: none !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--forest);
  transition: all .3s;
}
.nav.scrolled .nav-hamburger span { background: var(--cream); }

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU ─── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--forest);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem 2rem 2rem;
    transform: translateY(-120%);
    transition: transform .35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  }
  
  .nav-menu.open { transform: translateY(0); }
  
  .nav-link {
    color: rgba(245,240,232,0.85) !important;
    font-size: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    width: 100%;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { bottom: 11px; background: var(--sage); }

  .nav-cta {
    margin-top: 0.5rem;
    display: inline-block;
    background: var(--sage) !important;
    color: var(--forest) !important;
  }
}

/* ─── NAV DROPDOWN ─── */
.nav-item { position: relative; }

.nav-caret {
  display: inline-block;
  width: 0; height: 0;
  margin-left: 0.4rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  opacity: 0.7;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 250px;
  list-style: none;
  background: var(--warm-white);
  border: 1px solid rgba(90, 122, 58, 0.15);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(45, 74, 45, 0.18);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1001;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background: rgba(90, 122, 58, 0.1);
  color: var(--forest);
}

/* On mobile the dropdown sits open and indented inside the slide-down menu */
@media (max-width: 768px) {
  .nav-item { width: 100%; }
  .nav-caret { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
  }
  .nav-dropdown-link {
    color: rgba(245, 240, 232, 0.75);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: normal;
  }
  .nav-dropdown-link:last-child { border-bottom: none; }
  .nav-dropdown-link:hover,
  .nav-dropdown-link.active {
    background: transparent;
    color: var(--sage);
  }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2e1a 0%, #2d4a2d 40%, #3d5f3a 70%, #4a6b45 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 20% 50%, rgba(138,171,106,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(58,107,122,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(90,122,58,0.08) 0%, transparent 40%);
}

.hero-leaves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-leaves::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(138,171,106,0.1);
  top: -150px; right: -150px;
  animation: pulse 8s ease-in-out infinite;
}
.hero-leaves::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(138,171,106,0.08);
  bottom: -100px; left: -100px;
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Stacked hero: featured gallery on top, centred text below */
.hero-content-stacked {
  grid-template-columns: 1fr;
  text-align: center;
}
.hero-content-stacked .hero-actions { justify-content: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(138,171,106,0.15);
  border: 1px solid rgba(138,171,106,0.3);
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '🌿'; font-size: 0.85rem; }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--sage);
}

.hero-lead {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s;
  text-decoration: none;
}

.btn-primary {
  background: var(--sage);
  color: var(--forest);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: transparent;
  color: var(--sage);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,240,232,0.4);
}
.btn-outline:hover {
  border-color: var(--cream);
  background: rgba(245,240,232,0.08);
  color: var(--cream);
}

.btn-dark {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn-dark:hover {
  background: transparent;
  color: var(--forest);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(138,171,106,0.15);
  border-radius: 8px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, rgba(90,122,58,0.3), rgba(45,74,45,0.5));
  border-radius: 12px;
  border: 1px solid rgba(138,171,106,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

/* ─── SECTIONS ─── */
.section { padding: 5rem 2rem; }
.section-sm { padding: 3rem 2rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  color: var(--mid-grey);
  max-width: 650px;
}

/* ─── ABOUT STRIP ─── */
.about-strip {
  background: var(--forest);
  color: var(--cream);
  padding: 4rem 2rem;
}

.about-strip .section-title { color: var(--cream); }
.about-strip .section-label { color: var(--sage); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: rgba(245,240,232,0.85);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(138,171,106,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  transition: background .2s, border-color .2s;
}
.feature-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(138,171,106,0.4);
}

.feature-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.feature-desc { font-size: 0.875rem; color: rgba(245,240,232,0.7); line-height: 1.6; }

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(45,74,45,0.12);
}

.card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--forest), var(--moss));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.card-body { padding: 1.75rem; }
.card-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
}
.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.card-text {
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.7;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
}
.card-link::after { content: '→'; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }

/* ─── TIMELINE ─── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  margin-top: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sage), var(--river));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  animation: fadeInLeft .6s ease both;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.75rem; top: 0.4rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--moss);
  border: 2px solid var(--warm-white);
  box-shadow: 0 0 0 3px rgba(90,122,58,0.2);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.4rem;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.timeline-text { font-size: 0.9rem; color: var(--mid-grey); line-height: 1.7; }

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── QUOTE BLOCK ─── */
.quote-block {
  background: var(--forest);
  padding: 4rem 2rem;
  text-align: center;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.quote-source {
  font-size: 0.85rem;
  color: var(--sage);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── JOIN CTA BAND (shared component, injected by site.js) ─── */
.cta-band {
  background: linear-gradient(160deg, #1a2e1a 0%, #2d4a2d 60%, #3a5f3a 100%);
  text-align: center;
}
.cta-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--cream);
  max-width: 600px;
  margin: 0 auto 1rem;
}
.cta-text {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem;
  color: rgba(245,240,232,0.82);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(160deg, #1a2e1a 0%, #2d4a2d 60%, #3a5f3a 100%);
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--warm-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-content { position: relative; max-width: 780px; margin: 0 auto; }
.page-hero-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.page-hero-lead {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.75;
}

/* ─── CONTENT PROSE ─── */
.prose {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.85;
  max-width: 720px;
}
.prose h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest);
  margin: 2rem 0 0.75rem;
}
.prose strong { color: var(--forest); font-weight: 600; }

/* ─── INFO BOX ─── */
.info-box {
  background: var(--cream);
  border-left: 4px solid var(--moss);
  padding: 1.5rem 2rem;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}
.info-box-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.info-box p { font-size: 0.9rem; color: var(--mid-grey); margin: 0; }

/* ─── TWO-COL LAYOUT ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }

/* ─── RESPONSIVE VIDEO EMBED ─── */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── EMBEDDED GOOGLE FORM ─── */
.form-embed {
  display: block;
  width: 100%;
  height: 1750px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

/* ─── WILDLIFE GRID ─── */
.wildlife-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.wildlife-item {
  background: white;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .25s;
}
.wildlife-item:hover {
  border-color: var(--sage);
  box-shadow: 0 8px 30px rgba(45,74,45,0.1);
  transform: translateY(-2px);
}

.wildlife-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.wildlife-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.25rem;
}
.wildlife-status {
  font-size: 0.75rem;
  color: var(--mid-grey);
  font-style: italic;
}

/* ─── ACTIONS LIST ─── */
.actions-list {
  list-style: none;
  margin: 2rem 0;
}
.actions-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--light-grey);
}
.actions-list li:last-child { border-bottom: none; }
.actions-list .action-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}
.actions-list .action-text h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.actions-list .action-text p {
  font-size: 0.875rem;
  color: var(--mid-grey);
  margin: 0;
}
.book-order {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.book-order-cover {
  width: 50%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 600px) {
  .book-order {
    flex-direction: column;
    align-items: flex-start;
  }
  .book-order-cover { width: 100%; }
}

/* ─── CONTACT FORM ─── */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--light-grey);
  box-shadow: 0 4px 30px rgba(45,74,45,0.06);
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--warm-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(90,122,58,0.1);
}
.form-textarea { min-height: 140px; resize: vertical; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--forest);
  color: var(--cream);
  border: none;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: 0.02em;
}
.form-submit:hover { background: var(--moss); }
.form-submit:disabled { background: var(--light-grey); color: var(--mid-grey); cursor: not-allowed; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  cursor: pointer;
}
.form-checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--forest);
}

/* ─── CAMPAIGN STRIP ─── */
.campaign-strip {
  background: linear-gradient(135deg, var(--earth) 0%, var(--amber) 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}
.campaign-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: white;
  margin-bottom: 1rem;
}
.campaign-strip p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.campaign-strip .btn-outline {
  border-color: white;
  color: white;
}
.campaign-strip .btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ─── FOOTER ─── */
.footer {
  background: #1a2a1a;
  color: rgba(245,240,232,0.7);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-brand-name span { color: var(--sage); }

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(245,240,232,0.7);
  transition: all .2s;
  text-decoration: none;
}
.social-link:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: white;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(245,240,232,0.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--sage); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-auth {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  font-style: italic;
}

/* ─── ALERT BANNER ─── */
.alert-banner {
  background: var(--amber);
  color: white;
  text-align: center;
  padding: 0.75rem 2.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.alert-banner a { color: white; text-decoration: underline; }
.alert-banner-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.8;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: opacity .2s;
}
.alert-banner-close:hover { opacity: 1; }

/* ─── DIVIDER ─── */
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(to right, var(--moss), var(--sage));
  margin: 1rem 0 2rem;
  border-radius: 2px;
}

/* ─── BADGE ─── */
.badge {
  display: inline-block;
  background: var(--cream);
  border: 1px solid var(--light-grey);
  color: var(--mid-grey);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-green {
  background: rgba(90,122,58,0.1);
  border-color: rgba(90,122,58,0.2);
  color: var(--moss);
}
.badge-amber {
  background: rgba(196,130,26,0.1);
  border-color: rgba(196,130,26,0.2);
  color: var(--earth);
}

/* ─── UTILITY ─── */
.hidden-field { display: none; }
.text-center { text-align: center; }
.text-forest { color: var(--forest); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-img-wrap { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: 7rem 1.25rem 4rem; }
  .contact-form { padding: 1.5rem; }
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── GALLERY PAGE ─── */

/* Filter tabs */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 2.5rem 0 2rem;
}

.gallery-filter-btn {
  background: white;
  border: 1.5px solid var(--light-grey);
  color: var(--mid-grey);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all .2s;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

/* Masonry grid */
.gallery-grid {
  columns: 3 280px;
  column-gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: var(--light-grey);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Single uniform row (used for the 4 featured images on the homepage) */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
/* 3-up variant: centres an odd number of items instead of left-aligning
   them in the 4-column grid. */
.gallery-row-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.gallery-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  gap: 1rem;
  margin-top: 1rem;
}
.gallery-row .gallery-item {
  margin: 0;
}
.gallery-row .gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
@media (max-width: 768px) {
  .gallery-row { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,35,20,0.82) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-caption {
  color: var(--cream);
}
.gallery-item-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.gallery-item-caption-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 18, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  padding: 1.5rem;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  display: block;
  transition: opacity .25s;
}

.lightbox-meta {
  margin-top: 1.25rem;
  text-align: center;
}
.lightbox-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
}
.lightbox-desc {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.55);
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2001;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: rgba(245,240,232,0.4);
  letter-spacing: 0.08em;
}

/* Upload note */
.gallery-upload-note {
  background: var(--cream);
  border: 1.5px dashed var(--sage);
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.gallery-upload-note h3 {
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}
.gallery-upload-note p {
  font-size: 0.875rem;
  color: var(--mid-grey);
  max-width: 540px;
  margin: 0 auto;
}
.gallery-upload-note code {
  background: rgba(90,122,58,0.12);
  color: var(--forest);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
}

/* Hide filtered items */
.gallery-item.hidden {
  display: none;
}

@media (max-width: 640px) {
  .gallery-grid { columns: 2 140px; }
  .lightbox-nav { display: none; }
}
@media (max-width: 400px) {
  .gallery-grid { columns: 1; }
}


/* Ensure the homepage cards grid renders as intended */
.cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 2rem !important;
  align-items: stretch !important;
  margin-top: 3rem !important;
}

.card {
  display: flex !important;
  flex-direction: column !important;
  background: white !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid var(--light-grey) !important;
  min-height: 100% !important;
}

.card-img {
  height: 200px !important;
  overflow: hidden !important;
}

.card-img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 1.75rem !important;
}

/* ════════════════════════════════════════════════════════════════════
   Helper classes added to replace inline styles (Issue 6 cleanup).
   Placed at the end so they reliably override earlier single-class rules.
   ════════════════════════════════════════════════════════════════════ */

/* Footer copyright line (used on every page) */
.footer-copyright { font-size: 0.8rem; color: rgba(245,240,232,0.4); }

/* Boxes / panels */
.cream-box { background: var(--cream); border-radius: 12px; padding: 2rem; border: 1px solid var(--light-grey); }
.cream-panel { background: var(--cream); border-radius: 10px; padding: 2rem; border: 1px solid var(--light-grey); }
.note-box { background: var(--cream); border-radius: 10px; padding: 1.5rem; border: 1px solid var(--light-grey); }
.contact-card { background: #fff; border-radius: 10px; padding: 1.75rem; border: 1px solid var(--light-grey); }
.forest-box { background: var(--forest); color: var(--cream); border-radius: 12px; padding: 2rem; }
.forest-box-text { font-family: 'Source Serif 4', serif; font-size: 0.95rem; color: rgba(245,240,232,0.85); line-height: 1.8; margin: 0; }
.photo-card { border-radius: 10px; overflow: hidden; box-shadow: 0 8px 30px rgba(45,74,45,0.15); }
.photo-caption { background: var(--forest); padding: 0.75rem 1rem; font-size: 0.75rem; color: var(--sage); letter-spacing: 0.06em; text-transform: uppercase; }

/* Heritage listings panel */
.listing-stack { display: flex; flex-direction: column; gap: 1.25rem; }
.listing-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1.25rem; }
.listing-label { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.35rem; }
.listing-value { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--cream); }

/* Headings & text */
.box-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--forest); }
.card-title-sm { font-size: 1rem; }
.card-emoji { font-size: 1.5rem; margin-bottom: 0.75rem; }
.note-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); margin-bottom: 0.5rem; }
.intro-text { color: var(--mid-grey); font-size: 0.95rem; margin-bottom: 2rem; }
.text-sm-muted { font-size: 0.875rem; color: var(--mid-grey); }
.text-xs-muted { font-size: 0.85rem; color: var(--mid-grey); margin: 0; }
.text-xs { font-size: 0.85rem; }

/* Layout helpers */
.media-clip { padding: 0; overflow: hidden; }
.card-photo { width: 100%; height: 200px; object-fit: cover; display: block; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.img-fluid { width: 100%; display: block; }
.btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-group { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sticky-side { position: sticky; top: 100px; }
.cards-grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.divider-center { margin: 1rem auto 0.5rem; }
.divider-center-flush { margin: 1rem auto; }

/* Buttons */
.btn-sm { font-size: 0.8rem; padding: 0.6rem 1.2rem; }
.btn-xs { font-size: 0.8rem; padding: 0.5rem 1rem; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-light { background: #fff; color: var(--earth); }
.btn-moss { background: var(--moss); border-color: var(--moss); color: #fff; }

/* Colour / background utilities (last, so they win over component colours) */
.bg-warm-white { background: var(--warm-white); }
.bg-none { background: none; }
.text-cream { color: var(--cream); }
.text-sage { color: var(--sage); }
.text-amber { color: var(--amber); }
.text-forest { color: var(--forest); }
.self-start { align-self: start; }
.u-mx-auto { margin: 0 auto; }

/* Spacing utilities */
.mt-05 { margin-top: 0.5rem; }
.mt-075 { margin-top: 0.75rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-075 { margin-bottom: 0.75rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-125 { margin-bottom: 1.25rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
