/* RESET & BASE STYLES */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #faf8f5;
  color: #2A334A;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
  overscroll-behavior: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #253821;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, ul, ol, li, blockquote {
  color: #43402e;
}
strong { color: #2A334A; font-weight: 700; }
blockquote {
  font-style: italic;
  color: #355931;
  border-left: 4px solid #E2C044;
  background: #f9f7f1;
  padding: 14px 24px 14px 18px;
  margin: 24px 0;
  border-radius: 8px;
}

/* LINKS */
a {
  color: #236541;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2A334A;
  text-decoration: underline;
}

/* BRAND COLORS & ORGANIC PALETTE */
:root {
  --primary: #2A334A;
  --secondary: #B6B1A9;
  --accent: #E2C044;
  --earth-bg: #faf8f5;
  --organic-green: #75835b;
  --leaf-green: #355931;
  --rich-brown: #7f6347;
  --stone-beige: #e3dfd7;
  --shadow: rgba(42,51,74,0.07);
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px 16px 30px 12px / 14px 28px 20px 36px;
  box-shadow: 0 2px 18px var(--shadow);
  /* Soft organic shadow */
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 18px 10px 16px 10px/16px 20px 14px 20px;
  }
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #f4f2eb;
  border-radius: 18px 38px 20px 28px / 22px 18px 32px 28px;
  box-shadow: 0 4px 16px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-width: 220px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 26px rgba(53,89,49, 0.13);
  transform: translateY(-2px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  background: #f8f5ee;
  gap: 20px;
  padding: 20px;
  border-radius: 24px 18px 32px 14px / 16px 22px 28px 21px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #f4f8f1;
  border-radius: 18px 30px 20px 10px / 14px 22px 18px 16px;
  padding: 18px;
}
@media (max-width: 768px) {
  .feature-item { gap: 10px; padding: 12px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* HEADER + NAVIGATION */
header {
  width: 100%;
  background: linear-gradient(110deg, #e3dfd7 60%, #f8f5ee 100%);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 0 0 0 0;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  color: #355931;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #e3dfd7;
  color: #2A334A;
}
header img {
  height: 46px;
  width: auto;
  margin: 10px 0;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #355931;
  margin-left: 16px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 151;
  width: 48px;
  height: 48px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #E2C044;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #f4f8f1;
  box-shadow: 0 8px 36px var(--shadow);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 26px;
  right: 24px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #253821;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 206;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:focus {
  outline: 2px solid #E2C044;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin: 80px 0 0 32px;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #355931;
  font-weight: 700;
  padding: 12px 0;
  min-width: 180px;
  display: block;
  border-radius: 8px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e3dfd7;
  color: #2A334A;
}
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  header nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* MAIN SECTIONS */
main {
  background: transparent;
  min-height: 60vh;
  padding-bottom: 60px;
}

.section > .container {
  display: flex;
  flex-direction: column;
}

/* ARTICLE SNIPPETS, ESSAY CARDS, FEATURES */
.article-snippet, .feature-item, .biography, .event-preview, .topic-overviews {
  background: #f8f5ee;
  border-radius: 24px 10px 16px 18px/ 17px 12px 20px 20px;
  padding: 20px 20px 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 7px var(--shadow);
  transition: box-shadow 0.2s, transform 0.18s;
}
.article-snippet:hover, .feature-item:hover, .biography:hover, .event-preview:hover {
  box-shadow: 0 8px 20px rgba(117,131,91,0.14);
  transform: translateY(-1px) scale(1.01);
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-list > div {
  flex: 1 1 240px;
  min-width: 220px;
}
.biography {
  background: #f3efe6;
  border-left: 5px solid #E2C044;
  border-radius: 10px 24px 24px 10px / 21px 16px 18px 16px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .feature-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-list > div { min-width: 0; }
  .article-snippet, .feature-item, .biography { padding: 14px 10px 12px 12px; }
}

/* CALL TO ACTIONS */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #253821;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 34px 18px 32px 16px / 20px 24px 18px 24px;
  padding: 11px 28px;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.16s, box-shadow 0.15s, transform 0.12s;
  margin-top: 10px;
  box-shadow: 0 1px 4px var(--shadow);
  cursor: pointer;
  position: relative;
}
.cta.primary {
  background: linear-gradient(98deg, #e2c044 90%, #ffc861 100%);
  color: #2A334A;
}
.cta:hover, .cta:focus {
  background: #2A334A;
  color: #E2C044;
  box-shadow: 0 4px 16px rgba(42,51,74,0.13);
  transform: scale(1.03);
}

/* LISTS AND ICONS */
ul, ol {
  padding-left: 24px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
li {
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 1px;
}
li img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  flex-shrink: 0;
}

/* CONTACT & MAP */
.contact-info ul, .contact-details ul, .footer-contact ul {
  list-style: none;
  padding: 0;
  gap: 11px;
}
.map {
  background: #f8fbe7;
  color: #2A334A;
  border-radius: 14px 24px 14px 15px/12px 18px 13px 17px;
  padding: 16px 20px;
  margin: 15px 0 0 0;
  box-shadow: 0 2px 6px var(--shadow);
}

/* FOOTER */
footer {
  width: 100%;
  background: linear-gradient(100deg, #e3dfd7 80%, #f8f5ee 100%);
  border-top: 3px solid #e8e4db;
  padding: 0;
  margin-top: 40px;
  position: relative;
  box-shadow: 0 -2px 12px var(--shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 34px 20px 16px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.18rem;
  color: #355931;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
}
.footer-brand img {
  height: 38px;
  width: auto;
  margin-right: 5px;
  border-radius: 10px;
  background: #faf8f5;
  box-shadow: 0 1px 5px var(--shadow);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 0 -4px;
}
footer nav a {
  color: #7f6347;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 5px 9px;
  transition: background 0.14s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: #E2C044;
  color: #2A334A;
}
.footer-contact ul {
  font-size: 0.99rem;
  color: #2A334A;
  gap: 7px;
}
.footer-disclaimer {
  font-size: 0.85rem;
  color: #B6B1A9;
  margin-top: 10px;
  text-align: left;
}
@media (max-width: 600px) {
  footer .container { gap: 22px; }
  .footer-brand img { height: 28px; }
}

/* THANK YOU & SUCCESS */
.text-section { margin-bottom: 20px; }

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .container { max-width: 100%; padding: 0 10px; }
}
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.15rem; }
  .container { padding: 0 4px; }
}
/* BUTTONS, TRANSITIONS, MICRO-INTERACTIONS */
button, .cta, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  border: none;
  background: none;
  cursor: pointer;
}
button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #E2C044;
  outline-offset: 2px;
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #355931;
  color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 20px 12px;
  box-shadow: 0 -4px 24px rgba(42,51,74,0.08);
  font-size: 1rem;
  animation: bannerIn 0.5s;
}
@keyframes bannerIn {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-content {
  flex: 1;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  border-radius: 18px 16px 12px 14px/14px 13px 17px 15px;
  border: none;
  background: #E2C044;
  color: #2A334A;
  font-weight: bold;
  padding: 9px 18px;
  margin-left: 0;
  font-size: 0.98rem;
  transition: background 0.15s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 1px 4px var(--shadow);
}
.cookie-banner .cookie-btn.settings {
  background: #75835b;
  color: #fff;
  margin-left: 8px;
}
.cookie-banner .cookie-btn.reject {
  background: #7f6347;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #253821;
  color: #fff;
  box-shadow: 0 3px 12px rgba(53,89,49,0.11);
}
@media (max-width: 900px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 4px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-banner-actions { gap: 8px; }
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,51,74, 0.65);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #f4f2eb;
  border-radius: 24px 30px 18px 14px/20px 28px 22px 15px;
  max-width: 390px;
  width: 95%;
  padding: 28px 24px 20px 24px;
  color: #2A334A;
  box-shadow: 0 10px 42px rgba(53,89,49,0.13);
  animation: modalIn 0.38s;
  position: relative;
}
@keyframes modalIn {
  from { transform: scale(0.89); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #355931;
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  padding: 6px 0;
  font-size: 1rem;
}
.cookie-modal label {
  font-weight: 600;
  color: #355931;
}
.cookie-category input[type=checkbox] {
  accent-color: #E2C044;
  width: 19px; height: 19px;
  margin-right: 2px;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  border-radius: 13px 12px 10px 15px/12px 13px 15px 10px;
  background: #E2C044;
  color: #2A334A;
  padding: 7px 14px;
  font-weight: 600;
  transition: background 0.13s, color 0.14s;
  border: none;
  font-size: 0.97rem;
}
.cookie-modal .cookie-btn.settings {
  background: #75835b;
  color: #fff;
}
.cookie-modal .cookie-btn.reject {
  background: #7f6347;
  color: #fff;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #2A334A;
  color: #E2C044;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 1.7rem;
  color: #2A334A;
  background: none;
  border: none;
  cursor: pointer;
}
.cookie-modal .modal-close:focus {
  outline: 2px solid #E2C044;
}
.cookie-modal .cookie-description {
  font-size: 0.98rem;
  color: #43402e;
  margin-bottom: 10px;
}

/* ORGANIC SHAPES DECORATIVE (OPTIONAL) */
.organic-deco-1,
.organic-deco-2 {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

/*-- Hide scrollbars for mobile overlays --*/
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* VISUAL DETAILS */
.box-shadow-1 {
  box-shadow: 0 1px 8px rgba(53,89,49, 0.13);
}
.card-shadow {
  box-shadow: 0 4px 16px var(--shadow);
}
.rounded-edges {
  border-radius: 18px 38px 20px 28px / 22px 18px 32px 28px;
}

/* FORMS */
input[type="text"], input[type="email"], textarea {
  border: 1.5px solid #e3dfd7;
  background: #f9f8f2;
  color: #2A334A;
  border-radius: 13px 10px 17px 12px/10px 14px 17px 16px;
  font-size: 1rem;
  padding: 11px 13px;
  margin-bottom: 11px;
  width: 100%;
  max-width: 440px;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #E2C044;
  box-shadow: 0 0 8px #e2c04428;
}
label {
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #355931;
  margin-bottom: 4px;
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
  background: #faf8f5;
}
th, td {
  border: 1px solid #e3dfd7;
  padding: 14px 12px;
}
th {
  background: #e3dfd7;
  color: #253821;
  font-weight: bold;
}
tr:nth-child(even) {
  background: #f4f2eb;
}

/* UTILITIES */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.gap-12 { gap: 12px !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }

/* Accessibility: Hide skip-link visually */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -99;
}
.skip-link:focus {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  overflow: auto;
  z-index: 2000;
  background: #E2C044;
  color: #253821;
  padding: 8px 18px;
  border-radius: 13px;
}

/* Hide elements visually, keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/*--- END ---*/
