@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@400;500&display=swap');

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

:root {
  --bg:      #faf6f0;
  --bg-alt:  #f2e9da;
  --text:    #2c1a0e;
  --muted:   #7a5c45;
  --accent:  #b06820;
  --gold:    #d4a843;
  --nav:     #3a1e0b;
  --border:  #d9c8b0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── NAV ── */
nav {
  background: var(--nav);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav .logo {
  font-family: 'Lora', serif;
  font-size: 1.35rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .03em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #e8d5b7;
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: color .2s;
}

nav a:hover, nav a.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #4a2810 0%, #7a3e14 50%, #a85820 100%);
  color: #faf6f0;
  text-align: center;
  padding: 6rem 2rem 5rem;
}

.hero .eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.1rem;
  color: #e8d5b7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--nav);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .05em;
  padding: .75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  margin: .4rem;
  transition: background .2s, transform .15s;
}

.btn:hover { background: #e8b94a; transform: translateY(-1px); }

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

.btn.outline:hover { background: var(--gold); color: var(--nav); }

/* ── MAIN CONTENT ── */
main { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 5rem; }

h2 {
  font-family: 'Lora', serif;
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

h2:first-child { margin-top: 0; }

h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  margin-bottom: .6rem;
  margin-top: 2rem;
  color: var(--text);
}

p { margin-bottom: 1.1rem; color: var(--text); }

/* ── CARDS ON HOME ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, transform .15s;
  display: block;
}

.card:hover { box-shadow: 0 6px 24px rgba(60,20,0,.12); transform: translateY(-2px); }

.card-icon { font-size: 2rem; margin-bottom: .75rem; }

.card h3 { margin-top: 0; color: var(--accent); }

/* ── RECIPE ── */
.ingredients {
  background: var(--bg-alt);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
}

.ingredients ul { list-style: none; }

.ingredients li {
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1rem;
}

.ingredients li:last-child { border: none; }

.qty { font-weight: 600; color: var(--accent); min-width: 90px; }

.steps { counter-reset: step; margin: 1.5rem 0; }

.step {
  counter-increment: step;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step::before {
  content: counter(step);
  background: var(--accent);
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

.tip {
  background: #fff8ee;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
  font-size: .95rem;
}

.tip strong { color: var(--accent); }

/* ── STORY ── */
.quote {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--muted);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-size: .85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
