/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-brown: #3e2c21;
  --primary-green: #6f8556;
  --dark-green: #4c633c;
  --light-cream: #fffaf2;
  --medium-cream: #f5ead7;
  --border-cream: #eadfce;
  --light-green-bg: #eef2e7;
  --gold: #d8b979;
  --text-dark: #3e2c21;
  --text-medium: #6f665e;
  --text-light: #4f463f;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--light-cream);
}

/* Layout utilities */
.max-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-content-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-py {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-py {
    padding: 3rem 0;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-cream);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-green);
  color: white;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

.logo-text p {
  font-size: 12px;
  color: #a7663f;
  line-height: 1.2;
  margin: 0;
}

nav {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.2s;
}

nav a:hover {
  background: var(--medium-cream);
  color: var(--text-dark);
}

nav a.active {
  background: var(--light-green-bg);
  color: var(--dark-green);
}

.mobile-menu-btn {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-cream);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-green);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--dark-green);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--gold);
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #c9a868;
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-cream);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--medium-cream);
  border-color: var(--gold);
}

.btn-outline-white {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Forms */
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-cream);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s;
  background: white;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-message {
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 1rem;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  overflow: hidden;
  background: var(--primary-brown);
  color: white;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 5rem 0;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(44px, 8vw, 78px);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

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

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
}

/* Cards */
.heritage-card {
  background: white;
  border: 1px solid var(--border-cream);
  border-radius: 12px;
  transition: all 0.3s;
}

.heritage-card:hover {
  box-shadow: 0 4px 12px rgba(62, 44, 33, 0.1);
}

/* Section titles */
.section-title {
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-medium);
  margin-top: 0.5rem;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product cards */
.product-card {
  background: white;
  border: 1px solid var(--border-cream);
  border-radius: 12px;
  overflow: hidden;
}

.product-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--medium-cream);
  border-radius: 8px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-coming-soon {
  background: var(--light-green-bg);
  color: var(--dark-green);
}

.badge-weight {
  background: var(--medium-cream);
  color: var(--text-medium);
  font-weight: 500;
}

/* Footer */
footer {
  background: var(--primary-brown);
  color: white;
}

.footer-content {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1.2fr 0.9fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--primary-brown);
  border-radius: 8px;
}

footer h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

/* Utility classes */
.pt-20 {
  padding-top: 80px;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

.text-center { text-align: center; }
.flex { display: flex; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

/* Additional utility classes for existing pages */
.fixed { position: fixed; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.border-b { border-bottom-width: 1px; }
.border-\[#eadfce\] { border-color: #eadfce; }
.bg-\[#fffaf2\]\/95 { background-color: rgba(255, 250, 242, 0.95); }
.backdrop-blur { backdrop-filter: blur(10px); }
.min-h-20 { min-height: 80px; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.min-w-0 { min-width: 0; }
.items-center { align-items: center; }
.gap-3 { gap: 0.75rem; }
.h-10 { height: 40px; }
.w-10 { width: 40px; }
.shrink-0 { flex-shrink: 0; }
.rounded-\[8px\] { border-radius: 8px; }
.bg-\[#6f8556\] { background-color: #6f8556; }
.text-white { color: white; }
.block { display: block; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-heading { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }
.text-\[15px\] { font-size: 15px; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.text-\[#3e2c21\] { color: #3e2c21; }
.text-\[17px\] { font-size: 17px; }
.hidden { display: none; }
.text-xs { font-size: 12px; }
.text-\[#a7663f\] { color: #a7663f; }
.gap-1 { gap: 0.25rem; }
.lg\:flex { display: flex; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.text-sm { font-size: 14px; }
.font-medium { font-weight: 500; }
.transition-colors { transition: color 0.2s, background-color 0.2s; }
.text-\[#4f463f\] { color: #4f463f; }
.hover\:bg-\[#f5ead7\]:hover { background-color: #f5ead7; }
.hover\:text-\[#3e2c21\]:hover { color: #3e2c21; }
.bg-\[#eef2e7\] { background-color: #eef2e7; }
.text-\[#4c633c\] { color: #4c633c; }
.ml-2 { margin-left: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.min-h-\[44px\] { min-height: 44px; }
.min-w-\[44px\] { min-width: 44px; }
.border { border-width: 1px; }
.h-6 { height: 24px; }
.w-6 { width: 24px; }
.relative { position: relative; }
.min-h-\[calc\(100vh-80px\)\] { min-height: calc(100vh - 80px); }
.overflow-hidden { overflow: hidden; }
.bg-\[#3e2c21\] { background-color: #3e2c21; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.bg-\[#f5ead7\] { background-color: #f5ead7; }
.max-w-3xl { max-width: 48rem; }
.mb-4 { margin-bottom: 1rem; }
.text-\[42px\] { font-size: 42px; }
.sm\:text-\[62px\] { font-size: 62px; }
.mt-5 { margin-top: 1.25rem; }
.max-w-2xl { max-width: 42rem; }
.text-lg { font-size: 18px; }
.leading-8 { line-height: 2rem; }
.text-\[#6f665e\] { color: #6f665e; }
.grid { display: grid; }
.gap-5 { gap: 1.25rem; }
.md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.aspect-\[4\/3\] { aspect-ratio: 4/3; }
.object-cover { object-fit: cover; }
.h-full { height: 100%; }
.w-full { width: 100%; }
.space-y-4 > * + * { margin-top: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.uppercase { text-transform: uppercase; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.text-xl { font-size: 20px; }
.flex-col { flex-direction: column; }
.sm\:flex-row { flex-direction: row; }
.flex-1 { flex: 1; }
.border-t { border-top-width: 1px; }
.pt-4 { padding-top: 1rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 2px solid #eadfce; border-radius: 8px; font-size: 14px; }
.whitespace-nowrap { white-space: nowrap; }
.disabled\:opacity-60:disabled { opacity: 0.6; }
.items-start { align-items: flex-start; }
.mt-1 { margin-top: 0.25rem; }
.h-4 { height: 16px; }
.w-4 { width: 16px; }
.rounded { border-radius: 4px; }
.border-\[#d8b979\] { border-color: #d8b979; }
.text-\[#6f8556\] { color: #6f8556; }
.gap-8 { gap: 2rem; }
.lg\:grid-cols-\[0\.95fr_1\.05fr\] { grid-template-columns: 0.95fr 1.05fr; }
.lg\:items-center { align-items: center; }
.bg-\[#fffaf2\] { background-color: #fffaf2; }
.text-\[#fffaf2\] { color: #fffaf2; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.gap-10 { gap: 2.5rem; }
.mt-8 { margin-top: 2rem; }
.gap-4 { gap: 1rem; }
.lg\:grid-cols-\[1\.1fr_0\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
.prose-content { max-width: 65ch; line-height: 1.7; }
.prose-content h2 { font-size: 28px; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.prose-content p { margin-bottom: 1rem; }
.h-fit { height: fit-content; }
.p-8 { padding: 2rem; }
.sm\:p-8 { padding: 2rem; }
.divide-y > * + * { border-top-width: 1px; }
.divide-\[#eadfce\] > * + * { border-color: #eadfce; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.sm\:grid-cols-\[130px_1fr\] { grid-template-columns: 130px 1fr; }
.gap-1 { gap: 0.25rem; }
.font-bold { font-weight: 700; }
.text-\[#a7663f\] { color: #a7663f; }
.leading-6 { line-height: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-6 { margin-top: 1.5rem; }
.sm\:grid-cols-\[1fr_1\.2fr_auto\] { grid-template-columns: 1fr 1.2fr auto; }
.sm\:col-span-3 { grid-column: span 3; }
.md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.h-11 { height: 44px; }
.w-11 { width: 44px; }
.text-base { font-size: 16px; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.md\:grid-cols-\[1\.2fr_0\.9fr_1fr\] { grid-template-columns: 1.2fr 0.9fr 1fr; }
.pb-2 { padding-bottom: 0.5rem; }
.font-semibold { font-weight: 600; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.md\:grid-cols-1 { grid-template-columns: 1fr; }
.text-white\/72 { color: rgba(255, 255, 255, 0.72); }
.hover\:text-\[#d8b979\]:hover { color: #d8b979; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.bg-black\/20 { background-color: rgba(0, 0, 0, 0.2); }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.text-white\/52 { color: rgba(255, 255, 255, 0.52); }
.sm\:flex-row { flex-direction: row; }
.sm\:items-center { align-items: center; }
.sm\:justify-between { justify-content: space-between; }
.m-0 { margin: 0; }
.max-w-sm { max-width: 24rem; }
.leading-7 { line-height: 1.75rem; }
.text-white\/58 { color: rgba(255, 255, 255, 0.58); }

@media (min-width: 640px) {
  .sm\:text-\[17px\] { font-size: 17px; }
  .sm\:block { display: block; }
  .sm\:text-\[62px\] { font-size: 62px; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:grid-cols-\[130px_1fr\] { grid-template-columns: 130px 1fr; }
  .sm\:grid-cols-\[1fr_1\.2fr_auto\] { grid-template-columns: 1fr 1.2fr auto; }
  .sm\:col-span-3 { grid-column: span 3; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-\[1\.2fr_0\.9fr_1fr\] { grid-template-columns: 1.2fr 0.9fr 1fr; }
  .md\:grid-cols-1 { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid-cols-\[0\.95fr_1\.05fr\] { grid-template-columns: 0.95fr 1.05fr; }
  .lg\:items-center { align-items: center; }
  .lg\:grid-cols-\[1\.1fr_0\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
}
