﻿:root {
  --gallery-gap: 0.8rem;
  --tile-gap: 1.4rem;
  color-scheme: light;
  --bg: #f3f0ea;
  --bg-deep: #e2dccf;
  --text: #1c1b18;
  --muted: #5a564f;
  --accent: #3f6b55;
  --accent-dark: #2c4d3c;
  --cream: #f7f3ec;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(18, 18, 18, 0.18);
  --radius: 0px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  margin: 0;
  font-family: "Alata", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #f9f6f1, var(--bg));
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(233, 240, 230, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 77, 60, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a {
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

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

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  padding: 0.3rem 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.nav-link.is-active,
.nav-link:hover {
  border-color: var(--accent);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(233, 240, 230, 0.98);
  border: 1px solid rgba(44, 77, 60, 0.12);
  padding: 0.4rem 0.8rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 20;
}

.sub-menu a {
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}

.sub-menu a.is-active,
.sub-menu a:hover {
  border-color: var(--accent);
}

.nav-item:hover .sub-menu,
.nav-item:focus-within .sub-menu,
.nav-item.is-open .sub-menu {
  display: flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle .bar {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  transition: transform 0.3s ease;
}

.hero {
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 24s infinite;
}

.slide-1 {
  background-image: url("media/home/hero/5.jpg");
  animation-delay: 0s;
}

.slide-2 {
  background-image: url("media/home/hero/6.jpg");
  animation-delay: 6s;
}

.slide-3 {
  background-image: url("media/home/hero/1.jpg");
  animation-delay: 12s;
}

.slide-4 {
  background-image: url("media/home/hero/2.jpg");
  animation-delay: 18s;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(14, 14, 14, 0.6), rgba(14, 14, 14, 0.25));
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 4rem 0 2.5rem;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}

.hero h1 {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  margin: 0 0 0.4rem;
  line-height: 0.95;
}

.lead {
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--cream);
}

.stay {
  background: var(--cream);
}

.stay-row {
  display: grid;
  gap: var(--tile-gap);
  column-gap: var(--tile-gap);
  row-gap: var(--tile-gap);
  align-items: stretch;
  margin-bottom: var(--tile-gap);
}

.stay-row-1 {
  grid-template-columns: 1.35fr 0.9fr;
}

.stay-row-2 {
  grid-template-columns: 1.4fr 0.75fr;
}

.stay-card {
  position: relative;
  background: #fff;
  padding: 2.8rem 2rem 2rem;
  box-shadow: var(--shadow);
  display: grid;
  align-content: center;
  gap: 1.2rem;
  min-height: 360px;
  overflow: visible;
}

.stay-card.wide {
  min-height: 360px;
}

.stay-card.bordered {
  border: 2px solid #7ab190;
  box-shadow: none;
  text-align: center;
  min-height: 300px;
}

.stay-card.narrow {
  min-height: 300px;
}

.stay-title {
  background: #4a5f55;
  color: #fff;
  padding: 1.4rem 1.8rem;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  text-align: center;
  margin: -3.6rem auto 0;
  width: 85%;
}

.stay-line {
  width: 80px;
  height: 3px;
  background: #7ab190;
  margin: 0 auto;
}

.stay-card p {
  font-family: "Alata", "Trebuchet MS", sans-serif;
  font-size: 1.6rem;
  text-align: center;
  margin: 0;
  line-height: 1.32;
}

.stay-image img {
  box-shadow: var(--shadow);
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 360px;
}

.stay-image.narrow img {
  min-height: 300px;
}

.stay-image.wide img {
  min-height: 360px;
}

.stay-lead {
  font-size: 1.7rem;
}

.stack-row {
  display: grid;
  gap: var(--tile-gap);
  column-gap: var(--tile-gap);
  row-gap: var(--tile-gap);
  grid-template-columns: 1.35fr 0.9fr;
  margin-bottom: var(--tile-gap);
  align-items: stretch;
}

.stack-row-2 {
  grid-template-columns: 1.45fr 0.75fr;
}

.orchard-row {
  grid-template-columns: 1fr 1fr;
}

.stack-row-3 {
  grid-template-columns: 1.35fr 0.9fr;
}

.stack-image img {
  box-shadow: var(--shadow);
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 300px;
}

.stack-image.wide img {
  min-height: 340px;
}

.stack-image.narrow img {
  min-height: 300px;
}

.stack-card {
  background: #fff;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 0.6rem;
}

.stack-card.bordered {
  border: 2px solid #7ab190;
  box-shadow: none;
}

.stack-card p {
  margin: 0;
  font-family: "Alata", "Trebuchet MS", sans-serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.stack-heading {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 2rem;
  margin: 0;
}

.text-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .stay-row,
  .stack-row {
    grid-template-columns: 1fr;
  }

  .stay-card,
  .stay-image img,
  .stack-image img,
  .stack-card {
    min-height: auto;
  }
}
.thank-you {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 5rem 0;
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/home/sections/BoxingDayStorm2021fromWildFoxHillHogsback72dpi.webp");
  background-size: cover;
  background-position: center;
}

.thank-you p {
  color: #fff;
}
.thank-you .container {
  position: relative;
  z-index: 1;
}

.thank-you h2 {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.thank-you .link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #fff;
  text-decoration: underline;
}

.social {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-weight: 600;
}




@keyframes heroFade {
  0% {
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 880px) {
  .nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: var(--cream);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-item {
    width: 100%;
  }

  .sub-menu {
    position: static;
    box-shadow: none;
    padding: 0.4rem 0 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    animation: none;
    opacity: 1;
  }

  .slide:not(.slide-1) {
    display: none;
  }

  .card,
  .btn {
    transition: none;
  }
}







.stay-lead { font-size: 1.7rem; }

.stay-grid.compact .stay-card,
.stay-grid.compact .stay-image img {
  min-height: 360px;
}





.hero-text { margin-top: 1rem; }









@keyframes pulseSoft {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

[data-animate="pulse"] {
  animation: pulseSoft 2.2s ease-in-out infinite;
}



.section.tight { padding-top: 0; padding-bottom: var(--tile-gap); }



.stay .stay-row:last-child { margin-bottom: 0; }













.footer-row {
  position: relative;
  display: block;
  text-align: center;
  padding-right: 90px;
}












.site-footer {
  background: #3b3b3b;
  color: #ffffff;
  padding: 1rem 0;
  font-size: 0.65rem;
}

.footer-simple {
  position: relative;
  text-align: center;
  padding-right: 90px;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
}

.footer-links a {
  color: #7bc59a;
  text-decoration: underline;
  font-size: 0.65rem;
}

.footer-note {
  margin: 0;
  color: #ffffff;
  font-size: 0.65rem;
}

.footer-note a {
  color: #7bc59a;
  text-decoration: underline;
  font-size: 0.65rem;
}

.footer-mark {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .footer-simple {
  position: relative;
  text-align: center;
  padding-right: 90px;
  box-sizing: border-box;
}

  .footer-mark {
    position: static;
    transform: none;
    margin: 0.6rem auto 0;
    display: block;
  }
}




main { flex: 1; display: block; }



.site-footer { margin-top: 0; }




.page-hero {
  min-height: 420px;
}

.page-hero .hero-content {
  min-height: 420px;
  justify-content: center;
  padding: 2.5rem 0;
}

.page-hero .hero-actions {
  display: none;
}

.about-founder { background: var(--cream); padding-bottom: var(--tile-gap); }

.about-row {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: var(--tile-gap);
  align-items: stretch;
  margin-bottom: var(--tile-gap);
}

.about-row.vision {
  margin-bottom: var(--tile-gap);
}

.about-row.mission {
  grid-template-columns: 0.9fr 1.35fr;
}

.about-panel {
  background: #fff;
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
  align-content: center;
}

.about-panel.bordered {
  border: 2px solid #7ab190;
  box-shadow: none;
}

.about-title {
  background: #4a5f55;
  color: #fff;
  padding: 1.2rem 1.6rem;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  text-align: center;
  width: 85%;
  margin: 0 auto;
  animation: pulseSoft 2.2s ease-in-out infinite;
}

.about-title.center {
  width: 60%;
  margin: 0 auto 2rem;
}

.about-line {
  width: 80px;
  height: 3px;
  background: #7ab190;
  margin: 0 auto;
}

.about-panel p {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  min-height: 360px;
}

.about-values {
  background-image: linear-gradient(0deg, rgba(242,242,242,0.65), rgba(242,242,242,0.65)), url("media/about/fgfg-min.jpg");
  background-size: cover;
  background-position: center;
}

.values-art {
  width: min(520px, 90%);
  display: block;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .about-row,
  .about-row.mission {
    grid-template-columns: 1fr;
  }

  .about-title.center {
    width: 85%;
  }

  .about-image img {
    min-height: auto;
  }
}

.about-vision { padding-top: var(--tile-gap); }

.about-vision .about-row:last-child { margin-bottom: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.about-row > * {
  animation: fadeUp 0.8s ease both;
}

.about-row > *:nth-child(2) {
  animation-delay: 0.12s;
}

.values-art {
  animation: fadeUp 0.9s ease both;
}

.single-hero {
  background-size: cover;
  background-position: center;
}

.accommodation-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/accommodation/general/WildFoxHillEcocabinbynight.jpg");
  min-height: 420px;
}

.accommodation-hero .hero-content {
  min-height: 420px;
}

.accommodation-hero .hero-actions {
  margin-top: 2rem;
}

.accom-nav .btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.45);
}

.accom-intro {
  background: var(--cream);
  text-align: center;
  padding-bottom: 0;
}

.accom-intro p {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.accom-reviews {
  text-align: center;
  padding-top: 0.2rem;
}

.accom-reviews h3 {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.accom-buttons {
  display: flex;
  justify-content: center;
  gap: var(--tile-gap);
  flex-wrap: wrap;
}

.accom-section h2 {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 0.6rem;
}

.accom-section .subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gallery-gap);
  margin-bottom: 2rem;
}

.gallery-grid img {
  cursor: pointer;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 26px rgba(18, 18, 18, 0.18);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--tile-gap);
}

.info-card {
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.info-title {
  background: #4a5f55;
  color: #fff;
  padding: 1rem 1.4rem;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 1.6rem;
  text-align: center;
  width: 85%;
  margin: 0 auto;
}

.info-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--tile-gap);
}

.info-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.accom-cta {
  text-align: center;
  margin-top: -2.1rem;
}

@media (max-width: 900px) {
  .accommodation-hero .hero-content {
    min-height: 360px;
  }
}




.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 999;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  max-width: min(1200px, 92vw);
  max-height: 92vh;
  overflow: auto;
  background: #111;
  padding: 0.5rem;
  overscroll-behavior: contain;
}

.lightbox-content img {
  max-width: 100%;
  max-height: none;
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}


.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 0;
  font-size: 2.5rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.tabs {
  margin-top: 1.5rem;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  border-bottom: 2px solid #3f6b55;
  margin-bottom: 1.2rem;
}

.tab {
  background: #e7e7e7;
  border: 0;
  padding: 0.7rem 1.6rem;
  font-size: 1.05rem;
  font-family: "Alata", "Trebuchet MS", sans-serif;
  cursor: pointer;
}

.tab.is-active {
  background: #4a5f55;
  color: #fff;
}

.tab-panel {
  display: none;
  background: #fff;
  padding: 1.8rem 1.8rem 3.2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel ul { text-align: left; }

.tab-panel.rates { text-align: left; }


.accom-cta .btn { display: inline-block; }



.earth-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/earth-school/BannerLarger.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.earth-hero .hero-content {
  min-height: 420px;
  justify-content: center;
}

.earth-story {
  background: var(--cream);
}

.earth-row {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: var(--tile-gap);
  align-items: stretch;
  margin-bottom: var(--tile-gap);
}

.earth-row.structure {
  grid-template-columns: 0.9fr 1.35fr;
}

.earth-panel {
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  align-content: center;
  text-align: center;
}

.earth-title {
  background: #4a5f55;
  color: #fff;
  padding: 1.1rem 1.5rem;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 2rem;
  text-align: center;
  width: 85%;
  margin: 0 auto;
  animation: pulseSoft 2.2s ease-in-out infinite;
}

.earth-title.center {
  width: 60%;
  margin: 0 auto 1.5rem;
}

.earth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.earth-video .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.earth-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.earth-pillars {
  background: var(--cream);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--tile-gap);
}

.pillar {
  background: #fff;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.pillar img {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
}

.pillar h3 {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  margin: 0 0 0.6rem;
}

.earth-note {
  text-align: center;
  margin: 1.5rem auto 0;
  max-width: 900px;
}

.earth-programs {
  background: #fff;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: var(--tile-gap);
}

.program-card {
  background: #f6f6f6;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.6rem;
  text-align: center;
}

.program-card h4 {
  margin: 0;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
}

.program-card span {
  font-weight: 700;
  align-self: end;
}

@media (max-width: 900px) {
  .earth-row,
  .earth-row.structure {
    grid-template-columns: 1fr;
  }

  .earth-title.center {
    width: 85%;
  }

  .earth-image img {
    min-height: auto;
  }
}

@media (max-width: 900px) { .program-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); } }

@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }


.partnership-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/partnership/cvbf-min.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.partnership-hero .hero-content {
  min-height: 420px;
  justify-content: center;
}

.partnership-section {
  background: var(--cream);
}

.partnership-image {
  width: 100%;
  min-height: 680px;
  background-image: url("media/partnership/nmmnmn-min.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.partnership-panel {
  background: #f4f9f2;
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  width: min(720px, 85%);
  margin: -30rem auto 0;
  position: relative;
  z-index: 1;
}

.partnership-panel p {
  margin: 0 0 1rem;
}

.partnership-panel p:last-child {
  margin-bottom: 0;
}

.partnership-cta {
  text-align: center;
  margin-top: 1.5rem;
}


.partnership-backdrop {
  position: relative;
  display: block;
  padding-bottom: 8rem;
  overflow: visible;
}

.consulting-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/environmental-consulting/5.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.consulting-hero .hero-content {
  min-height: 420px;
  justify-content: center;
}

.consulting-intro {
  background: var(--cream);
}

.consulting-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--tile-gap);
  align-items: stretch;
}

.consulting-panel {
  background: #fff;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
  align-content: start;
}

.consulting-panel p {
  margin: 0;
  font-size: 1.1rem;
}

.consulting-link {
  color: var(--accent);
  text-decoration: underline;
}

.consulting-strong {
  font-weight: 700;
  margin-top: 0.4rem;
}

.consulting-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.consulting-image {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url("media/environmental-consulting/TheBigTreeHogsback72dpicopy.jpg");
  background-size: cover;
  background-position: center;
  min-height: 620px;
  box-shadow: var(--shadow);
}

.consulting-mini {
  width: 100%;
  height: auto;
  margin-top: 0.8rem;
  box-shadow: var(--shadow);
}

.consulting-thesis {
  background-image: url("media/environmental-consulting/Thesis-BoksburgLake.jpg");
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

.consulting-card {
  background: #f4f9f2;
  padding: 2.4rem 2.2rem;
  box-shadow: var(--shadow);
  width: min(560px, 88%);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.8rem;
}

.consulting-card-title {
  background: #4a5f55;
  color: #fff;
  padding: 0.9rem 1.4rem;
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 1.8rem;
  width: 70%;
  margin: -2.4rem auto 0.5rem;
}

.consulting-card a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .consulting-grid {
    grid-template-columns: 1fr;
  }

  .consulting-image {
    min-height: 360px;
  }

  .consulting-card-title {
    width: 85%;
  }
}

.gallery-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/gallery/BannerLarger.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.gallery-hero .hero-content {
  min-height: 420px;
  justify-content: center;
}

.section-title {
  font-family: "Architects Daughter", "Comic Sans MS", cursive;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.gallery-page .container {
  width: min(100% - 2rem, 1400px);
}

.gallery-page .section {
  padding: 3rem 0;
}

.gallery-page .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.gallery-page .gallery-grid img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .gallery-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-page .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.contact-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("media/contact/cvbf-min.jpg");
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.contact-hero .hero-content {
  min-height: 420px;
  justify-content: center;
}

.contact-section {
  background-image: linear-gradient(0deg, rgba(247, 243, 236, 0.92), rgba(247, 243, 236, 0.92)), url("media/contact/HogsbackRainCloudsfromWildFoxHill45x3372dpicopy.jpg");
  background-size: cover;
  background-position: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--tile-gap);
  margin-bottom: 3rem;
}

.contact-card {
  background: #fff;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.contact-card h5 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.contact-card p {
  margin: 0;
  font-size: 1rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  color: var(--accent);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-map iframe {
  width: 100%;
  height: 520px;
  border: 0;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 420px;
  }
}

.land-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("media/home/sections/WildFoxHillWaterfall2ForestSetting.webp");
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.land-hero .hero-content {
  min-height: 420px;
  justify-content: center;
}

.land-section {
  background: var(--cream);
}

.land-page .about-title {
  animation: none;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

.land-page [data-animate] {
  animation: none;
}

.gallery-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.consulting-carousel .container {
  width: 100%;
  max-width: none;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.consulting-carousel {
  padding: 2rem 0;
}

.consulting-carousel .carousel-track img {
  aspect-ratio: 1 / 1;
}

.gallery-carousel .carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0.4rem 0.2rem;
  margin: 0;
  scrollbar-width: none;
}

.gallery-carousel .carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-carousel .carousel-track img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(59, 59, 59, 0.85);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
  background: rgba(59, 59, 59, 1);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .gallery-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }
}


