/* Woobie Farm - Organic Biophilic farm aesthetic */
:root {
  --bg: #faf6ef;
  --bg-alt: #f1ead9;
  --bg-deep: #efe7d3;
  --ink: #2c1d10;
  --ink-soft: #5a4736;
  --ink-mute: #7a6a55;
  --accent: #4a7c23;        /* Earth green */
  --accent-dark: #355c18;
  --accent-soft: #e8efd9;
  --warm: #c19a3a;          /* Honey/gold */
  --sky: #7baacc;
  --line: #d9c9a8;
  --line-soft: #e6dec9;
  --shadow-sm: 0 2px 8px rgba(45, 31, 21, 0.06);
  --shadow: 0 6px 28px rgba(45, 31, 21, 0.10);
  --shadow-lg: 0 14px 40px rgba(45, 31, 21, 0.14);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 22px;
  --maxw: 1100px;
  --maxw-text: 70ch;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); margin-bottom: 0.5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 2.2em 0 0.7em; }
h3 { font-size: 1.3rem; margin: 1.6em 0 0.4em; color: var(--ink-soft); }

p { margin-bottom: 1em; max-width: var(--maxw-text); }

a { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--accent); }

/* Header */
header.site {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 239, 0.94);
  border-bottom: 1px solid var(--line-soft);
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.brand {
  font-family: 'Lora', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.14);
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 7px;
  background: var(--bg);
  border-radius: 50%;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.85rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

nav a:hover, nav a.active { color: var(--accent-dark); }
nav a:hover::after, nav a.active::after { transform: scaleX(1); }

@media (max-width: 720px) {
  .nav-wrap { flex-direction: column; padding: 0.85rem 1rem; gap: 0.75rem; }
  nav ul { gap: 1rem 1.4rem; flex-wrap: wrap; justify-content: center; }
}

/* Main */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3rem 1.75rem 4rem;
}

main > section { margin-bottom: 1rem; }

/* Hero variants */
.hero {
  text-align: center;
  padding: 2.5rem 0 3rem;
  margin-bottom: 2.5rem;
}

.hero .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 1.1rem;
  padding: 0.35rem 0.9rem;
  background: var(--accent-soft);
  border-radius: 999px;
}

.hero p.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Big photo hero (homepage) */
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
  aspect-ratio: 16 / 9;
  max-height: 540px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 6, 0.05) 30%, rgba(20, 14, 6, 0.62) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2.5rem 2.25rem;
  color: #fff;
}

.hero-photo .hero-overlay .eyebrow {
  background: rgba(255,255,255,0.92);
  color: var(--accent-dark);
}

.hero-photo .hero-overlay h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  margin-bottom: 0.3em;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.hero-photo .hero-overlay p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  max-width: 50ch;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  margin-bottom: 1.25rem;
}

/* On mobile, lift the text out of the overlay so the pig stays visible
   and the words have room to breathe. */
@media (max-width: 720px) {
  .hero-photo {
    aspect-ratio: auto;
    max-height: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    margin-bottom: 1.5rem;
  }
  .hero-photo img {
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .hero-photo .hero-overlay {
    position: static;
    background: none;
    color: var(--ink);
    padding: 1.5rem 0.25rem 0.5rem;
    text-align: center;
  }
  .hero-photo .hero-overlay h1 {
    color: var(--ink);
    text-shadow: none;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    margin-bottom: 0.5em;
  }
  .hero-photo .hero-overlay p {
    color: var(--ink-soft);
    text-shadow: none;
    font-size: 1rem;
    margin: 0 auto 1.25rem;
  }
  .hero-photo .hero-overlay .btn-row { justify-content: center !important; }
  .hero-photo .hero-overlay .btn-ghost { background: transparent !important; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1.5px solid var(--accent);
  box-shadow: none;
}

.btn-ghost:hover { background: var(--accent); color: #fff; }

.btn-row { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }

/* Cards */
.card {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.85rem;
  margin: 1.5rem 0;
}

.callout {
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  padding: 1.3rem 1.6rem;
  margin: 1.6rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.callout strong { color: var(--accent-dark); }

/* Pricing table */
.pricing {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.96rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing th, .pricing td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
}

.pricing th {
  background: var(--accent-soft);
  font-weight: 600;
  color: var(--accent-dark);
  font-family: 'Lora', serif;
  letter-spacing: 0.01em;
}

.pricing tr:last-child td { border-bottom: none; }
.pricing tbody tr:hover { background: var(--bg-deep); }

/* FAQ */
.faq h2 {
  font-size: 1.45rem;
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq h2::before {
  content: '?';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* NAP block */
.nap {
  background: var(--bg-alt);
  padding: 1.85rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  font-size: 0.97rem;
  border: 1px solid var(--line-soft);
}

.nap dt {
  font-weight: 600;
  margin-top: 0.85rem;
  color: var(--accent-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nap dt:first-of-type { margin-top: 0; }
.nap dd { margin-left: 0; margin-bottom: 0.25rem; }

/* Real photo with caption */
.photo {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
}

.img-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  max-width: var(--maxw-text);
}

/* Two-column with photo */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split .photo { margin: 0; }

.split h2 { margin-top: 0; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split.reverse { direction: ltr; }
}

/* Feature grid (homepage "what we sell") */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
}

.feature .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.feature h3 {
  margin: 0 0 0.4em;
  color: var(--ink);
  font-family: 'Lora', serif;
  font-size: 1.1rem;
}

.feature p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* Social */
.socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.75rem 0;
  flex-wrap: wrap;
}

.socials a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.93rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  background: var(--bg);
}

.socials a:hover { color: var(--accent-dark); border-color: var(--accent); background: var(--accent-soft); }

/* Footer */
footer.site {
  border-top: 1px solid var(--line-soft);
  padding: 2.75rem 1.75rem 2.25rem;
  text-align: center;
  font-size: 0.93rem;
  color: var(--ink-soft);
  background: var(--bg-alt);
  margin-top: 3rem;
}

footer.site .nap-mini {
  margin-bottom: 0.85rem;
  font-size: 0.97rem;
}

footer.site .nap-mini strong { color: var(--ink); }

footer.site a { color: var(--accent-dark); }
footer.site a:hover { color: var(--accent); }

/* Lists */
ul.clean, ol.clean {
  margin: 1em 0 1.25em 1.5em;
  max-width: var(--maxw-text);
}

ul.clean li, ol.clean li { margin-bottom: 0.5em; }

/* Definition list */
dl.terms { margin: 1.5em 0; max-width: var(--maxw-text); }
dl.terms dt { font-weight: 600; margin-top: 1.1em; color: var(--accent-dark); font-family: 'Lora', serif; font-size: 1.05rem; }
dl.terms dd { margin-left: 0; margin-bottom: 0.75em; }

/* JotForm wrapper */
.form-wrap {
  margin: 2rem 0;
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  min-height: 200px;
}

.form-wrap iframe { display: block !important; width: 100% !important; }

/* Utility */
.center { text-align: center; }
.muted { color: var(--ink-mute); }

/* Centered content block - for closing sections like "Connect With Us" */
.center-block {
  text-align: center;
  margin: 2.5rem auto 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.center-block h2 { text-align: center; }
.center-block p { margin-left: auto; margin-right: auto; }
.center-block .socials { justify-content: center; }
.center-block .btn-row { justify-content: center; }
