/* This Little Farm & Homestead — thislittle.farm */
:root {
  --green-deep: #2e4527;
  --green: #40593a;
  --green-soft: #6b7f5e;
  --terracotta: #c0653e;
  --terracotta-dark: #a54f2d;
  --cream: #f7f2e7;
  --cream-dark: #efe7d6;
  --ink: #2b2a25;
  --ink-soft: #5a564b;
  --white: #fffdf8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 69, 39, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--green-deep); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(46,69,39,0.12);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; fill: var(--cream); }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--green-deep); line-height: 1.2; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); }

nav.main-nav { display: flex; gap: 4px; align-items: center; }
nav.main-nav a {
  padding: 8px 13px; border-radius: 8px;
  color: var(--green-deep); font-weight: 700; font-size: 0.92rem;
}
nav.main-nav a:hover { background: var(--cream-dark); text-decoration: none; }
nav.main-nav a.active { background: var(--green); color: var(--cream); }
nav.main-nav a.nav-cta { background: var(--terracotta); color: #fff; margin-left: 6px; }
nav.main-nav a.nav-cta:hover { background: var(--terracotta-dark); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--green-deep); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; color: var(--cream);
  background: var(--green-deep);
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.hero-inner { position: relative; padding: 110px 0 120px; max-width: 720px; }
.hero h1 { color: var(--white); text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero p.lead { color: #f2ecdd; font-size: 1.2rem; margin: 1.1em 0 1.6em; text-shadow: 0 1px 12px rgba(0,0,0,0.5); max-width: 34em; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 14px;
}
.hero .eyebrow { color: #f0b795; }

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { background: rgba(255,253,248,0.14); color: var(--white); border: 1.5px solid rgba(255,253,248,0.55); margin-left: 10px; }
.btn-ghost:hover { background: rgba(255,253,248,0.24); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-deep); }

/* Sections */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: var(--white); }
section.green { background: var(--green-deep); }
section.green h2, section.green h3 { color: var(--white); }
section.green p { color: #d9d4c2; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }

/* Grids & cards */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card img { height: 230px; object-fit: cover; width: 100%; }
.card .card-body { padding: 24px; flex: 1; }
.card .card-body .tag {
  display: inline-block; background: var(--cream-dark); color: var(--green-deep);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 420px; object-fit: cover; }
.split.reverse > .split-img { order: 2; }

/* Checklist */
ul.checks { list-style: none; margin: 18px 0; }
ul.checks li { padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink-soft); }
ul.checks li strong { color: var(--ink); }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
}

/* Herd strip */
.herd-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.herd-strip span {
  background: var(--white); border: 1.5px solid var(--cream-dark);
  padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--green);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--terracotta); }
.stat .lbl { font-weight: 700; color: var(--green-deep); font-size: 0.95rem; }
section.green .stat .lbl { color: var(--cream); }

/* Banner CTA */
.banner {
  border-radius: var(--radius); background: var(--green);
  padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: var(--shadow);
}
.banner h2 { color: var(--white); margin-bottom: 0.2em; }
.banner p { color: #d9d4c2; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { border-radius: 10px; height: 240px; width: 100%; object-fit: cover; }

/* Forms */
form.inquiry { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 800; font-size: 0.85rem; color: var(--green-deep); display: block; margin-bottom: 6px; letter-spacing: 0.03em; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--cream-dark);
  border-radius: 9px; font-family: var(--font-body); font-size: 1rem;
  background: var(--cream); color: var(--ink); margin-bottom: 18px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green-soft); background: var(--white); }
textarea { min-height: 130px; resize: vertical; }

/* Notice */
.notice {
  background: var(--cream-dark); border-left: 4px solid var(--terracotta);
  border-radius: 8px; padding: 16px 20px; font-size: 0.95rem; color: var(--ink-soft);
}

/* Social */
.social-cards { align-items: stretch; }
.social-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--cream); border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.social-card h3 { margin-bottom: 4px; }
.social-card p { margin: 0; font-size: 0.95rem; }
.social-badge {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.social-badge svg { width: 26px; height: 26px; fill: #fff; }
.social-card.fb .social-badge { background: #1877f2; }
.social-card.yt .social-badge { background: #ff0000; }

.social-icons { display: flex; gap: 12px; margin-top: 14px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,253,248,0.12); border: 1.5px solid rgba(255,253,248,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.social-icons a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.social-icons svg { width: 19px; height: 19px; fill: var(--cream); }

/* Footer */
footer {
  background: var(--green-deep); color: #cfc9b6; padding: 56px 0 30px; margin-top: 0;
}
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
footer a { color: #e8ddc2; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer p { color: #cfc9b6; }
footer .fine { border-top: 1px solid rgba(255,253,248,0.15); padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .stats, .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, footer .cols { grid-template-columns: 1fr; }
  .split img { height: 300px; }
  .split.reverse > .split-img { order: 0; }
  .banner { flex-direction: column; text-align: center; }
}
@media (max-width: 720px) {
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 12px 22px 20px; border-bottom: 1px solid rgba(46,69,39,0.12);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a.nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .form-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 0 80px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 160px; }
  .banner { padding: 34px; }
}
