:root {
  --bg: #f6f1ea;
  --bg-2: #fbf8f3;
  --ink: #1b1b1b;
  --muted: #6a6a6a;
  --green: #3d5345;
  --green-deep: #2c4336;
  --green-soft: #e7eee8;
  --line: #e6dfd4;
  --card: #ffffff;
  --peach: #c8895a;
  --shadow: 0 18px 40px rgba(44, 67, 54, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
}
.brand-name { font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; font-weight: 700; line-height: 1.1; }
.brand-sub { display: block; font-size: 9px; letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: #3a3a3a; }
.nav-links a:hover { color: var(--green); }
.nav-links .active, .pill-link {
  background: #efe8dc; padding: 8px 14px; border-radius: 999px;
}
.drop { position: relative; }
.drop-toggle {
  background: #efe8dc; border: 0; padding: 8px 14px; border-radius: 999px;
  cursor: pointer; color: inherit; font-size: 15px;
}
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 180px;
  padding: 10px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  z-index: 70;
}
.drop-menu-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 10px 0;
}
@media (hover: hover) and (pointer: fine) {
  .drop:hover .drop-menu { display: block; }
}
.drop.open .drop-menu { display: block; }
.drop-menu a { display: block; padding: 10px 18px; }
.drop-menu a:hover { background: var(--bg); }
.icon-btn { background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(27,27,27,.45);
  z-index: 45;
}
.nav-backdrop.open { display: block; }
body.menu-open { overflow: hidden; touch-action: none; }

/* Hero */
.hero {
  position: relative; min-height: 560px; overflow: hidden;
  background: #ddd url("../images/hero-spread.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(246,241,234,.72) 0%, rgba(246,241,234,.28) 55%, rgba(246,241,234,.08) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 88px 0 96px; max-width: 640px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(61,83,69,.25); background: rgba(255,255,255,.55);
  backdrop-filter: blur(6px); border-radius: 999px;
  padding: 6px 12px; font-size: 11px; letter-spacing: .14em; color: var(--green);
}
.hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(42px, 5.6vw, 68px); line-height: 1.08;
  margin: 18px 0 16px; font-weight: 700;
}
.hero h1 span { color: var(--green); }
.hero p { font-size: 18px; color: #3f3f3f; max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 650;
}
.btn-dark { background: var(--green-deep); color: #fff; }
.btn-dark:hover { background: #22352b; }
.btn-line { background: rgba(255,255,255,.45); border-color: rgba(44,67,54,.28); color: var(--green-deep); }
.btn-full { width: 100%; }

/* Cards */
.section { padding: 64px 0; }
.section h2 { font-family: "Libre Baskerville", Georgia, serif; font-size: 36px; }
.crumb { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.crumb a:hover { color: var(--green); }
.page-title { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(40px, 6vw, 64px); margin-bottom: 8px; }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border-radius: 22px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(28,28,28,.05); border: 1px solid #f0ebe3;
}
.card-img { position: relative; height: 210px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); border-radius: 999px;
  padding: 5px 10px; font-size: 11px; letter-spacing: .08em; color: #444;
}
.card-body { padding: 16px 18px 20px; }
.meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.card h3 { font-family: "Libre Baskerville", Georgia, serif; font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.card p { color: #666; font-size: 14.5px; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.kicker { color: var(--peach); letter-spacing: .16em; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.split h1 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(36px, 5vw, 52px); margin-bottom: 16px; }
.split img { width: 100%; height: 520px; object-fit: cover; border-radius: 22px; }
.actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-row { display: flex; gap: 14px; margin: 18px 0; }
.info-ico {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft);
  display: grid; place-items: center; color: var(--green); flex: 0 0 42px;
}
.form-card {
  background: #fff; border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow); border: 1px solid #f0ebe3;
}
label { display: block; font-size: 14px; margin: 12px 0 6px; }
input, textarea {
  width: 100%; border: 1px solid #e7e0d6; border-radius: 12px;
  padding: 12px 14px; background: #fcfbf8;
}
input:focus, textarea:focus { outline: 2px solid #cfd8d1; }

/* Newsletter + footer */
.news-wrap { padding: 10px 0 0; }
.news {
  background: var(--green-deep); color: #eef3ee;
  border-radius: 24px; padding: 28px 32px 32px; text-align: center;
}
.news p { margin-bottom: 16px; }
.news-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.news-form input {
  min-width: 260px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff;
}
.news-form input::placeholder { color: #c9d4cc; }
.btn-peach { background: var(--peach); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; }

footer { padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font-size: 12px; letter-spacing: .14em; color: #888; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { color: #555; font-size: 14px; display: block; margin: 7px 0; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: #fff;
}
.legal {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px;
  color: #888; font-size: 13px;
}

/* Article */
.article { width: min(760px, 100%); }
.article h1 { font-family: "Libre Baskerville", Georgia, serif; font-size: clamp(34px, 5vw, 52px); margin: 10px 0 12px; }
.prose p, .prose li { margin-bottom: 13px; font-size: 17px; }
.prose h2, .prose h3 { font-family: "Libre Baskerville", Georgia, serif; margin: 22px 0 8px; }
.prose ul { padding-left: 20px; }
.recipe { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 14px 0; }
.note { background: var(--green-soft); border-radius: 12px; padding: 12px 14px; margin: 16px 0; }

/* Search overlay */
.search-overlay {
  display: none; position: fixed; inset: 0; background: rgba(27,27,27,.35);
  z-index: 80; align-items: flex-start; justify-content: center; padding-top: 12vh;
}
.search-overlay.open { display: flex; }
.search-box {
  width: min(640px, calc(100% - 28px)); background: #fff; border-radius: 20px;
  padding: 18px; box-shadow: var(--shadow);
}
.search-box input { border-radius: 12px; margin-bottom: 10px; }
.search-hit { display: block; padding: 10px 8px; border-radius: 10px; }
.search-hit:hover { background: var(--bg); }
.search-hit small { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 32px; }
.filter-btn {
  background: #fff;
  color: #3a3a3a;
  border: 1.5px solid #ddd4c8;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.2;
}
.filter-btn:hover,
.btn:hover,
.btn-line:hover,
.btn-dark:hover,
.btn-peach:hover,
.drop-toggle:hover,
.icon-btn:hover,
.nav-toggle:hover {
  border-color: var(--green-deep);
  box-shadow: inset 0 0 0 2px var(--green-deep);
  color: var(--green-deep);
}
.filter-btn.active {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
  box-shadow: none;
  font-weight: 650;
}
.filter-btn.active:hover {
  color: #fff;
  box-shadow: inset 0 0 0 2px #1b2d24;
}
.card[hidden] { display: none; }

@media (max-width: 900px) {
  .site-header { border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: 78px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 32px;
    gap: 4px;
    z-index: 55;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .drop-toggle {
    display: block; width: 100%; text-align: left;
    padding: 14px 12px; border-radius: 12px; background: transparent;
  }
  .nav-links .active, .pill-link { background: transparent; padding: 14px 12px; }
  .drop-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: 1px solid var(--line);
    margin: 0 8px 8px;
    padding: 6px 0;
  }
  .drop.open .drop-menu { display: block; }
  .grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .split img { height: 320px; }
  .hero { min-height: 480px; }
}
