/* ===== Wholesome Grazing — Design Tokens ===== */
:root {
  --cream: #FBF6EE;
  --cream-deep: #F3EBDA;
  --ink: #2B2118;
  --muted: #7A6F63;
  --rust: #C1592B;
  --rust-deep: #A24521;
  --gold: #B8863B;
  --sage: #6B7B5E;
  --plum: #7A4B5E;
  --line: #E8DFD0;
  --paper: #FFFDF8;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand em {
  font-style: italic;
  color: var(--rust);
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1.5px;
  background: var(--rust);
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active { color: var(--rust); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links a {
    padding: 14px 28px;
    display: block;
    border-bottom: 1px solid var(--line);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 3px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--rust);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--rust-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(193, 89, 43, 0.28);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
}
.btn-sage {
  background: var(--sage);
  color: var(--paper);
}
.btn-sage:hover {
  background: #576650;
  transform: translateY(-1px);
}

/* ===== Section basics ===== */
section { padding: 84px 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
  display: block;
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.5vw, 62px); line-height: 1.05; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.3; }
p { margin: 0 0 16px; color: var(--ink); }
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
}

.divider {
  width: 56px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: 0 0 28px;
}

/* ===== Torn recipe cards (signature element) ===== */
.card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .card-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .card-row { grid-template-columns: 1fr; }
}

.torn-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 30px 22px 26px;
  position: relative;
  box-shadow: 0 3px 0 rgba(43, 33, 24, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.torn-card:nth-child(1) { transform: rotate(-1.4deg); }
.torn-card:nth-child(2) { transform: rotate(0.9deg); }
.torn-card:nth-child(3) { transform: rotate(-0.7deg); }
.torn-card:nth-child(4) { transform: rotate(1.3deg); }
.torn-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 33, 24, 0.12);
  z-index: 2;
}
.torn-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 10px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  clip-path: polygon(0% 100%, 4% 20%, 9% 90%, 14% 10%, 19% 80%, 24% 0%, 29% 70%,
    34% 15%, 39% 95%, 44% 25%, 49% 85%, 54% 5%, 59% 75%, 64% 20%, 69% 90%,
    74% 10%, 79% 80%, 84% 0%, 89% 70%, 94% 30%, 100% 100%);
}
.torn-card .icon { font-size: 30px; margin-bottom: 14px; display: block; }
.torn-card h3 { margin-bottom: 8px; font-size: 19px; }
.torn-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.torn-card .tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== Hero ===== */
.hero {
  padding: 96px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
.hero-art {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--sage) 0%, #566149 100%);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-art .steam {
  position: absolute;
  inset: 0;
  opacity: 0.14;
}
.hero-art .plate-icon { font-size: 92px; filter: saturate(0.9); }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ===== Stripe / quote band ===== */
.band {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0;
}
.band p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 27px);
  color: var(--cream);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.5;
}
.band .attribution {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--gold);
  margin-top: 18px;
  letter-spacing: 0.04em;
}

/* ===== Recipe grid ===== */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 44px;
}
@media (max-width: 900px) { .recipe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .recipe-grid { grid-template-columns: 1fr; } }

.recipe-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.recipe-card:hover {
  box-shadow: 0 16px 32px rgba(43,33,24,0.12);
  transform: translateY(-3px);
}
.recipe-thumb {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
}
.recipe-body { padding: 20px 22px 24px; }
.recipe-pillar {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rust);
  margin-bottom: 8px;
  display: block;
}
.recipe-body h3 { margin-bottom: 8px; }
.recipe-body p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.recipe-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ===== Filter pills ===== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.filter-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink);
}
.filter-pill:hover { border-color: var(--rust); color: var(--rust); }
.filter-pill.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ===== Two column feature ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-art {
  aspect-ratio: 1/1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* ===== THEM tag chips ===== */
.them-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.them-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 30px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
}
.them-chip .letter {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--paper);
  font-family: var(--serif);
}
.them-chip.t .letter { background: var(--rust); }
.them-chip.h .letter { background: var(--sage); }
.them-chip.e .letter { background: var(--gold); }
.them-chip.m .letter { background: var(--plum); }

/* ===== Timeline / steps ===== */
.steps { margin-top: 40px; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--gold);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; max-width: 520px; }

/* ===== Form ===== */
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
  margin-top: 30px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--muted);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--rust);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 0 34px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer .brand { color: var(--cream); }
footer .brand em { color: var(--gold); }
footer p { color: #C9BFAE; font-size: 14px; }
footer h4 {
  font-family: var(--sans);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 10px; }
footer a { text-decoration: none; color: #C9BFAE; font-size: 14.5px; transition: color 0.2s ease; }
footer a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #8b8175;
  text-align: center;
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

:focus-visible {
  outline: 2.5px solid var(--rust);
  outline-offset: 2px;
}

.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: 48px; }
.small-caps {
  font-variant: small-caps;
}
/* ===== Reviews / testimonials ===== */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 18px;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--paper);
  flex-shrink: 0;
}
.review-author .name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.review-author .meta {
  font-size: 12px;
  color: var(--muted);
}
.reviews-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}

.page-hero {
  padding: 64px 0 20px;
}
.page-hero .lede { max-width: 640px; }

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(43, 33, 24, 0.1);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 18px;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.testimonial-context {
  font-size: 12.5px;
  color: var(--muted);
}

