/* ============================================
   TracedTable — Styles
   Farm-to-consumer meat & produce delivery
   Minneapolis-St. Paul, Minnesota

   Color palette matched to logo:
   Rustic watercolor farm scene — red barn,
   rolling hills, cattle, sunset, trees.
   ============================================ */

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

/* --- Custom Properties --- */
:root {
  /* Logo-matched palette */
  --brown-dark: #3B2F2F;       /* "Traced" text, primary headers */
  --brown-warm: #5C4033;       /* Secondary brown */
  --brown-light: #D4B896;      /* Cream/gold — logo border, accents */
  --green-dark: #2D5016;       /* Deep green */
  --green-forest: #4A7C2E;     /* "Table" text — primary green */
  --green-light: #7BAE4E;      /* Light sage accent */
  --cream: #FAF3E0;            /* Main background */
  --cream-dark: #E8DFD0;       /* Alternating section bg */
  --cream-mid: #E8DFD0;        /* Mid cream (alias) */
  --accent-red: #8B3A2F;       /* Barn red — CTAs, highlights */
  --accent-red-hover: #6E2E25; /* Darker barn red for hover */
  --accent-orange: #E8854A;    /* Sunset orange, subtle accents */
  --white: #FFFFFF;
  --black: #1A1A1A;
  --gray-700: #3D3D3D;
  --gray-500: #6B6B6B;
  --gray-300: #B0B0B0;
  --gray-100: #E8E8E8;
  --text-dark: #2C2C2C;
  --text-light: #6B6B6B;

  /* Typography — premium font pairing */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --container-max: 1200px;
  --container-narrow: 900px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(59, 47, 47, 0.06);
  --shadow-md: 0 4px 20px rgba(59, 47, 47, 0.08);
  --shadow-lg: 0 8px 40px rgba(59, 47, 47, 0.12);
  --shadow-hover: 0 12px 36px rgba(59, 47, 47, 0.16);

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-red);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brown-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

small, .text-sm { font-size: 0.875rem; }

p {
  margin-bottom: 1rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Section Spacing --- */
section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green-forest);
  margin-bottom: 12px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  background: var(--accent-red);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

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

/* ============================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================ */

/* Fade-in-up on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children animation */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }

.fade-in-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle hero gradient animation */
@keyframes heroGradientShift {
  0%   { filter: hue-rotate(0deg) saturate(1); }
  25%  { filter: hue-rotate(3deg) saturate(1.05); }
  50%  { filter: hue-rotate(0deg) saturate(1.02); }
  75%  { filter: hue-rotate(-3deg) saturate(1.05); }
  100% { filter: hue-rotate(0deg) saturate(1); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brown-light);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(59, 47, 47, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo — image version with text fallback */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brown-dark);
  letter-spacing: -0.5px;
  transition: opacity var(--transition);
}

.navbar__logo:hover {
  opacity: 0.85;
}

.navbar__logo img,
.navbar__logo-img {
  height: 45px;
  width: auto;
  margin-right: 4px;
}

.navbar__logo-text {
  color: var(--brown-dark);
}

.navbar__logo-text span {
  color: var(--green-forest);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-forest);
  transition: width var(--transition);
}

.navbar__links a:hover {
  color: var(--green-forest);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__links .btn--nav {
  padding: 10px 22px;
  background: var(--accent-red);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

.navbar__links .btn--nav::after {
  display: none;
}

.navbar__links .btn--nav:hover {
  background: var(--accent-red-hover);
  color: var(--white);
}

/* Mobile hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn--primary {
  background: var(--accent-red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-red-hover);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(139, 58, 47, 0.35);
}

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

.btn--secondary:hover {
  background: var(--green-forest);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
}

.btn--white {
  background: var(--white);
  color: var(--accent-red);
}

.btn--white:hover {
  background: var(--cream);
  color: var(--accent-red-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   — Evokes the logo's farm landscape:
     sky blue top → green rolling hills →
     golden/amber sunset at bottom
   ============================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      175deg,
      #8FBCD8 0%,
      #A8CCE0 8%,
      #C2DCEB 14%,
      #D4E6CF 22%,
      #7BAE4E 32%,
      #4A7C2E 42%,
      #2D5016 50%,
      #4A7C2E 56%,
      #7BAE4E 62%,
      #B8C96A 68%,
      #D4B896 74%,
      #E8854A 82%,
      #C87A40 88%,
      #8B3A2F 94%,
      #3B2F2F 100%
    );
  animation: heroGradientShift 15s ease-in-out infinite;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 85%, rgba(232, 133, 74, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 25%, rgba(143, 188, 216, 0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 55%, rgba(74, 124, 46, 0.25) 0%, transparent 45%);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.2) 70%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 560px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Page Hero (smaller, for inner pages) */
.hero--page {
  min-height: 50vh;
  padding-top: 72px;
}

.hero--page h1 {
  font-size: 3rem;
}

.hero--page p {
  font-size: 1.15rem;
}

/* ============================================
   TRUST CARDS
   ============================================ */
.trust {
  background: var(--white);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -100px;
}

.trust__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  border: 1px solid var(--brown-light);
}

.trust__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-orange);
}

.trust__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.trust__card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.trust__card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step-counter;
}

.step {
  text-align: center;
  position: relative;
  counter-increment: step-counter;
}

.step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--green-forest);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(to right, var(--green-forest), var(--green-light));
  opacity: 0.3;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   FOUNDERS
   ============================================ */
.founders {
  background: var(--white);
}

.founders__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}

.founder-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--brown-light);
}

.founder-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.founder-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.founder-card__body {
  padding: 32px;
}

.founder-card__name {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.founder-card__role {
  font-size: 0.9rem;
  color: var(--green-forest);
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}

.founder-card__bio {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.founder-card__bio p:last-child {
  margin-bottom: 0;
}

.founders__link {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   FARMERS (with placeholder state)
   ============================================ */
.farmers {
  background: var(--cream-dark);
}

.farmers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.farmer-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
  border: 1px solid var(--brown-light);
}

.farmer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.farmer-card__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.farmer-card__body {
  padding: 24px;
}

.farmer-card__name {
  font-size: 1.125rem;
  margin-bottom: 4px;
}

.farmer-card__farm {
  font-size: 0.85rem;
  color: var(--green-forest);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.farmer-card__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Placeholder farmer cards */
.farmer-card--placeholder {
  position: relative;
}

.farmer-card--placeholder .farmer-card__image-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: linear-gradient(
    135deg,
    var(--cream-mid) 0%,
    var(--cream-dark) 50%,
    var(--cream-mid) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.farmer-card--placeholder .farmer-card__image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(212, 184, 150, 0.08) 10px,
    rgba(212, 184, 150, 0.08) 20px
  );
}

.farmer-card__placeholder-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.farmer-card__coming-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent-orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 50px;
}

.farmer-card--placeholder .farmer-card__name,
.farmer-card--placeholder .farmer-card__farm,
.farmer-card--placeholder .farmer-card__desc {
  background: var(--cream-mid);
  color: transparent;
  border-radius: 4px;
  user-select: none;
}

.farmer-card--placeholder .farmer-card__name {
  width: 60%;
  height: 20px;
  margin-bottom: 10px;
}

.farmer-card--placeholder .farmer-card__farm {
  width: 75%;
  height: 14px;
  margin-bottom: 16px;
}

.farmer-card--placeholder .farmer-card__desc {
  width: 100%;
  height: 48px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--white);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  border: 1px solid var(--brown-light);
}

.testimonial-card__quote {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding-top: 20px;
}

.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 0;
  font-size: 4rem;
  color: var(--green-forest);
  opacity: 0.25;
  font-style: normal;
  line-height: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-300);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-dark);
}

.testimonial-card__location {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.testimonial-card__placeholder-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-300);
  background: var(--cream-dark);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--accent-red) 50%, var(--accent-orange) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 60%);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__logo img,
.footer__logo .navbar__logo-img {
  height: 40px;
  width: auto;
}

.footer__logo span {
  color: var(--green-light);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(250, 243, 224, 0.7);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(250, 243, 224, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 243, 224, 0.7);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  color: rgba(250, 243, 224, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(250, 243, 224, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(250, 243, 224, 0.5);
}

.footer__bottom a {
  color: rgba(250, 243, 224, 0.5);
}

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

/* ============================================
   OUR STORY PAGE
   ============================================ */
.story-section {
  background: var(--white);
}

.story__content {
  max-width: 760px;
  margin: 0 auto;
}

.story__content p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
}

.story__content p:first-child::first-letter {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green-forest);
  float: left;
  line-height: 0.85;
  margin-right: 8px;
  margin-top: 6px;
}

.story__highlight {
  background: var(--cream);
  border-left: 4px solid var(--green-forest);
  padding: 24px 32px;
  margin: 36px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.05rem;
  color: var(--brown-dark);
  font-weight: 500;
}

/* Founders detail cards on Our Story page */
.founders-detail {
  background: var(--cream);
}

.founders-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.founder-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--brown-light);
}

.founder-detail-card__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.founder-detail-card__body {
  padding: 36px;
}

.founder-detail-card__name {
  font-size: 1.75rem;
  margin-bottom: 4px;
}

.founder-detail-card__role {
  font-size: 0.9rem;
  color: var(--green-forest);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}

.founder-detail-card__bio {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.founder-detail-card__bio p:last-child {
  margin-bottom: 0;
}

.founder-detail-card__credentials {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.founder-detail-card__credentials li {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding: 4px 0 4px 20px;
  position: relative;
}

.founder-detail-card__credentials li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green-forest);
  font-weight: 700;
}

/* Values section */
.values {
  background: var(--white);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 32px 20px;
}

.value-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE — Tablet (768px)
   ============================================ */
@media (max-width: 1024px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .hero__content h1 { font-size: 3.25rem; }
  .hero--page h1 { font-size: 2.5rem; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

@media (max-width: 768px) {
  html { font-size: 15px; }

  section { padding: 60px 0; }

  .container { padding: 0 20px; }

  /* Logo: image only on mobile, hide text */
  .navbar__logo-img {
    height: 36px !important;
  }

  .navbar__logo-text {
    display: none;
  }

  /* Nav mobile */
  .navbar__toggle {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .navbar__links.active {
    transform: translateX(0);
  }

  .navbar__links a {
    font-size: 1.1rem;
  }

  /* Hero mobile */
  .hero {
    min-height: 90vh;
  }

  .hero__content h1 {
    font-size: 2.25rem;
  }

  .hero__content p {
    font-size: 1.05rem;
  }

  .hero--page {
    min-height: 45vh;
  }

  .hero--page h1 {
    font-size: 2rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Grids to single column */
  .trust__grid,
  .farmers__grid,
  .testimonials__grid,
  .founders__grid,
  .founders-detail__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trust__grid {
    margin-top: -60px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .story__content p {
    font-size: 1rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .cta-banner,
  .footer__social,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero__bg {
    display: none;
  }

  .hero__content h1 {
    color: #000;
    text-shadow: none;
  }

  .hero__content p {
    color: #333;
    text-shadow: none;
  }

  section {
    padding: 20px 0;
    break-inside: avoid;
  }

  .trust__grid,
  .founders__grid,
  .farmers__grid {
    gap: 16px;
  }

  .trust__card,
  .founder-card,
  .farmer-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ============================================
   ALTERNATING SECTION BACKGROUNDS
   ============================================ */
.bg-white { background-color: var(--white); }
.bg-cream { background-color: var(--cream); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* Selection color */
::selection {
  background-color: rgba(74, 124, 46, 0.15);
  color: var(--brown-dark);
}

/* Smooth focus outlines for accessibility */
:focus-visible {
  outline: 2px solid var(--green-forest);
  outline-offset: 2px;
}
