:root {
  --cream: #faf5ec;
  --cream-dark: #f1e8d8;
  --terracotta: #c05b2d;
  --terracotta-dark: #9c4520;
  --forest: #2f4a3a;
  --forest-light: #3f5f4c;
  --mustard: #d9a441;
  --ink: #2b2b26;
  --muted: #6b6b60;
  --line: #e3d8c4;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(47, 74, 58, 0.12);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lora", Georgia, serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
  color: var(--forest);
  font-weight: 700;
}

a {
  color: var(--terracotta);
  text-decoration: none;
}

a:hover {
  color: var(--terracotta-dark);
  text-decoration: underline;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  background: var(--forest);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.5px;
}

.brand:hover {
  color: var(--mustard);
  text-decoration: none;
}

.brand .accent {
  color: var(--mustard);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(250, 245, 236, 0.4);
  color: var(--cream);
  font-size: 1.4rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--cream);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.main-nav a:hover {
  background: rgba(250, 245, 236, 0.12);
  color: var(--mustard);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  padding: 90px 0 100px;
  max-width: 720px;
}

.hero .eyebrow {
  display: inline-block;
  background: var(--mustard);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(250, 245, 236, 0.92);
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--terracotta-dark);
  color: var(--white);
  text-decoration: none;
}

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

.btn-outline:hover {
  background: var(--cream);
  color: var(--forest);
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--cream-dark);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
}

/* Recipe grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}

.recipe-card:hover {
  transform: translateY(-4px);
}

.recipe-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.recipe-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.recipe-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.recipe-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.recipe-card .meta {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 700;
}

/* Feature band */
.feature-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--mustard);
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Article page */
.article-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 60px 0;
}

.article-hero .eyebrow {
  color: var(--mustard);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.article-hero h1 {
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 12px 0 10px;
}

.article-hero .byline {
  color: rgba(250, 245, 236, 0.85);
  font-size: 0.9rem;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 0 70px;
}

.article-body img {
  border-radius: var(--radius);
  margin: 30px 0;
  box-shadow: var(--shadow);
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 36px 0 14px;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid var(--terracotta);
  background: var(--cream-dark);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 26px 0;
  font-style: italic;
  color: var(--forest);
}

.ingredients {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 26px 0;
}

.ingredients h3 {
  margin-top: 0;
}

.ingredients ul {
  margin-bottom: 0;
}

/* Disclaimer */
.disclaimer {
  background: var(--mustard);
  color: var(--forest);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.9rem;
  margin: 30px 0;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  margin-bottom: 18px;
}

.contact-info p {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-info strong {
  color: var(--forest);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--forest);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--terracotta);
  border-color: var(--terracotta);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.consent input {
  margin-top: 4px;
}

.form-error {
  color: #b3261e;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-success {
  color: var(--forest);
  background: var(--cream-dark);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  display: none;
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 0 70px;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 34px 0 12px;
}

.legal p {
  margin-bottom: 16px;
}

.legal ul {
  margin: 0 0 18px 22px;
}

/* 404 */
.notfound {
  text-align: center;
  padding: 100px 0;
}

.notfound h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--terracotta);
}

.notfound p {
  color: var(--muted);
  margin: 16px 0 30px;
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: rgba(250, 245, 236, 0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-grid h3 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-grid a {
  color: rgba(250, 245, 236, 0.85);
}

.footer-grid a:hover {
  color: var(--mustard);
}

.footer-grid ul {
  list-style: none;
}

.footer-grid li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 245, 236, 0.15);
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(250, 245, 236, 0.6);
  text-align: center;
}

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .main-nav a {
    display: block;
    padding: 12px;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 50px 0;
  }

  .hero-content {
    padding: 60px 0 70px;
  }
}
