
  :root {
    --primary-color: #1f3a34;     /* deep forest tea green */
    --primary-dark: #142521;
    --accent-color: #b8733a;      /* warm oolong amber */
    --text-color: #2b2a26;
    --text-muted: #65635c;
    --bg-color: #faf7f1;          /* warm paper */
    --bg-alt: #f0ebde;             /* soft linen */
    --bg-dark: #1f3a34;
    --border-color: #e2dcc9;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
    --max-width: 1200px;
    --radius: 2px;
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
  }

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

  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--primary-dark);
    margin: 0 0 0.6em;
    letter-spacing: -0.01em;
  }
  h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
  h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
  h3 { font-size: 1.25rem; }

  p { margin: 0 0 1em; }
  a { color: var(--accent-color); text-decoration: none; }
  a:hover { text-decoration: underline; }

  .container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
  }

  .eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
  }

  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.95rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
  }
  .btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
  }
  .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    text-decoration: none;
  }
  .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
  }
  .btn-ghost-light {
    background: transparent;
    color: var(--bg-color);
    border-color: rgba(250, 247, 241, 0.5);
  }
  .btn-ghost-light:hover {
    background: var(--bg-color);
    color: var(--primary-color);
    text-decoration: none;
  }

  /* ===== Navigation ===== */
  .site-nav {
    position: sticky;
    top: 0;
    background: rgba(250, 247, 241, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
  }
  .nav-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
  }
  .nav-brand:hover { text-decoration: none; }
  .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  .nav-links a {
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 500;
  }
  .nav-links a:hover { color: var(--accent-color); text-decoration: none; }
  .nav-links .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .nav-toggle { display: none; }
  .hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    margin: 5px 0;
    transition: all 0.3s;
  }

  @media (max-width: 820px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--bg-color);
      flex-direction: column;
      padding: 1.5rem;
      gap: 1.25rem;
      border-bottom: 1px solid var(--border-color);
    }
    .nav-toggle:checked ~ .nav-links { display: flex; }
    .hamburger { display: block; }
  }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: var(--bg-color);
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(20, 37, 33, 0.55), rgba(20, 37, 33, 0.7)),
      url('https://images.unsplash.com/photo-1683858222142-e5596d680fe3?w=1600&h=900&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -2;
  }
  .hero .container { position: relative; z-index: 1; padding-top: 5rem; padding-bottom: 5rem; }
  .hero h1 { color: var(--bg-color); max-width: 18ch; }
  .hero-sub {
    font-size: 1.2rem;
    max-width: 48ch;
    opacity: 0.92;
    margin-bottom: 2rem;
  }
  .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
  .hero .eyebrow { color: #e9c89a; }

  /* ===== Generic section ===== */
  section.block { padding: 5.5rem 0; }
  section.block.alt { background: var(--bg-alt); }
  section.block.dark {
    background: var(--bg-dark);
    color: var(--bg-color);
  }
  section.block.dark h2 { color: var(--bg-color); }
  section.block.dark p { color: rgba(250, 247, 241, 0.85); }

  .section-intro {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
  }
  .section-intro p { color: var(--text-muted); font-size: 1.05rem; }
  section.block.dark .section-intro p { color: rgba(250, 247, 241, 0.8); }

  /* ===== Origin (two-column) ===== */
  .origin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  .origin-grid img {
    border-radius: var(--radius);
    aspect-ratio: 4/5;
    object-fit: cover;
  }
  .origin-text p { color: var(--text-muted); font-size: 1.05rem; }
  @media (max-width: 820px) {
    .origin-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  }

  /* ===== Product cards ===== */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .product-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .product-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
  }
  .product-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .product-card h3 { margin-bottom: 0.5rem; }
  .product-card p { color: var(--text-muted); flex: 1; font-size: 0.95rem; }
  .product-card .price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 0.75rem 0 1.25rem;
  }
  .product-card .price span { color: var(--text-muted); font-size: 0.85rem; }
  @media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

  /* ===== Grower story ===== */
  .grower-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .grower-grid img {
    border-radius: var(--radius);
    aspect-ratio: 3/2;
    object-fit: cover;
  }
  .grower-quote {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--primary-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
  }
  .grower-attrib {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }
  @media (max-width: 820px) {
    .grower-grid { grid-template-columns: 1fr; gap: 2rem; }
  }

  /* ===== How subscription works ===== */
  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .step {
    text-align: left;
  }
  .step-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.75rem;
    border-top: 2px solid var(--accent-color);
    padding-top: 0.75rem;
    width: 2.5rem;
  }
  .step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
  .step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
  @media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

  /* ===== Wholesale ===== */
  .wholesale {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }
  .wholesale-img {
    background-image: url('https://images.unsplash.com/photo-1587834323138-befbf2c33797?w=1000&h=1200&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 400px;
  }
  .wholesale-text {
    padding: 4rem 3rem;
    background: var(--bg-dark);
    color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .wholesale-text h2 { color: var(--bg-color); }
  .wholesale-text p { color: rgba(250, 247, 241, 0.85); max-width: 42ch; }
  .wholesale-text .eyebrow { color: #e9c89a; }
  .wholesale-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
  }
  .wholesale-text li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(250, 247, 241, 0.15);
    font-size: 0.95rem;
    color: rgba(250, 247, 241, 0.9);
  }
  .wholesale-text li::before {
    content: "—";
    margin-right: 0.75rem;
    color: var(--accent-color);
  }
  @media (max-width: 820px) {
    .wholesale { grid-template-columns: 1fr; }
    .wholesale-text { padding: 3rem 1.5rem; }
  }

  /* ===== FAQ ===== */
  .faq-list {
    max-width: 760px;
    margin: 0 auto;
  }
  .faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
  }
  .faq-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-dark);
  }
  .faq-item p { margin: 0; color: var(--text-muted); }

  /* ===== Contact ===== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
  .contact-text p { color: var(--text-muted); }
  .ep-placeholder {
    background: var(--bg-color);
    border: 1.5px dashed var(--border-color);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-radius: var(--radius);
  }
  @media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

  /* ===== Footer ===== */
  .site-footer {
    background: var(--primary-dark);
    color: rgba(250, 247, 241, 0.75);
    padding: 3.5rem 0 2rem;
    font-size: 0.9rem;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .footer-inner h4 {
    color: var(--bg-color);
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  .footer-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-inner li { margin-bottom: 0.6rem; }
  .footer-inner a { color: rgba(250, 247, 241, 0.75); }
  .footer-inner a:hover { color: var(--bg-color); text-decoration: none; }
  .footer-brand {
    font-family: var(--font-heading);
    color: var(--bg-color);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
  }
  .footer-copy {
    border-top: 1px solid rgba(250, 247, 241, 0.12);
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(250, 247, 241, 0.5);
  }
  @media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  }


/* ========================================
   PAGE TEMPLATE STYLES
   ======================================== */

.template-page .content-section {
    padding: 4rem 0;
}

.template-page .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.template-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.template-page .page-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.template-page .page-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1rem;
}

.template-page .page-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
}

.template-page .page-content p {
    margin-bottom: 1.25rem;
}

.template-page .page-content a {
    text-decoration: none;
}

.template-page .page-content a:hover {
    text-decoration: underline;
}

.template-error .content-section {
    padding: 6rem 0;
    text-align: center;
}

/* Contact form on pages */
.ep-contact-form-wrapper {
    max-width: 600px;
    margin: 2rem auto;
}

.ep-contact-form input[type="text"],
.ep-contact-form input[type="email"],
.ep-contact-form textarea {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.ep-contact-form input:focus,
.ep-contact-form textarea:focus {
    outline: none;
}

.ep-contact-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.ep-contact-form .form-field {
    margin-bottom: 1.5rem;
}

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

.ep-contact-form button,
.ep-contact-form input[type="submit"] {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

/* Container padding (prevents content running to browser edge) */
.container, .section-inner, [class*="-inner"] {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}
section, [class*="section"] {
    overflow-x: hidden;
}

.site-footer {
    position: relative;
    z-index: 1;
}

/* Structural button fallbacks (colour comes from the brand CSS, never from here).
   If the brand CSS uses class names the converter renamed, the button will be
   clickable but uncoloured, which is a visible signal something needs fixing
   rather than a misleading hardcoded blue. */
.button, a.button,
a.btn-primary, a.btn-secondary, a.btn-dark, a.btn-outline, a.btn-light {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    line-height: 1.4;
}

a.read-more, .read-more {
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: opacity 0.2s;
}
.read-more:hover { opacity: 0.7; }

a[class*="hero-btn"] {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

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

/* Button class alias shim — converter renamed .btn-primary → .button, .btn-secondary → .button.action, .btn-ghost-light → .button.ghost-light. */
.button {
    display: inline-block;
    padding: 0.95rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    background: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--primary-color);
}
.button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.button.action { background: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.button.action:hover { background: var(--primary-color); color: var(--bg-color); }
.button.ghost-light { background: transparent; color: var(--bg-color); border-color: rgba(250, 247, 241, 0.5); }
.button.ghost-light:hover { background: var(--bg-color); color: var(--primary-color); }
