/* Warm Desert Editorial — Tracy Noelle, Private Chef ~ Plant Based */

:root {
  --terracotta: #b65a3c;
  --terracotta-dark: #8f3f27;
  --clay: #c98a5e;
  --sand: #f4ece1;
  --sand-deep: #e9dcc9;
  --sage: #8a9a7b;
  --sage-dark: #5f6f52;
  --ink: #342a22;
  --muted: #6b5d4f;
  --cream: #fbf7f0;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Fonts: load from Google if online, otherwise system fallbacks above apply. */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@400;500;600&display=swap");

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

a { color: var(--terracotta-dark); }

p { margin: 0 0 1.1em; }

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

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand-deep);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.brand span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--terracotta);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sand-deep);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s;
}
.btn:hover { background: var(--terracotta-dark); color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--terracotta-dark);
  border: 1px solid var(--clay);
}
.btn-outline:hover { background: var(--sand-deep); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}
.hero-copy h1 { margin-bottom: 0.2em; }
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--sage-dark);
  margin: 0 0 1.5rem;
}
.hero-img img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 18px 40px -20px rgba(52, 42, 34, 0.45);
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-sand { background: var(--sand); }
.section-sage { background: var(--sage); color: var(--cream); }
.section-sage h2, .section-sage .eyebrow { color: var(--cream); }
.section-sage .eyebrow { color: var(--sand-deep); }

.page-head {
  padding: 4rem 0 2.5rem;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-deep);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.about-grid img { border-radius: 4px; }
.creds {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.creds li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--sand-deep);
  display: flex;
  gap: 0.75rem;
}
.creds li::before { content: "·"; color: var(--terracotta); font-weight: 700; }

/* ---------- Cards (blog + recipes) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2.2rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--cream);
  border: 1px solid var(--sand-deep);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px -22px rgba(52, 42, 34, 0.5);
}
.card img { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.7rem; flex: 1; display: flex; flex-direction: column; }
.card-meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.5rem;
}
.card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--terracotta-dark); }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .read-more {
  margin-top: auto;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Single recipe / post article ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.article-hero {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 2rem;
}
.article .meta { color: var(--clay); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; }
.recipe-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  background: var(--sand);
  border-radius: 4px;
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
}
.recipe-facts div { min-width: 90px; }
.recipe-facts .label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.recipe-facts .val { font-family: var(--serif); font-size: 1.4rem; }
.recipe-cols { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; }
.recipe-cols ul, .recipe-cols ol { padding-left: 1.2rem; }
.recipe-cols li { margin-bottom: 0.6rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sand-deep);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.contact-detail { margin-bottom: 1.4rem; }
.contact-detail .label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }
.contact-detail a { font-family: var(--serif); font-size: 1.5rem; text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--sand);
  padding: 3rem 0 2.5rem;
  margin-top: 0;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.site-footer a { color: var(--sand); text-decoration: none; margin-left: 1.3rem; font-size: 0.9rem; }
.site-footer a:hover { color: var(--clay); }
.site-footer .brand { color: var(--sand); }
.site-footer small { color: #9b8c7b; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero, .about-grid, .contact-grid, .recipe-cols { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .hero-img { order: -1; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sand-deep);
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; width: 100%; }
  .nav { position: relative; }
}
