/* ================================================================
   PIXIE FARM — Main Stylesheet
   "Southern Heirloom Press" aesthetic
   ================================================================
   1.  Google Fonts
   2.  CSS Variables
   3.  Reset & Base
   4.  Typography
   5.  Links & Buttons
   6.  Utilities & Layout
   7.  Scroll Reveal Animations
   8.  Header & Nav
   9.  Mobile Nav
   10. Hero (Home only)
   11. Page Header (inner pages)
   12. Section Dividers
   13. Intro & Pullquote
   14. Feature Cards
   15. Gallery Grid
   16. Events Teaser (Home)
   17. Event List (full page)
   18. Past Events
   19. CTA Banner
   20. Two-Col Layout
   21. Sustainability List
   22. Benefit Cards (Biochar)
   23. Order Steps
   24. CSA Steps
   25. Forms
   26. Contact Details
   27. Social Links
   28. Footer
   29. Responsive (≤ 768px)
   ================================================================ */


/* ================================================================
   1. GOOGLE FONTS
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');


/* ================================================================
   2. CSS VARIABLES
   ================================================================ */

:root {
  /* Brand Colors */
  --green:        #3a5a40;
  --green-dark:   #2b4430;
  --green-deep:   #1c2e21;
  --green-light:  #eef4ef;
  --green-mid:    #cddece;
  --clay:         #a0522d;
  --clay-light:   #f5ede6;
  --clay-mid:     #c4733f;
  --gold:         #c8962a;
  --gold-light:   #f0e0a8;
  --cream:        #fdf6ec;
  --cream-dark:   #f4e9d6;
  --parchment:    #f8f0e0;
  --text:         #2c2c2c;
  --text-muted:   #6b5e4e;
  --border:       #d8c9b5;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  2rem;
  --sp-xl:  3.5rem;
  --sp-xxl: 6rem;

  /* Layout */
  --max-w:     1100px;
  --max-w-sm:  640px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 20px;

  /* Transitions */
  --ease: 0.25s ease;
  --ease-slow: 0.45s ease;
}


/* ================================================================
   3. RESET & BASE
   ================================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

ul, ol { list-style: none; }

input, button, textarea, select { font: inherit; }

button { cursor: pointer; border: none; background: none; }

table { border-collapse: collapse; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-lg) 0;
}


/* ================================================================
   4. TYPOGRAPHY
   ================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p { margin-bottom: var(--sp-md); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

small { font-size: 0.85rem; color: var(--text-muted); }

blockquote {
  position: relative;
  border-left: 3px solid var(--gold);
  padding: var(--sp-md) var(--sp-lg);
  margin: var(--sp-xl) 0;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: var(--clay);
  background: var(--clay-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.3rem;
  left: var(--sp-md);
  font-size: 3.5rem;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  font-family: var(--font-heading);
}

/* Eyebrow label — small gold all-caps label above headings */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}

/* Decorative rule below a heading */
.heading-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.heading-rule--center {
  margin-inline: auto;
}


/* ================================================================
   5. LINKS & BUTTONS
   ================================================================ */

a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

a:hover, a:focus { color: var(--clay); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7em 1.8em;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--ease), color var(--ease),
              border-color var(--ease), box-shadow var(--ease),
              transform var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background-color: var(--green);
  color: var(--cream);
  border: 2px solid var(--green);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(58, 90, 64, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--green);
  color: var(--cream);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--cream);
  border: 2px solid rgba(253, 246, 236, 0.7);
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: var(--cream);
  color: var(--green-dark);
  border-color: var(--cream);
}

.btn-clay {
  background-color: var(--clay);
  color: var(--cream);
  border: 2px solid var(--clay);
}

.btn-clay:hover, .btn-clay:focus {
  background-color: #8a4525;
  border-color: #8a4525;
  color: var(--cream);
}

.btn:focus-visible, a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}


/* ================================================================
   6. UTILITIES & LAYOUT
   ================================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}

.container--narrow { max-width: var(--max-w-sm); margin-inline: auto; }

.section { padding-block: var(--sp-xxl); }
.section--sm { padding-block: var(--sp-xl); }

.bg-cream      { background-color: var(--cream); }
.bg-parchment  { background-color: var(--parchment); }
.bg-clay-light { background-color: var(--clay-light); }
.bg-green-light { background-color: var(--green-light); }
.bg-green      { background-color: var(--green); }
.bg-green-deep { background-color: var(--green-deep); }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-green  { color: var(--green); }
.text-clay   { color: var(--clay); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }
.text-cream  { color: var(--cream); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Section heading block */
.section-label {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-label h2 { margin-bottom: 0; }

.section-lead {
  max-width: 620px;
  margin-inline: auto;
  margin-top: var(--sp-md);
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}


/* ================================================================
   7. SCROLL REVEAL ANIMATIONS
   ================================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }


/* ================================================================
   8. HEADER & NAV
   ================================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background-color var(--ease-slow), box-shadow var(--ease-slow),
              padding var(--ease-slow);
  padding-block: 0;
}

/* Transparent state — sits over the hero */
.site-header.header--transparent {
  background-color: transparent;
}

/* Scrolled / default state */
.site-header.header--solid,
.site-header:not(.header--transparent) {
  background-color: var(--green-deep);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Inner flex layout */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  min-height: 72px;
}

/* Logo */
.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  transition: color var(--ease);
  position: relative;
}

.site-logo::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--ease);
}

.site-logo:hover { color: var(--gold); }
.site-logo:hover::after { opacity: 1; }

/* Nav links */
.site-nav { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.nav-links a {
  color: rgba(253, 246, 236, 0.85);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-block: var(--sp-xs);
  position: relative;
  transition: color var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a[aria-current="page"] {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a:focus::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--gold);
}

.nav-links a[aria-current="page"]::after {
  background: var(--gold);
}


/* ================================================================
   9. MOBILE NAV
   ================================================================ */

#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--sp-sm);
  background: transparent;
  border: 1.5px solid rgba(253, 246, 236, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

#nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--cream);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

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


/* ================================================================
   10. HERO (HOME PAGE)
   ================================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-color: var(--green-deep);
  background-image: url('images/photos/hero-farm.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Multi-layer overlay: warm tint + vignette */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(28, 46, 33, 0.78) 0%,
      rgba(28, 46, 33, 0.45) 50%,
      rgba(160, 82, 45, 0.25) 100%
    );
}

/* Grain texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: calc(72px + var(--sp-xl)) var(--sp-lg) var(--sp-xl);
}

/* Decorative top rule above eyebrow */
.hero-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: var(--sp-md);
}

.hero-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.08;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--sp-lg);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-subheading {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(253, 246, 236, 0.88);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: var(--sp-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  align-items: center;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
  color: rgba(253, 246, 236, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(253,246,236,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.85); }
}


/* ================================================================
   11. PAGE HEADER (INNER PAGES)
   ================================================================ */

.page-header {
  position: relative;
  background-color: var(--green-deep);
  padding-block: calc(72px + var(--sp-xl)) var(--sp-xl);
  text-align: center;
  overflow: hidden;
}

/* Textured backing */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.015) 2px,
    rgba(255,255,255,0.015) 4px
  );
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-style: italic;
  margin-bottom: var(--sp-xs);
}

.page-header .subtitle {
  color: rgba(253, 246, 236, 0.65);
  font-size: 1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* Gold rule under page header title */
.page-header-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: var(--sp-md) auto 0;
}


/* ================================================================
   12. SECTION DIVIDERS
   ================================================================ */

.divider {
  text-align: center;
  color: var(--border);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
  padding-block: var(--sp-sm);
  user-select: none;
}

.divider--leaf {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.divider--leaf svg {
  display: block;
  width: 100%;
}


/* ================================================================
   13. INTRO & PULLQUOTE
   ================================================================ */

.intro-section {
  padding-block: var(--sp-xxl);
  text-align: center;
}

.intro-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-style: italic;
  margin-bottom: var(--sp-md);
}

.intro-text {
  max-width: 680px;
  margin-inline: auto;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.pullquote {
  background: var(--clay-light);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  margin-block: var(--sp-xl);
}

.pullquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--clay);
  line-height: 1.4;
  margin: 0;
}

.pullquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--sp-md);
}


/* ================================================================
   14. FEATURE CARDS
   ================================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}

.card:hover {
  box-shadow: 0 8px 30px rgba(58, 90, 64, 0.12);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: var(--sp-md);
}

.card-title {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: var(--sp-sm);
}

.card-text {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}


/* ================================================================
   15. GALLERY GRID
   ================================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-sm);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}

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

.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--tall img {
  height: 100%;
  aspect-ratio: unset;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--green-light), var(--cream-dark));
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-lg);
}

.gallery-placeholder span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}


/* ================================================================
   16. EVENTS TEASER (HOME)
   ================================================================ */

.events-teaser {
  background-color: var(--green-deep);
  padding-block: var(--sp-xxl);
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal stripe texture */
.events-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 8px,
    rgba(255,255,255,0.015) 8px,
    rgba(255,255,255,0.015) 9px
  );
}

.events-teaser .container { position: relative; z-index: 1; }

.events-teaser .section-label h2 {
  color: var(--cream);
  font-style: italic;
}

.events-teaser .eyebrow { color: var(--gold); }

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.event-card {
  display: flex;
  gap: var(--sp-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: background-color var(--ease);
}

.event-card:hover { background: rgba(255, 255, 255, 0.1); }

.event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  background-color: var(--gold);
  color: var(--green-deep);
  border-radius: var(--radius-sm);
  padding: var(--sp-sm) var(--sp-xs);
  text-align: center;
  flex-shrink: 0;
}

.event-date-badge .month {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.event-date-badge .day {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.event-body { flex: 1; }

.event-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: var(--sp-xs);
}

.event-description {
  font-size: 0.9rem;
  color: rgba(253, 246, 236, 0.7);
  line-height: 1.65;
  margin-bottom: 0;
}

.events-footer {
  text-align: center;
  margin-top: var(--sp-xl);
}

.events-all-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: gap var(--ease), color var(--ease);
}

.events-all-link:hover { color: var(--cream); gap: var(--sp-md); }

.events-all-link::after {
  content: '→';
  font-size: 1rem;
}


/* ================================================================
   17. EVENT LIST (FULL PAGE)
   ================================================================ */

.event-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.event-item {
  display: flex;
  gap: var(--sp-lg);
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: box-shadow var(--ease), transform var(--ease);
}

.event-item:hover {
  box-shadow: 0 6px 24px rgba(58, 90, 64, 0.1);
  transform: translateX(4px);
}

.event-item .event-date-badge {
  background-color: var(--green);
  color: var(--cream);
  min-width: 64px;
}

.event-item .event-date-badge .month { color: rgba(253,246,236,0.8); }

.event-item-body { flex: 1; }

.event-item-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--green-dark);
  margin-bottom: var(--sp-xs);
}

.event-item-meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--clay);
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.event-item-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}


/* ================================================================
   18. PAST EVENTS
   ================================================================ */

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.past-event-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--ease);
}

.past-event-card:hover {
  box-shadow: 0 8px 28px rgba(58, 90, 64, 0.12);
}

.past-event-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--green-light);
}

.past-event-img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--green-light), var(--cream-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.past-event-info {
  padding: var(--sp-lg);
}

.past-event-info h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-sm);
}

.past-event-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ================================================================
   19. CTA BANNER
   ================================================================ */

.cta-banner {
  position: relative;
  background-color: var(--clay);
  padding-block: var(--sp-xxl);
  text-align: center;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 6px,
    rgba(255,255,255,0.04) 6px, rgba(255,255,255,0.04) 7px
  );
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner .eyebrow { color: var(--gold-light); }

.cta-banner h2 {
  color: var(--cream);
  font-style: italic;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  margin-bottom: var(--sp-sm);
}

.cta-banner p {
  color: rgba(253, 246, 236, 0.82);
  font-size: 1.05rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-lg);
}

.cta-banner .btn-primary {
  background: var(--cream);
  color: var(--clay);
  border-color: var(--cream);
}

.cta-banner .btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-deep);
}


/* ================================================================
   20. TWO-COLUMN LAYOUT
   ================================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.col-image {
  position: relative;
}

.col-image img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(28, 46, 33, 0.18);
}

/* Decorative corner bracket on image */
.col-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 60px;
  height: 60px;
  border-top: 3px solid var(--gold);
  border-left: 3px solid var(--gold);
  border-radius: 2px 0 0 0;
  z-index: 1;
}

.col-image::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 60px;
  height: 60px;
  border-bottom: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  border-radius: 0 0 2px 0;
  z-index: 1;
}

.col-text h2 { margin-bottom: var(--sp-sm); }
.col-text p { color: var(--text-muted); line-height: 1.8; }


/* ================================================================
   21. SUSTAINABILITY LIST
   ================================================================ */

.sustainability-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  margin-top: var(--sp-lg);
}

.sustainability-item {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}

.sustain-icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border: 2px solid var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.sustain-content h3 {
  font-size: 1.15rem;
  margin-bottom: var(--sp-xs);
}

.sustain-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0;
}


/* ================================================================
   22. BENEFIT CARDS (BIOCHAR)
   ================================================================ */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.benefit-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--sp-lg);
  transition: box-shadow var(--ease), transform var(--ease);
}

.benefit-card:hover {
  box-shadow: 0 8px 28px rgba(58, 90, 64, 0.1);
  transform: translateY(-3px);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-sm);
  color: var(--green-dark);
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ================================================================
   23. ORDER STEPS (BIOCHAR)
   ================================================================ */

.order-steps {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
}

.order-step {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
  counter-increment: steps;
}

.order-step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.order-step-content h3 {
  font-size: 1rem;
  margin-bottom: var(--sp-xs);
}

.order-step-content p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ================================================================
   24. CSA STEPS
   ================================================================ */

.csa-steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
  margin-top: var(--sp-lg);
  max-width: 640px;
  margin-inline: auto;
}

.csa-step {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}

.csa-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--clay);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.csa-step-content h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-xs);
}

.csa-step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}


/* ================================================================
   25. FORMS
   ================================================================ */

.form-wrap {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-lg);
}

.form-group:last-child { margin-bottom: 0; }

label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
}

.required-mark { color: var(--clay); margin-left: 2px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.65em 1em;
  font-size: 1rem;
  color: var(--text);
  background-color: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(58, 90, 64, 0.15);
}

input::placeholder,
textarea::placeholder { color: #b8a898; }

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.65;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a5a40' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-submit { margin-top: var(--sp-lg); }


/* ================================================================
   26. CONTACT DETAILS & SOCIAL
   ================================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-sm) var(--sp-lg);
  align-items: baseline;
}

.contact-details dt {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.contact-details dd { color: var(--text); }

.map-placeholder {
  width: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, var(--green-light), var(--cream-dark));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.social-links-row {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  margin-top: var(--sp-lg);
  flex-wrap: wrap;
}

.social-btn {
  display: inline-block;
  padding: 0.65em 1.6em;
  border: 2px solid var(--green);
  border-radius: var(--radius-sm);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease);
}

.social-btn:hover {
  background: var(--green);
  color: var(--cream);
}


/* ================================================================
   27. FOOTER
   ================================================================ */

.site-footer {
  background-color: var(--green-deep);
  color: rgba(253, 246, 236, 0.75);
  padding-block: var(--sp-xxl) var(--sp-xl);
  position: relative;
  overflow: hidden;
}

/* Subtle texture */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent, transparent 8px,
    rgba(255,255,255,0.01) 8px, rgba(255,255,255,0.01) 9px
  );
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
  position: relative;
}

/* Brand column */
.footer-brand .site-logo {
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: var(--sp-sm);
  display: inline-block;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(253, 246, 236, 0.6);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 0;
}

/* Footer nav columns */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-col a {
  color: rgba(253, 246, 236, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--ease);
}

.footer-col a:hover { color: var(--cream); }

/* Footer bottom bar */
.footer-bottom {
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(253, 246, 236, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(253, 246, 236, 0.35);
  position: relative;
}

.footer-social-row {
  display: flex;
  gap: var(--sp-md);
}

.footer-social-link {
  color: rgba(253, 246, 236, 0.5);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--ease);
}

.footer-social-link:hover { color: var(--gold); }


/* ================================================================
   28. RESPONSIVE (≤ 768px)
   ================================================================ */

@media (max-width: 768px) {

  :root {
    --sp-xl: 2.5rem;
    --sp-xxl: 4rem;
  }

  .container { padding-inline: var(--sp-md); }

  /* Nav: show hamburger */
  #nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--green-deep);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, padding 0.35s ease;
    z-index: 199;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem var(--sp-lg);
    border-bottom: 1px solid rgba(253, 246, 236, 0.08);
    font-size: 0.9rem;
  }

  .nav-open .site-nav { max-height: 420px; }

  /* Hero */
  .hero { min-height: 90vh; }
  .hero-content { padding-top: calc(72px + var(--sp-lg)); }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Grids */
  .card-grid,
  .card-grid--4 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .past-events-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .contact-grid { grid-template-columns: 1fr; }

  /* Event items: stack */
  .event-item { flex-direction: column; gap: var(--sp-md); }
  .event-item .event-date-badge {
    flex-direction: row;
    align-items: center;
    gap: var(--sp-sm);
    width: auto;
    padding: var(--sp-sm) var(--sp-md);
    min-width: unset;
  }
  .event-item .event-date-badge .day { font-size: 1.4rem; }

  /* Col-image decorative brackets */
  .col-image::before,
  .col-image::after { display: none; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .form-wrap { padding: var(--sp-lg); }
}
