/*
Theme Name:  Greylee Farm
Theme URI:   https://greyleefarm.com
Description: Custom theme for Greylee Farm — a local-first lifestyle brand built on story, trust, and real food.
Version:     1.0.0
Author:      Greylee Farm
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greyleefarm
Tags:        custom-theme, farm, minimal
*/

/* =========================================================
   CSS Custom Properties
   ========================================================= */

:root {
  /* Brand Colors */
  --color-primary: #2d4a3e;
  --color-accent:  #c4724e;
  --color-light:   #faf6f1;
  --color-sage:    #8fa88b;
  --color-text:    #2d2d2d;
  --color-muted:   #7a7a7a;
  --color-white:   #ffffff;

  /* Extended palette */
  --color-primary-dark: #1e3329;
  --color-light-dark:   #ede9e1;
  --color-border:       #ddd8cf;

  /* Aliases — used in template inline styles */
  --color-green:          var(--color-primary);
  --color-green-dark:     var(--color-primary-dark);
  --color-cream:          var(--color-light);
  --color-cream-dark:     var(--color-light-dark);
  --color-terracotta:     var(--color-accent);
  --color-charcoal:       var(--color-text);
  --color-charcoal-light: var(--color-muted);

  /* Typography */
  --font-heading: 'DM Serif Display', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container-max: 1140px;
  --container-narrow: 760px;
  --radius: 4px;
  --radius-lg: 8px;
}

/* =========================================================
   Reset & Base
   ========================================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-terracotta);
}

ul, ol {
  padding-left: 1.5em;
}

/* =========================================================
   Typography
   ========================================================= */

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

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  line-height: 1.8;
}

/* =========================================================
   Layout Utilities
   ========================================================= */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section--lg {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.section--cream { background-color: var(--color-cream); }
.section--white { background-color: var(--color-white); }
.section--green { background-color: var(--color-green); color: var(--color-cream); }
.section--green h1,
.section--green h2,
.section--green h3,
.section--green h4 { color: var(--color-cream); }

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

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.75em 1.75em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}

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

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

.btn--outline:hover {
  background-color: var(--color-green);
  color: var(--color-white);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
}

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

.btn--terra {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  border-color: var(--color-terracotta);
}

.btn--terra:hover {
  background-color: #a85c3c;
  border-color: #a85c3c;
  color: var(--color-white);
}

/* =========================================================
   Site Header
   ========================================================= */

.site-header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.09);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.25s ease;
  position: relative;  /* anchor for mobile dropdown */
}

.site-header.is-scrolled .site-header__inner {
  border-bottom-color: transparent;
}

/* Logo */
.site-logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--color-primary);
}

.site-logo__img {
  display: block;
  height: 96px;
  width: auto;
}

.site-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.675rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 500;
  margin-top: 0.1em;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav-primary {
  display: flex;
  align-items: center;
}

.nav-primary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-primary li {
  position: relative;
}

.nav-primary a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 0.4em 0.65em;
  border-radius: var(--radius);
  display: block;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.nav-primary a:hover {
  color: var(--color-primary);
  background-color: var(--color-light);
}

/* Current page indicator */
.nav-primary .current-menu-item > a,
.nav-primary .current-menu-ancestor > a,
.nav-primary .current_page_item > a {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-primary .current-menu-item > a::after,
.nav-primary .current-menu-ancestor > a::after,
.nav-primary .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.65em;
  right: 0.65em;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 99px;
}

/* "Join the List" CTA — terracotta pill */
.nav-primary .menu-cta a {
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.45em 1.1em;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 0.5rem;
}

.nav-primary .menu-cta a:hover {
  background-color: #a85c3c;
  color: var(--color-white);
  background-color: #a85c3c;
}

.nav-primary .menu-cta > a::after {
  display: none;  /* no underline indicator on the button */
}

/* Mobile hamburger toggle */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background-color: var(--color-light);
}

.nav-toggle__icon {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  position: relative;
}

/* Three-bar → X animation */
.nav-toggle__line {
  display: block;
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  background-color: currentColor;
  border-radius: 99px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__line:nth-child(1) { top: 3px; }
.nav-toggle__line:nth-child(2) { top: 50%; margin-top: -1px; }
.nav-toggle__line:nth-child(3) { bottom: 3px; top: auto; }

.nav-toggle.is-open .nav-toggle__line:nth-child(1) {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle__line:nth-child(3) {
  top: 50%;
  bottom: auto;
  margin-top: -1px;
  transform: rotate(-45deg);
}

/* =========================================================
   Site Footer
   ========================================================= */

.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-light);
}

.site-footer__body {
  padding: var(--space-xl) 0;
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.3fr;
  gap: var(--space-xl);
}

/* Col 1: Brand */
.footer-brand .site-logo {
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand .site-logo span {
  color: var(--color-sage);
}

.footer-brand__tagline {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(250, 246, 241, 0.82);
  line-height: 1.55;
  margin-bottom: var(--space-sm);
  max-width: 28ch;
}

.footer-brand__desc {
  font-size: 0.875rem;
  color: rgba(250, 246, 241, 0.5);
  line-height: 1.65;
  max-width: 30ch;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background: rgba(250, 246, 241, 0.07);
  border: 1px solid rgba(250, 246, 241, 0.13);
  color: rgba(250, 246, 241, 0.6);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social__link:hover {
  background: rgba(250, 246, 241, 0.15);
  color: var(--color-white);
}

.footer-social__link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  display: block;
}

/* Col 2: Links */
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.875rem;
}

.footer-links__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links__list a {
  font-size: 0.9rem;
  color: rgba(250, 246, 241, 0.68);
  text-decoration: none;
  padding: 0.15em 0;
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-links__list a:hover {
  color: var(--color-white);
}

.footer-links__list .current-menu-item > a,
.footer-links__list .current_page_item > a {
  color: var(--color-white);
  font-weight: 500;
}

/* Col 3: Email signup */
.footer-signup__desc {
  font-size: 0.875rem;
  color: rgba(250, 246, 241, 0.6);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-form input {
  width: 100%;
  padding: 0.625em 0.875em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-white);
  background: rgba(250, 246, 241, 0.07);
  border: 1px solid rgba(250, 246, 241, 0.16);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.footer-form input::placeholder {
  color: rgba(250, 246, 241, 0.35);
}

.footer-form input:focus {
  outline: none;
  background: rgba(250, 246, 241, 0.11);
  border-color: rgba(250, 246, 241, 0.38);
}

.footer-form .btn--footer-join {
  display: block;
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 0.6em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-form .btn--footer-join:hover {
  background-color: #a85c3c;
  border-color: #a85c3c;
}

/* Bottom bar */
.site-footer__bottom {
  border-top: 1px solid rgba(250, 246, 241, 0.1);
  padding: var(--space-md) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(250, 246, 241, 0.38);
  gap: var(--space-md);
}

.site-footer__bottom a {
  color: rgba(250, 246, 241, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__bottom a:hover {
  color: rgba(250, 246, 241, 0.8);
}

/* =========================================================
   Page Hero
   ========================================================= */

.page-hero {
  background-color: var(--color-green);
  color: var(--color-cream);
  padding: var(--space-xl) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.page-hero .lead {
  color: rgba(247, 244, 239, 0.85);
  max-width: 56ch;
  margin: 0 auto;
}

/* =========================================================
   Entry / Post Content
   ========================================================= */

.entry-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.25em;
}

.entry-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-md) 0;
}

.entry-content figure {
  margin: var(--space-lg) 0;
}

.entry-content figcaption {
  font-size: 0.875rem;
  color: var(--color-charcoal-light);
  margin-top: 0.5em;
  text-align: center;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-sage);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--color-charcoal-light);
}

/* =========================================================
   Post Cards
   ========================================================= */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.post-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.post-card__thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card__thumb--placeholder {
  width: 100%;
  height: 220px;
  background-color: var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sage);
  font-size: 2rem;
}

.post-card__body {
  padding: var(--space-md);
}

.post-card__meta {
  font-size: 0.8125rem;
  color: var(--color-charcoal-light);
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5em;
}

.post-card__title a {
  color: var(--color-green-dark);
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--color-terracotta);
}

.post-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-charcoal-light);
  line-height: 1.6;
}

/* =========================================================
   Pagination
   ========================================================= */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xl) 0;
}

.pagination a,
.pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.pagination a {
  color: var(--color-green);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.pagination a:hover {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}

.pagination .current {
  background: var(--color-green);
  color: var(--color-white);
  border: 1px solid var(--color-green);
}

/* =========================================================
   Forms
   ========================================================= */

.form-field {
  margin-bottom: var(--space-sm);
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35em;
  color: var(--color-charcoal);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.65em 0.9em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
}

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

/* =========================================================
   Farm Goods: Availability Badge
   ========================================================= */

.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 99px;
}

.avail-badge::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avail-badge--in-stock {
  background-color: #eaf5ee;
  color: #1d6630;
  border: 1px solid #b3dfc0;
}
.avail-badge--in-stock::before  { background-color: #2d8a47; }

.avail-badge--limited {
  background-color: #fef9ec;
  color: #92640a;
  border: 1px solid #f0d78c;
}
.avail-badge--limited::before   { background-color: #e0a020; }

.avail-badge--sold-out {
  background-color: #fdf0ef;
  color: #a82a1f;
  border: 1px solid #f5c2be;
}
.avail-badge--sold-out::before  { background-color: #c0392b; }

.avail-badge--coming-soon {
  background-color: #f0f5f2;
  color: var(--color-primary);
  border: 1px solid #c5d9cf;
}
.avail-badge--coming-soon::before { background-color: var(--color-sage); }

/* =========================================================
   Farm Goods: Product Block (Available Now)
   ========================================================= */

.product-block {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: start;
}

.product-block + .product-block {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.product-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-light-dark);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-sage);
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.product-block__details {
  padding-top: var(--space-xs);
}

.product-block__name {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-block__price {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.product-block__desc {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.product-block__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.product-block__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.product-block__meta-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.product-block__meta-text {
  color: var(--color-text);
  line-height: 1.5;
}

.product-block__meta-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 0.15em;
}

.product-block__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* =========================================================
   Farm Goods: Coming Soon Cards
   ========================================================= */

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.coming-soon-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.coming-soon-card--placeholder {
  opacity: 0.6;
}

.coming-soon-card__image {
  aspect-ratio: 3 / 2;
  background-color: var(--color-light-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--color-sage);
  position: relative;
}

.coming-soon-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.coming-soon-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.coming-soon-card__name {
  font-size: 1.25rem;
  margin: 0;
}

.coming-soon-card__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
}

.coming-soon-card__action {
  margin-top: var(--space-sm);
}

/* =========================================================
   Farm Goods: Bottom CTA Banner
   ========================================================= */

.goods-cta-banner {
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.goods-cta-banner h3 {
  color: var(--color-light);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.goods-cta-banner p {
  color: rgba(250, 246, 241, 0.82);
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

/* Responsive — Farm Goods */
@media (max-width: 900px) {
  .product-block {
    grid-template-columns: 1fr;
  }

  .coming-soon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .coming-soon-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-block__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .product-block__cta .btn {
    text-align: center;
    justify-content: center;
  }
}

/* =========================================================
   Home: Hero
   ========================================================= */

.home-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--color-primary);
  background-size: cover;
  background-position: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 38, 30, 0.68);
}

.home-hero__content {
  position: relative;
  text-align: center;
  width: 100%;
  padding: var(--space-2xl) 0;
}

.home-hero__title {
  color: var(--color-white);
  max-width: 16ch;
  margin: 0 auto var(--space-sm);
}

.home-hero__sub {
  font-size: 1.1rem;
  color: rgba(250, 246, 241, 0.88);
  max-width: 52ch;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.home-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Home: Offer Cards
   ========================================================= */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.offer-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.offer-card__image {
  width: 100%;
  height: 200px;
  background-color: var(--color-light-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-sage);
}

.offer-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.offer-card__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.85em;
  border-radius: 99px;
  align-self: flex-start;
}

.badge--available  { background-color: var(--color-primary); color: var(--color-white); }
.badge--coming-soon { background-color: var(--color-sage); color: var(--color-white); }
.badge--stay-tuned {
  background-color: var(--color-light-dark);
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}

/* =========================================================
   Home: Farm Bulletin
   ========================================================= */

.farm-bulletin {
  max-width: 720px;
  margin: 0 auto;
}

.farm-bulletin__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.farm-bulletin__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border-left: 4px solid var(--color-accent);
}

.farm-bulletin__icon {
  font-size: 1.35rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.farm-bulletin__text {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

.farm-bulletin__text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.15em;
  color: var(--color-primary);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =========================================================
   Home: How It Works — Steps
   ========================================================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 860px;
  margin: 0 auto;
  counter-reset: steps;
}

/* connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(50% / 3);
  right: calc(50% / 3);
  height: 2px;
  background: var(--color-border);
  pointer-events: none;
}

.steps-wrap {
  position: relative;
}

.step {
  text-align: center;
}

.step__icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--color-light);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  position: relative;
}

.step__icon-wrap svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step__number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step__title {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* =========================================================
   Home: Meet the Farm — Split layout
   ========================================================= */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.split-layout__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-light-dark);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.split-layout__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.split-layout__text h2 { margin-bottom: var(--space-sm); }
.split-layout__text .lead { margin-bottom: var(--space-md); }
.split-layout__text p { color: var(--color-muted); margin-bottom: var(--space-md); }

/* =========================================================
   Home: Join the List — Form section
   ========================================================= */

.join-section {
  background-color: var(--color-accent);
}

.join-section h2 { color: var(--color-white); }

.join-section .section-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
}

.join-form {
  max-width: 460px;
  margin: 0 auto;
}

.join-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.join-form input[type="text"],
.join-form input[type="email"] {
  width: 100%;
  padding: 0.75em 1em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.join-form input::placeholder { color: #aaa; }

.join-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.2);
}

.join-form .btn--submit {
  display: block;
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  padding: 0.875em 1.75em;
  font-size: 1rem;
  text-align: center;
}

.join-form .btn--submit:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.join-form__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-top: 0.75rem;
}

/* =========================================================
   Journal: Archive grid
   ========================================================= */

.journal-hero {
  background-color: var(--color-primary-dark);
  padding: var(--space-xl) 0;
}

.journal-hero h1 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.journal-hero .lead {
  color: rgba(250, 246, 241, 0.78);
  margin: 0;
}

/* Category filter pill bar */
.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-md);
}

.journal-filter {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3em 1em;
  border-radius: 99px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(250, 246, 241, 0.78);
  letter-spacing: 0.04em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.journal-filter:hover,
.journal-filter.is-active {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* First post — spans full width, hero treatment */
.journal-card--featured {
  grid-column: 1 / -1;
}

.journal-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.09);
}

.journal-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  background-color: var(--color-light-dark);
  background-size: cover;
  background-position: center;
}

/* Standard card: 16/9 image */
.journal-card__image {
  aspect-ratio: 16 / 9;
}

/* Featured (full-width) card: wider ratio */
.journal-card--featured .journal-card__image {
  aspect-ratio: 21 / 9;
}

.journal-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.journal-card:hover .journal-card__image img {
  transform: scale(1.03);
}

.journal-card__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--color-sage);
}

.journal-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.journal-card--featured .journal-card__body {
  padding: var(--space-lg);
}

.journal-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.journal-card__cat {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

.journal-card__cat:hover {
  color: var(--color-primary);
}

.journal-card__dot {
  color: var(--color-border);
}

.journal-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.6rem;
  color: var(--color-primary-dark);
}

.journal-card__title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.journal-card__title a:hover {
  color: var(--color-accent);
}

/* Standard card title */
.journal-card__title { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }

/* Featured card title */
.journal-card--featured .journal-card__title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.journal-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-sm);
}

.journal-card__read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  transition: gap 0.2s, color 0.2s;
  align-self: flex-start;
}

.journal-card__read-more:hover {
  color: var(--color-accent);
  gap: 0.55em;
}

/* =========================================================
   Journal: Single post
   ========================================================= */

.single-post-header {
  background-color: var(--color-primary-dark);
  padding: var(--space-lg) 0 var(--space-xl);
}

.single-post-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(250, 246, 241, 0.6);
  text-decoration: none;
  margin-bottom: var(--space-md);
  transition: color 0.2s;
}

.single-post-header__back:hover {
  color: var(--color-white);
}

.single-post-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: var(--space-sm);
}

.single-post-header__cat {
  color: var(--color-sage);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.single-post-header__cat:hover {
  color: var(--color-white);
}

.single-post-header__sep {
  color: rgba(250, 246, 241, 0.3);
}

.single-post-header__date,
.single-post-header__read-time {
  color: rgba(250, 246, 241, 0.6);
}

.single-post-header h1 {
  color: var(--color-white);
  max-width: 22ch;
  line-height: 1.15;
}

/* Featured image — full bleed below header */
.single-post-image {
  max-height: 540px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-light-dark);
}

.single-post-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
}

.single-post-image-placeholder {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background-color: var(--color-light-dark);
  color: var(--color-sage);
}

/* Post body */
.single-post-body {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.single-post-body .entry-content {
  max-width: 100%;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text);
}

.single-post-body .entry-content > p:first-child {
  font-size: 1.175rem;
  color: var(--color-text);
  line-height: 1.8;
}

.single-post-body .entry-content h2 {
  font-size: 1.55rem;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.single-post-body .entry-content h3 {
  font-size: 1.25rem;
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

.single-post-body .entry-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
}

/* Wide images break out of the column */
.single-post-body .entry-content .alignwide {
  width: calc(100% + var(--space-xl));
  margin-left: calc(var(--space-xl) / -2);
  margin-right: calc(var(--space-xl) / -2);
  max-width: none;
  border-radius: var(--radius-lg);
}

.single-post-body .entry-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0;
  background: var(--color-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.single-post-body .entry-content blockquote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-primary);
  margin: 0;
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.post-tags__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

.post-tag {
  font-size: 0.8125rem;
  background: var(--color-light-dark);
  color: var(--color-muted);
  padding: 0.25em 0.8em;
  border-radius: 99px;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: background-color 0.2s, color 0.2s;
}

.post-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Author / farm note */
.post-author-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  margin-top: var(--space-xl);
}

.post-author-note__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-light-dark);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}

.post-author-note__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.post-author-note__name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.2em;
}

.post-author-note__bio {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}

.post-author-note__bio a {
  color: var(--color-accent);
  font-weight: 600;
}

/* Prev/Next navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.post-nav__item--next {
  text-align: right;
  align-items: flex-end;
}

.post-nav__direction {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

.post-nav__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.post-nav__title:hover {
  color: var(--color-accent);
}

/* Back to Journal link (below post nav) */
.back-to-journal {
  display: flex;
  justify-content: center;
  padding: var(--space-lg) 0;
}

.back-to-journal a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: color 0.2s;
}

.back-to-journal a:hover {
  color: var(--color-primary);
}

/* Responsive — Journal */
@media (max-width: 720px) {
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .journal-card--featured {
    grid-column: 1;
  }

  .journal-card--featured .journal-card__image {
    aspect-ratio: 16 / 9;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav__item--next {
    text-align: left;
    align-items: flex-start;
  }

  .single-post-image img {
    height: 280px;
  }
}

/* =========================================================
   Our Story: Hero
   ========================================================= */

.story-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--color-primary-dark);
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.story-hero__overlay {
  position: absolute;
  inset: 0;
  /* gradient darkens bottom so headline reads clearly */
  background: linear-gradient(
    to bottom,
    rgba(20, 35, 28, 0.28) 0%,
    rgba(20, 35, 28, 0.72) 65%,
    rgba(20, 35, 28, 0.88) 100%
  );
}

.story-hero__content {
  position: relative;
  width: 100%;
  padding: var(--space-2xl) 0 var(--space-xl);
}

.story-hero__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.story-hero__title {
  color: var(--color-white);
  max-width: 12ch;
  line-height: 1.1;
}

/* =========================================================
   Our Story: Section splits (alternating)
   ========================================================= */

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.story-split--reverse .story-split__image {
  order: 2;
}

.story-split--reverse .story-split__text {
  order: 1;
}

.story-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-light-dark);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.story-split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-split__image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.42);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

.story-split__text {}

.story-split__text h2 {
  margin-bottom: var(--space-sm);
}

.story-split__text p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 1.25em;
}

.story-split__text p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Our Story: Values
   ========================================================= */

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

.values-section h2 {
  margin-bottom: var(--space-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 860px;
  margin: 0 auto;
}

.value-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  position: relative;
}

.value-item::before {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-accent);
  border-radius: 99px;
  margin: 0 auto var(--space-sm);
}

.value-item p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--color-primary-dark);
  margin: 0;
}

.story-pullquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

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

.story-pullquote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

/* =========================================================
   Our Story: Photo Gallery
   ========================================================= */

.story-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* First photo spans 2 cols for a more editorial feel */
.story-gallery__item:first-child {
  grid-column: span 2;
}

.story-gallery__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-light-dark);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  color: var(--color-sage);
}

.story-gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-gallery__item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.75rem;
  background: rgba(0,0,0,0.44);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.88);
}

/* =========================================================
   Our Story: Story CTA
   ========================================================= */

.story-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.story-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.story-cta .lead {
  margin-bottom: var(--space-lg);
}

/* Responsive — Our Story */
@media (max-width: 900px) {
  .story-split {
    grid-template-columns: 1fr;
  }

  .story-split--reverse .story-split__image,
  .story-split--reverse .story-split__text {
    order: unset;
  }

  .story-split__image {
    aspect-ratio: 16 / 9;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .story-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .story-gallery__item:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .story-hero {
    min-height: 55vh;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery__item:first-child {
    grid-column: span 1;
  }
}

/* =========================================================
   Visit: Pickup Info Card
   ========================================================= */

.pickup-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--color-primary);
  padding: var(--space-lg) var(--space-xl);
  max-width: 640px;
}

.pickup-card__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pickup-row {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.pickup-row__icon {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
}

.pickup-row__content {}

.pickup-row__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.2em;
}

.pickup-row__value {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.pickup-row__value strong {
  font-weight: 600;
  color: var(--color-primary);
}

.pickup-row__note {
  display: block;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.2em;
}

/* =========================================================
   Visit: Map Embed
   ========================================================= */

.map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-light-dark);
}

.map-block iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

.map-block__placeholder {
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--space-lg);
  color: var(--color-muted);
}

.map-block__placeholder .icon {
  font-size: 3rem;
  display: block;
}

.map-block__placeholder p {
  font-size: 0.9375rem;
  margin: 0;
  max-width: 36ch;
  line-height: 1.6;
}

/* =========================================================
   Visit: Directions block
   ========================================================= */

.directions-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
}

.directions-block h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

/* =========================================================
   Visit: Future note
   ========================================================= */

.future-note {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: var(--color-light);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 640px;
}

.future-note__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.future-note strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  margin-bottom: 0.2em;
}

/* =========================================================
   Join Page
   ========================================================= */

/* Page wrapper — warm full-bleed background */
.join-page {
  background-color: var(--color-light);
  min-height: calc(100vh - 80px);
}

/* ── Top headline section ── */
.join-intro {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

.join-intro__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.join-intro h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.join-intro .lead {
  font-size: 1.05rem;
  margin: 0;
}

/* ── Main two-column split ── */
.join-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding-bottom: var(--space-xl);
}

/* ── Left: benefits column ── */
.join-benefits {}

.join-benefits__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.benefits-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.benefits-list__check {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.benefits-list__check svg {
  width: 0.7rem;
  height: 0.7rem;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits-list__text strong {
  display: block;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.benefits-list__text span {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Testimonial / quote block */
.join-quote {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-md);
}

.join-quote__text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-primary-dark);
  line-height: 1.55;
  margin: 0 0 0.6rem;
}

.join-quote__author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.join-quote__author::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: 99px;
}

/* ── Right: form card ── */
.join-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  position: sticky;
  top: 100px;       /* stays in view while scrolling benefits */
}

.join-form-card__heading {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.join-form-card__sub {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

/* Form fields inside the card */
.join-form-card .field {
  margin-bottom: var(--space-sm);
}

.join-form-card .field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.3em;
}

.join-form-card .field input[type="text"],
.join-form-card .field input[type="email"] {
  width: 100%;
  padding: 0.7em 0.9em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-light);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.join-form-card .field input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
}

/* Interests checkbox group */
.interests-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.interests-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.75rem;
  margin-bottom: var(--space-sm);
}

.interest-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.3;
  padding: 0.35rem 0;
  border-radius: var(--radius);
  transition: color 0.15s;
}

.interest-check:hover {
  color: var(--color-primary);
}

/* Custom checkbox */
.interest-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid var(--color-border);
  border-radius: 3px;
  background: var(--color-light);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background-color 0.15s;
}

.interest-check input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.interest-check input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--color-white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.interest-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Submit */
.join-form-card .btn--join {
  display: block;
  width: 100%;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  padding: 0.875em;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.1s;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  border-width: 2px;
  border-style: solid;
  letter-spacing: 0.01em;
}

.join-form-card .btn--join:hover {
  background-color: #a85c3c;
  border-color: #a85c3c;
}

.join-form-card .btn--join:active {
  transform: scale(0.99);
}

.join-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.6rem;
  line-height: 1.4;
}

/* ── Social proof bar ── */
.join-trust {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  text-align: center;
}

.join-trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.join-trust__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.join-trust__icon {
  font-size: 1.1rem;
}

/* Responsive — Join page */
@media (max-width: 780px) {
  .join-split {
    grid-template-columns: 1fr;
  }

  .join-form-card {
    position: static;
  }

  .interests-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .join-intro {
    padding: var(--space-lg) 0 var(--space-md);
  }
}

/* =========================================================
   Contact Page
   ========================================================= */

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

/* ── Contact form ── */
.contact-form {}

.contact-form .field {
  margin-bottom: var(--space-sm);
}

.contact-form .field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35em;
}

.contact-form .field input[type="text"],
.contact-form .field input[type="email"],
.contact-form .field select,
.contact-form .field textarea {
  width: 100%;
  /* min 48px height for comfortable mobile tap targets */
  min-height: 48px;
  padding: 0.75em 1em;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}

.contact-form .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a7a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 74, 62, 0.12);
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: #bbb;
}

.contact-form .btn--send {
  min-height: 52px;
  padding: 0.875em 2.5em;
  font-size: 1rem;
  font-weight: 600;
}

/* ── Contact sidebar ── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}

.contact-info-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.contact-info-row:last-child {
  margin-bottom: 0;
}

.contact-info-row__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
  width: 1.4rem;
  text-align: center;
}

.contact-info-row__content {
  color: var(--color-text);
}

.contact-info-row__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-muted);
  margin-bottom: 0.1em;
}

.contact-info-row a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-info-row a:hover {
  color: var(--color-accent);
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4em 0.85em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.social-link svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

/* Response note */
.response-note {
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-sage);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}

.response-note strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.35em;
}

/* Responsive — Contact */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    /* Sidebar moves below form on mobile */
    order: 2;
  }

  .contact-form {
    order: 1;
  }
}

/* =========================================================
   Misc Utilities
   ========================================================= */

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

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-xl) 0;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .offer-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-layout__image {
    order: -1;
    min-height: 280px;
  }

  .split-layout__image img {
    height: 280px;
  }
}

/* Mobile nav — slides down from header */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    /* reset desktop flex */
    display: block;
  }

  .nav-primary.is-open {
    max-height: 520px;
  }

  .nav-primary ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  .nav-primary a {
    padding: 0.75em 0.5em;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 1rem;
  }

  .nav-primary li:last-child > a {
    border-bottom: none;
  }

  /* Hide current-page underline on mobile (border does the job) */
  .nav-primary .current-menu-item > a::after,
  .nav-primary .current-menu-ancestor > a::after,
  .nav-primary .current_page_item > a::after {
    display: none;
  }

  /* CTA button in mobile menu */
  .nav-primary .menu-cta {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
  }

  .nav-primary .menu-cta a {
    margin-left: 0;
    text-align: center;
    border-radius: var(--radius);
    display: block;
    border-bottom: none;
  }
}

/* Footer column collapse */
@media (max-width: 900px) and (min-width: 641px) {
  .site-footer__body {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-xs);
    text-align: center;
  }

  .home-hero {
    min-height: 480px;
  }

  .home-hero__content {
    padding: var(--space-xl) 0;
  }

  .join-form__row {
    grid-template-columns: 1fr;
  }
}
