@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=Lato:wght@300;400;700&family=Lora:ital@1&display=swap');

/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --tandoor:    #B85C2C;
  --saffron:    #D4882A;
  --turmeric:   #F5C97A;
  --charcoal:   #1C1008;
  --cream:      #FDF5EC;
  --cream-dark: #F5EAD8;
  --coriander:  #4A7C59;
  --text:       #2A1A0E;
  --muted:      #7A6555;
  --border:     #E8D8C4;
  --white:      #FFFFFF;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;

  --nav-h: 64px;
  --max-w: 1180px;
  --content-w: 720px;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 2px 16px rgba(28,16,8,.08);
  --shadow-lg: 0 8px 40px rgba(28,16,8,.14);
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { font-size: 1rem; color: var(--text); }

/* ── LAYOUT UTILS ───────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--content-w); margin: 0 auto; padding: 0 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── NAVIGATION ─────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--charcoal);
  border-bottom: 2px solid var(--tandoor);
  display: flex; align-items: center;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav__logo { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--turmeric); letter-spacing: -.02em; }
.nav__logo span { color: var(--saffron); }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b09070; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--turmeric); }
.nav__cta { background: var(--tandoor); color: var(--white) !important; padding: 8px 20px; border-radius: 24px; font-size: .8rem !important; transition: background .2s !important; }
.nav__cta:hover { background: var(--saffron) !important; color: var(--white) !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--turmeric); border-radius: 2px; transition: .3s; }

/* ── HERO ───────────────────────────────────────────── */
.hero {
  background: var(--charcoal);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(184,92,44,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero__tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); border: 1px solid var(--saffron); padding: 4px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero__title { font-family: var(--font-head); color: var(--white); margin-bottom: 20px; }
.hero__title em { font-style: italic; color: var(--turmeric); }
.hero__subtitle { color: #b09070; font-size: 1.1rem; max-width: 520px; margin-bottom: 36px; line-height: 1.8; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: .875rem; letter-spacing: .04em; padding: 12px 28px; border-radius: 28px; border: 2px solid transparent; transition: all .22s; }
.btn--primary { background: var(--tandoor); color: var(--white); border-color: var(--tandoor); }
.btn--primary:hover { background: var(--saffron); border-color: var(--saffron); }
.btn--outline { background: transparent; color: var(--turmeric); border-color: var(--turmeric); }
.btn--outline:hover { background: var(--turmeric); color: var(--charcoal); }
.btn--sm { padding: 8px 18px; font-size: .8rem; }

/* ── CARDS ───────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: transform .22s, box-shadow .22s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--cream-dark); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, var(--cream-dark), var(--cream)); }
.card__body { padding: 20px 22px 24px; }
.card__tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tandoor); background: #FDF0E4; padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.card__tag--green { color: var(--coriander); background: #EAF3EC; }
.card__title { font-family: var(--font-head); font-size: 1.15rem; color: var(--charcoal); margin-bottom: 8px; line-height: 1.35; }
.card__excerpt { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.card__meta { font-size: .75rem; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.card__meta span::before { content: '·'; margin-right: 12px; }
.card__meta span:first-child::before { display: none; }

/* ── SECTION LABELS ──────────────────────────────────── */
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tandoor); margin-bottom: 10px; }
.section-title { font-family: var(--font-head); color: var(--charcoal); margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin-bottom: 40px; }

/* ── DIVIDER ─────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 60px 0; }
.divider--spice { border: none; border-top: 2px solid var(--tandoor); width: 48px; margin: 16px 0 24px; }

/* ── CATEGORY STRIP ──────────────────────────────────── */
.cat-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-pill { font-size: .8rem; font-weight: 700; letter-spacing: .04em; padding: 7px 18px; border-radius: 24px; border: 1.5px solid var(--border); color: var(--muted); background: var(--white); transition: all .2s; cursor: pointer; }
.cat-pill:hover, .cat-pill.active { background: var(--tandoor); color: var(--white); border-color: var(--tandoor); }

/* ── PAGINATION ──────────────────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 56px; }
.pagination a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--border); font-size: .875rem; color: var(--muted); transition: all .2s; }
.pagination a:hover, .pagination a.active { background: var(--tandoor); color: var(--white); border-color: var(--tandoor); }

/* ── FOOTER ──────────────────────────────────────────── */
.footer { background: var(--charcoal); color: #b09070; padding: 60px 0 32px; margin-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__logo { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--turmeric); margin-bottom: 12px; }
.footer__logo span { color: var(--saffron); }
.footer__desc { font-size: .875rem; color: #7a6855; line-height: 1.7; max-width: 240px; }
.footer__heading { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--turmeric); margin-bottom: 16px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: .875rem; color: #7a6855; transition: color .2s; }
.footer__links a:hover { color: var(--turmeric); }
.footer__bottom { border-top: 1px solid #2e1f10; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: #5a4535; }
.footer__bottom a { color: var(--tandoor); }

/* ── BREADCRUMB ──────────────────────────────────────── */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--tandoor); }
.breadcrumb span { color: var(--muted); }

/* ── FORM ELEMENTS ───────────────────────────────────── */
.input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); font-family: var(--font-body); font-size: 1rem; color: var(--text); transition: border .2s; outline: none; }
.input:focus { border-color: var(--tandoor); }
textarea.input { resize: vertical; min-height: 140px; }
.label { font-size: .85rem; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; display: block; }
.form-group { margin-bottom: 20px; }

/* ── SEARCH BAR ──────────────────────────────────────── */
.search-bar { display: flex; border: 2px solid var(--border); border-radius: 32px; overflow: hidden; background: var(--white); transition: border .2s; }
.search-bar:focus-within { border-color: var(--tandoor); }
.search-bar input { flex: 1; padding: 12px 20px; border: none; outline: none; font-family: var(--font-body); font-size: 1rem; background: transparent; }
.search-bar button { background: var(--tandoor); color: var(--white); border: none; padding: 12px 24px; font-weight: 700; font-size: .875rem; transition: background .2s; }
.search-bar button:hover { background: var(--saffron); }

/* ── POST BODY ───────────────────────────────────────── */
.post-body { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.post-body h2 { font-family: var(--font-head); font-size: 1.7rem; margin: 2em 0 .6em; color: var(--charcoal); }
.post-body h3 { font-family: var(--font-head); font-size: 1.3rem; margin: 1.6em 0 .5em; color: var(--charcoal); }
.post-body p { margin-bottom: 1.4em; }
.post-body ul, .post-body ol { margin: 0 0 1.4em 1.5em; }
.post-body li { margin-bottom: .5em; }
.post-body blockquote { border-left: 3px solid var(--saffron); padding: 16px 24px; margin: 2em 0; background: #FDF0E4; border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-serif); font-style: italic; color: var(--charcoal); font-size: 1.1rem; }
.post-body img { border-radius: var(--radius-lg); margin: 2em 0; }
.post-body a { color: var(--tandoor); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.post-body a:hover { text-decoration-color: var(--tandoor); }

/* ── RECIPE CARD ─────────────────────────────────────── */
.recipe-meta { display: flex; gap: 24px; flex-wrap: wrap; background: var(--cream-dark); border-radius: var(--radius-lg); padding: 20px 24px; margin: 24px 0; }
.recipe-meta__item { text-align: center; }
.recipe-meta__label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.recipe-meta__value { font-family: var(--font-head); font-size: 1.2rem; color: var(--tandoor); }

/* ── TAG CLOUD ───────────────────────────────────────── */
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 16px; background: var(--cream-dark); color: var(--muted); border: 1px solid var(--border); }
.tag--tandoor { background: #FDF0E4; color: var(--tandoor); border-color: #F5C8A4; }

/* ── NEWSLETTER ──────────────────────────────────────── */
.newsletter { background: var(--charcoal); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.newsletter h2 { color: var(--turmeric); margin-bottom: 10px; font-size: 1.8rem; }
.newsletter p { color: #b09070; margin-bottom: 28px; }
.newsletter__form { display: flex; max-width: 420px; margin: 0 auto; border-radius: 32px; overflow: hidden; border: 2px solid #3a2818; }
.newsletter__form input { flex: 1; padding: 12px 20px; background: #2a1a0e; border: none; outline: none; color: var(--white); font-family: var(--font-body); }
.newsletter__form input::placeholder { color: #5a4535; }
.newsletter__form button { background: var(--tandoor); color: var(--white); border: none; padding: 12px 22px; font-weight: 700; font-size: .875rem; transition: background .2s; }
.newsletter__form button:hover { background: var(--saffron); }

/* ── SIDEBAR ─────────────────────────────────────────── */
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 48px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-widget__title { font-family: var(--font-head); font-size: 1.1rem; color: var(--charcoal); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--tandoor); }

/* ── UTILITY ─────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.py-80 { padding: 80px 0; }
.py-60 { padding: 60px 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── ANIMATIONS ──────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s ease both; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  }
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--charcoal); padding: 24px; gap: 20px; border-bottom: 2px solid var(--tandoor); }
  .nav__hamburger { display: flex; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .newsletter { padding: 32px 20px; }
  .newsletter__form { flex-direction: column; border-radius: var(--radius-lg); }
  .newsletter__form button { width: 100%; padding: 14px; }
  }
