:root {
  --cream: #f2faf9;
  --paper: #ffffff;
  --ink: #1b2422;
  --ink-soft: #526460;
  --saffron: #ff6f59;
  --saffron-dark: #d9432c;
  --terracotta: #e8590c;
  --deep-red: #b8380a;
  --gold: #ffa94d;
  --line: #d8ece8;
  --shadow: 0 10px 30px rgba(232, 89, 12, 0.16);
  --radius: 14px;
  --serif: 'Georgia', 'Iowan Old Style', 'Palatino Linotype', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.01em;
}
.brand span { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 4px;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0 4px;
    gap: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 62vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,22,0.08) 0%, rgba(6,20,18,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 40px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-content .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.hero-content h1 { color: #fff; margin-bottom: 10px; }
.hero-content p { color: #ddf2ee; max-width: 560px; font-size: 1.1rem; }

.hero.small { height: 42vh; min-height: 280px; }

/* ---------- Word mark (khaana pronunciation) ---------- */
.word-mark-section { padding-top: 48px; padding-bottom: 8px; }

.word-mark {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.word-mark-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.word-mark-title-hi {
  font-family: 'Kohinoor Devanagari', 'Noto Sans Devanagari', 'Mangal', var(--serif);
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--terracotta);
}

.word-mark-title-sep { color: var(--gold); font-size: 1rem; }

.word-mark-title-en {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--ink);
}

.word-mark-syllables {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.syllable-dev {
  font-family: 'Kohinoor Devanagari', 'Noto Sans Devanagari', 'Mangal', var(--serif);
  font-size: clamp(1.8rem, 5.5vw, 2.4rem);
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1.1;
}

.syllable-rom {
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.syllable-sep {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  transform: translateY(-10px);
}

.word-mark-caption {
  margin: 10px 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.tight { padding: 40px 0; }

.section-head { max-width: 720px; margin: 0 0 36px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 8px;
}

/* ---------- Cuisine grid (home page) ---------- */
.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.cuisine-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cuisine-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(232,89,12,0.24); }
.cuisine-card a { color: inherit; text-decoration: none; display: block; }
.cuisine-card .thumb { height: 200px; overflow: hidden; }
.cuisine-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.3s ease; }
.cuisine-card:hover .thumb img { transform: scale(1.04); }
.cuisine-card .body { padding: 16px 18px 20px; }
.cuisine-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.cuisine-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0; }
.cuisine-card .region-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron-dark);
  background: #ffe4df;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Article layout (cuisine pages) ---------- */
.article-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.article-grid .prose h2 { margin-top: 1.4em; }
.article-grid .prose h2:first-child { margin-top: 0; }

.fact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: sticky;
  top: 96px;
}
.fact-panel h3 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.fact-panel dl { margin: 0; }
.fact-panel dt { font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; margin-top: 12px; }
.fact-panel dt:first-child { margin-top: 0; }
.fact-panel dd { margin: 2px 0 0; font-size: 1.02rem; }

.dish-list { list-style: none; padding: 0; margin: 0; }
.dish-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem;
}
.dish-list li:last-child { border-bottom: none; }
.dish-list strong { color: var(--terracotta); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 240px; object-fit: cover; }
.gallery figcaption {
  background: var(--paper);
  padding: 10px 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

@media (max-width: 760px) {
  .article-grid { grid-template-columns: 1fr; }
  .fact-panel { position: static; }
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Regional map (home page) ---------- */
.regional-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}
.region-map-wrap { text-align: center; }
.region-map-wrap img { width: 100%; max-width: 340px; height: auto; }
.region-map-caption { font-size: 0.85rem; color: var(--ink-soft); margin: 10px 0 0; }
.region-map-legend {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 14px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.region-map-legend li { display: flex; align-items: center; gap: 7px; }
.region-map-legend .swatch { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }

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

/* ---------- Pull quote ---------- */
.pull-quote {
  border-left: 4px solid var(--saffron);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0e2724;
  color: #e8ddd3;
  padding: 44px 0 28px;
  margin-top: 40px;
}
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer h4 { color: #fff; font-family: var(--serif); margin-bottom: 10px; }
.site-footer a { color: var(--gold); }
.site-footer .foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.97rem; }
.site-footer .credit-line { width: 100%; border-top: 1px solid #3a2a1f; margin-top: 28px; padding-top: 18px; font-size: 0.88rem; color: #a8927e; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
}
.btn:hover { background: var(--deep-red); text-decoration: none; }
