:root {
  --ink: #1b2a22;
  --ink-soft: #3d5348;
  --forest: #234338;
  --leaf: #3f7a5c;
  --mist: #e8efe8;
  --paper: #f3ead8;
  --cream: #fffaf3;
  --sand: #efe4d2;
  --clay: #c45c32;
  --gold: #c9923a;
  --line: rgba(35, 67, 56, 0.12);
  --shadow: 0 18px 50px rgba(27, 42, 34, 0.1);
  --shadow-hover: 0 22px 48px rgba(27, 42, 34, 0.16);
  --radius: 22px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --muted: var(--ink-soft);
  --font-display: "Fraunces", "Noto Serif Telugu", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: "Source Sans 3", "Noto Sans Telugu", "Noto Sans Devanagari", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 620px at 8% -12%, rgba(126, 165, 140, 0.28), transparent 58%),
    radial-gradient(900px 520px at 100% 0%, rgba(201, 146, 58, 0.18), transparent 52%),
    radial-gradient(700px 400px at 50% 100%, rgba(196, 92, 50, 0.06), transparent 60%),
    var(--paper);
  line-height: 1.65;
  -webkit-user-select: none;
  user-select: none;
}
html[lang="te"] body { font-family: "Noto Sans Telugu", "Source Sans 3", sans-serif; }
html[lang="hi"] body { font-family: "Noto Sans Devanagari", "Source Sans 3", sans-serif; }
html[lang="te"] :is(h1, h2, h3, h4, .brand-name, .eyebrow) {
  font-family: "Noto Serif Telugu", "Fraunces", Georgia, serif;
}
html[lang="hi"] :is(h1, h2, h3, h4, .brand-name, .eyebrow) {
  font-family: "Noto Serif Devanagari", "Fraunces", Georgia, serif;
}
html[lang="te"] .eyebrow,
html[lang="hi"] .eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
}

img { max-width: 100%; display: block; }
.shot { width: 100%; object-fit: cover; }
.shot-hero { border-radius: 22px; max-height: 380px; margin-bottom: 28px; }
.shot-mid { border-radius: 18px; height: 240px; }
.shot-card { border-radius: 18px; height: 220px; }
.shot-thumb { border-radius: 14px; height: 160px; margin-bottom: 12px; }
.shot-pair { border-radius: 22px; height: 280px; }
.shot-soft { border-radius: 16px; height: 200px; margin-bottom: 14px; }
.shot-fill { border-radius: 22px; min-height: 280px; }
.shot-fig { margin: 0 0 28px; }
.shot-fig .shot-hero { margin-bottom: 0; }
.food-fig { margin: 0; }
.food-fig .shot { margin-bottom: 0; }
.shot-fig figcaption,
.food-fig figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
}
a { color: var(--leaf); }
h1, h2, h3, h4, .brand-name, .eyebrow {
  font-family: "Fraunces", "Noto Serif Telugu", Georgia, serif;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 20; }

.disclaimer-bar {
  background: #3a2a16;
  color: #f4e7c8;
  font-size: 0.92rem;
  padding: 10px 18px;
  text-align: center;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest);
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e8c56a, var(--leaf) 55%, var(--forest));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(35, 67, 56, 0.25);
}
.brand-name { font-size: 1.25rem; line-height: 1.1; }
.brand-sub { display: block; font-size: 0.78rem; color: var(--ink-soft); font-family: "Source Sans 3", sans-serif; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  justify-content: flex-end;
}
.nav-links > li { flex-shrink: 0; }
.nav-links a,
.nav-drop-btn {
  display: inline-block;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active,
.nav-drop-btn:hover,
.nav-drop.open .nav-drop-btn,
.nav-drop-btn.active {
  background: var(--mist);
  color: var(--forest);
}
.nav-links a.nav-donate {
  background: var(--clay);
  color: #fff;
  border: 1px solid transparent;
  padding: 5px 12px;
}
.nav-links a.nav-donate:hover,
.nav-links a.nav-donate.active {
  background: #a84c28;
  color: #fff;
}
.nav-drop { position: relative; }
.nav-drop-list {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 168px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 30;
  flex-direction: column;
  gap: 2px;
}
.nav-drop.open .nav-drop-list { display: flex; }
.nav-links a.nav-diet {
  color: var(--forest);
  font-weight: 700;
}
.nav-links a.nav-diet:hover,
.nav-links a.nav-diet.active {
  background: rgba(196, 92, 50, 0.14);
  color: var(--clay);
}
.nav-drop-list a {
  border-radius: 10px;
  padding: 10px 12px;
}
.nav-drop-list a:hover,
.nav-drop-list a.active {
  background: var(--mist);
}
.nav-drop-btn::after {
  content: " ▾";
  font-size: 0.72em;
  opacity: 0.65;
}
.nav-toggle {
  display: none;
  border: 0;
  background: var(--forest);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 44px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] > span:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
.nav-backdrop {
  display: none;
}
.lang-switch {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.lang-switch button {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--forest);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.lang-switch button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(35, 67, 56, 0.12);
}
.lang-switch button[aria-pressed="true"] {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  place-items: end start;
  color: #fff;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 32, 26, 0.58) 0%, rgba(18, 32, 26, 0.12) 48%, rgba(58, 42, 22, 0.42) 100%),
    linear-gradient(180deg, rgba(18, 32, 26, 0.08), rgba(18, 32, 26, 0.82));
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 72px 28px 64px;
}
.hero-brand {
  margin: 0 0 14px;
  font-family: "Fraunces", "Noto Serif Telugu", Georgia, serif;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  animation: brandIn 1.1s var(--ease) both;
}
.eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #f0d48a;
  margin: 0 0 10px;
}
.section-head .eyebrow,
.band-inner .eyebrow {
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.8rem);
  line-height: 1.08;
  margin: 0 0 16px;
  font-weight: 560;
  text-wrap: balance;
}
.hero p { font-size: 1.15rem; max-width: 58ch; color: #f4efe6; }
.hero .btn-ghost,
.page-hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 10px 24px rgba(196, 92, 50, 0.28); }
.btn-primary:hover { background: #a84c28; }
.btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-line { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 64px 22px; }
.wrap.tight-top { padding-top: 28px; }
.wrap.compact { padding-top: 40px; padding-bottom: 24px; }
.flush { margin: 0; }
.lead-wide { line-height: 2.1; }
.media-row { margin: 0 0 28px; }
.stack { margin-top: 16px; }
.page-more { margin-top: 28px; }
.pair { margin: 16px 0; }
.tight { margin-top: 12px; }
.gap { margin-top: 14px; }
.spaced { margin-top: 18px; }
.subhead { margin-top: 22px; }
.room { margin-top: 24px; }
.alert-gap { margin-top: 32px; }
.section-gap { margin-top: 36px; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--clay));
  border-radius: 2px;
  flex-shrink: 0;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 0 0 10px; color: var(--forest); text-wrap: balance; }
.muted { color: var(--muted); }

.grid-3, .grid-2 {
  display: grid;
  gap: 22px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid { gap: 24px; }
.home-highlights {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-highlights li {
  background:
    linear-gradient(160deg, rgba(255, 250, 243, 0.98), rgba(232, 239, 232, 0.55)),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.home-highlights li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.home-highlights li:nth-child(1) { border-top: 3px solid var(--clay); }
.home-highlights li:nth-child(2) { border-top: 3px solid var(--leaf); }
.home-highlights li:nth-child(3) { border-top: 3px solid var(--gold); }
.home-highlights strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 4px;
}
.home-highlights span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.card, .ex-card, .proto {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
a.card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card { padding: 0; }
a.card { text-decoration: none; color: inherit; }
.card-body, .ex-copy, .proto { padding: 22px; }
.card h3, .ex-card h3 { margin: 0 0 8px; color: var(--forest); }
.card img, .ex-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card img { height: 220px; }
a.card:hover img,
.feature-card:hover img {
  transform: scale(1.05);
}
.feature-card img { height: 260px; }
.feature-card .card-body .btn { margin-top: 6px; }
.feature-card.feature-spotlight {
  border-color: rgba(196, 92, 50, 0.28);
  box-shadow: 0 20px 48px rgba(196, 92, 50, 0.12);
}
.feature-card.feature-spotlight:hover {
  box-shadow: 0 26px 54px rgba(196, 92, 50, 0.18);
}
.feature-card.feature-spotlight .tag {
  background: linear-gradient(135deg, rgba(196, 92, 50, 0.16), rgba(201, 146, 58, 0.22));
  color: var(--clay);
}
.feature-card .card-body {
  background: linear-gradient(180deg, var(--cream), rgba(239, 228, 210, 0.35));
}

.lang-welcome {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 12px;
}
.lang-welcome-mark {
  margin: 0;
  font-family: "Fraunces", "Noto Serif Telugu", "Noto Serif Devanagari", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--forest);
  letter-spacing: 0.08em;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(126, 165, 140, 0.22), rgba(201, 146, 58, 0.16)),
    var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lang-welcome h2 {
  margin: 0 0 6px;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(35, 67, 56, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.back-top.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.back-top:hover { background: var(--leaf); }
.tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--mist), rgba(201, 146, 58, 0.18));
  color: var(--forest);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.band-soft {
  background:
    linear-gradient(120deg, rgba(35, 67, 56, 0.06), rgba(201, 146, 58, 0.08)),
    var(--sand);
  border-block: 1px solid var(--line);
}
.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.band-inner h2 { margin: 0 0 8px; color: var(--forest); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.band-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(35, 67, 56, 0.94), rgba(63, 122, 92, 0.88));
  color: #fff;
  box-shadow: var(--shadow);
}
.band-cta h3 { margin: 0 0 6px; color: #fff; }
.band-cta p { margin: 0; color: rgba(255,255,255,0.88); max-width: 52ch; }
.band-cta .btn-primary { background: #fff; color: var(--forest); }
.band-cta .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.page-hero {
  background:
    linear-gradient(115deg, rgba(35,67,56,0.82), rgba(196,92,50,0.42)),
    url("../images/hero-bones.webp") center/cover;
  color: #fff;
  padding: 96px 22px 76px;
  box-shadow: inset 0 -1px 0 rgba(240, 212, 138, 0.18);
}
.page-hero.alt {
  background:
    linear-gradient(120deg, rgba(35,67,56,0.86), rgba(61,83,72,0.55)),
    url("../images/food-millets.webp") center/cover;
}
.page-hero.kashaya {
  background:
    linear-gradient(120deg, rgba(35,67,56,0.86), rgba(196,92,50,0.45)),
    url("../images/food-kashaya.webp") center/cover;
}
.page-hero.sun {
  background:
    linear-gradient(120deg, rgba(58,42,22,0.72), rgba(201,146,58,0.4)),
    url("../images/sunrise-d.webp") center/cover;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 8px 0 12px; text-wrap: balance; }
.page-hero p { max-width: 68ch; font-size: 1.1rem; }
.page-hero .wrap { padding: 0; }

.about-hero { min-height: 78vh; }
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 36px;
  align-items: center;
}
.about-split-photo { margin: 0; }
.about-split-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-split-photo figcaption {
  margin-top: 10px;
  color: var(--ink-soft);
}
.about-note-stack {
  display: grid;
  gap: 14px;
}
.about-quote {
  max-width: var(--max);
  width: calc(100% - 44px);
  margin: 12px auto 8px;
  padding: 56px 32px;
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(18, 32, 26, 0.72), rgba(58, 42, 22, 0.48)),
    url("../images/food-greens.webp") center/cover;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-quote blockquote {
  margin: 0 auto;
  max-width: 42ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 560;
  line-height: 1.35;
  text-wrap: balance;
}
.about-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: about-step;
}
.about-steps li {
  counter-increment: about-step;
  position: relative;
  padding: 14px 16px 14px 62px;
  margin: 0 0 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.about-steps li::before {
  content: counter(about-step);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  display: grid;
  place-items: center;
}

.ex-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  margin: 22px 0;
}
.ex-card img { height: 100%; min-height: 280px; }
.ex-card figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  background: var(--forest);
}
.ex-card figure img {
  flex: 1 1 auto;
  width: 100%;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.ex-card figcaption {
  margin: 0;
  padding: 10px 14px 12px;
  background: var(--forest);
  color: #f4efe6;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}
.steps { margin: 12px 0 0; padding-left: 18px; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.meta span {
  background: var(--sand);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.callout {
  background: #fff6e8;
  border-left: 5px solid var(--gold);
  padding: 16px 18px;
  border-radius: 12px;
  margin: 18px 0;
}
.warn {
  background: #fff1ec;
  border-left: 5px solid var(--clay);
}
.proto.warn {
  background: #fff8f5;
  border: 1px solid rgba(196, 92, 50, 0.22);
  border-left: 5px solid var(--clay);
}

.table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--forest); color: #fff; }

.recipe ol { padding-left: 20px; }
.leaf-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}
.leaf-list li {
  background: var(--mist);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  color: var(--forest);
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(201, 146, 58, 0.16), transparent 18px),
    var(--forest);
  color: #e8efe8;
  padding: 48px 22px;
  margin-top: 24px;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 24px;
}
.legal-copy { max-width: 72ch; }
.legal-copy h2 { margin-top: 1.7em; color: var(--forest); }
.legal-copy p,
.legal-copy li { color: var(--ink-soft); }
.article-copy { max-width: 72ch; margin: 0 0 28px; }
.article-copy h2 { margin: 0 0 12px; color: var(--forest); }
.article-copy p { color: var(--ink-soft); margin: 0 0 1em; line-height: 1.7; }
.article-copy p:last-child { margin-bottom: 0; }
.legal-meta {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: rgba(255, 250, 243, 0.82);
}
.site-footer a { color: #f0d48a; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.tiny { font-size: 0.88rem; opacity: 0.9; }
.footer-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.footer-links li { margin: 6px 0; }

.contact-box { max-width: 760px; }
.contact-box > h2 { margin-top: 0; }
.contact-box > p { margin-top: 0; }

.donate-box { max-width: 820px; }
.donate-qr {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 28px;
  align-items: center;
}
.donate-qr figure {
  margin: 0;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.donate-qr img {
  width: 100%;
  height: auto;
  display: block;
}
.donate-qr figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
}
.donate-steps {
  margin: 0;
  padding-left: 18px;
}
.donate-steps li { margin: 8px 0; }
@media print {
  .donate-qr figure { box-shadow: none; }
}
.contact-honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: var(--forest);
  font-size: 0.92rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(63, 122, 92, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-message { display: flex; flex-direction: column; gap: 6px; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.contact-mail-link {
  display: inline-block;
  background: var(--sand);
  color: var(--forest);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  text-decoration: none;
}
.contact-status { margin: 14px 0 0; font-weight: 600; }
.contact-status.ok { color: var(--leaf); }
.contact-status.err { color: var(--clay); }

.dc-results { margin-top: 32px; }
.dc-nutrients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.dc-nutrient {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}
.dc-nutrient:hover { transform: translateY(-3px); }
.dc-nutrient-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
  opacity: 0.85;
}
.dc-nutrient-value {
  font-family: Fraunces, "Noto Serif Telugu", "Noto Serif Devanagari", serif;
  font-size: 1.35rem;
  color: var(--ink);
}

.dp-week-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.dp-tab {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  border-radius: 999px;
  padding: 10px 16px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.dp-tab:hover { transform: translateY(-1px); }
.dp-tab.is-active {
  background: var(--forest);
  color: #fff;
}
.dp-day { margin-top: 18px; }
.dp-meal-block {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.dp-meal-block.dp-nv {
  border-left: 4px solid var(--clay);
}
.dp-meal-block h4 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 1rem;
}
.dp-meal-block ul {
  margin: 0;
  padding-left: 18px;
}
.dp-meal-block li { margin: 6px 0; }

.bm-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}
.bm-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 72px;
  z-index: 5;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 12px;
  padding-bottom: 12px;
}
.bm-jump .dp-tab {
  text-decoration: none;
}
.dp-ex-card { overflow: hidden; }
.dp-ex-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}
@keyframes brandIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* —— Start here: habits card, checklist, seasons —— */
.habits-card {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(196, 154, 74, 0.12), transparent 55%),
    linear-gradient(165deg, #fffef9 0%, #f3ebe0 100%);
  border: 1px solid rgba(45, 90, 61, 0.18);
  border-radius: 20px;
  padding: 28px 26px 22px;
  box-shadow: 0 12px 40px rgba(28, 48, 36, 0.08);
  max-width: 720px;
}
.habits-card-top {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(45, 90, 61, 0.25);
}
.habits-card-brand {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.habits-card-top h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}
.habits-card-top p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.habits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.habits-grid h4 {
  margin: 0 0 6px;
  color: var(--forest);
  font-size: 1.05rem;
}
.habits-grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}
.habits-card-foot {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed rgba(45, 90, 61, 0.2);
  font-size: 0.82rem;
  color: var(--muted);
}

.week-check {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
}
.week-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(45, 90, 61, 0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.week-row:hover {
  border-color: rgba(45, 90, 61, 0.28);
  background: #fff;
}
.week-row input {
  margin-top: 3px;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--forest);
  flex-shrink: 0;
}
.week-row:has(input:checked) {
  background: rgba(45, 90, 61, 0.07);
  border-color: rgba(45, 90, 61, 0.3);
}
.week-row:has(input:checked) span {
  text-decoration: line-through;
  opacity: 0.72;
}

.season-card.is-now {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  background: linear-gradient(165deg, #fffef9, rgba(45, 90, 61, 0.06));
}
.season-now-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.plate-compare .plate-shot {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(45, 90, 61, 0.12);
}
.plate-compare .plate-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.plate-compare figcaption {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plate-compare figcaption strong {
  color: var(--forest);
  font-size: 1.05rem;
}
.plate-compare figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Soft anti-copy: text not selectable; forms remain usable */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

@media print {
  .site-header, .site-footer, .disclaimer-bar, .skip, .bm-jump,
  .back-top, .actions, .btn, .lang-switch {
    display: none !important;
  }
  body.print-habits-only .page-hero,
  body.print-habits-only #week,
  body.print-habits-only #season,
  body.print-habits-only .section-head,
  body.print-habits-only main > p,
  body.print-habits-only hr {
    display: none !important;
  }
  body.print-habits-only .habits-card {
    box-shadow: none;
    border: 1px solid #333;
    max-width: 100%;
  }
  body {
    -webkit-user-select: text;
    user-select: text;
  }
}

.guide-box { max-width: 760px; }
.ai-templates-label {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--forest);
  font-size: 0.92rem;
}
.ai-templates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ai-chip {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--forest);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.ai-chip:hover,
.ai-chip.active {
  background: var(--mist);
  border-color: var(--forest);
}
.guide-ask {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.guide-ask input {
  flex: 1 1 220px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.guide-ask input:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(63, 122, 92, 0.18);
}
.guide-out {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.guide-out .badge {
  display: inline-block;
  background: var(--mist);
  color: var(--forest);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.guide-out pre {
  margin: 0;
  white-space: pre-wrap;
  font: inherit;
  line-height: 1.6;
}
.guide-advanced {
  margin-top: 22px;
  color: var(--ink-soft);
}
.guide-advanced summary { cursor: pointer; font-weight: 700; color: var(--forest); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero img { animation: none; transform: none; }
  .hero-brand { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover,
  a.card:hover,
  .feature-card:hover { transform: none; }
  a.card:hover img,
  .feature-card:hover img { transform: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "lang lang";
    gap: 10px 12px;
    align-items: center;
    padding: 10px 16px;
  }
  .brand { grid-area: brand; }
  .nav-toggle { grid-area: toggle; }
  .lang-switch {
    grid-area: lang;
    width: 100%;
    justify-content: stretch;
  }
  .lang-switch button { flex: 1; min-height: 40px; }
  .nav-links {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    background: #fff;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 8px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 20;
    max-width: none;
    max-height: min(70vh, calc(100dvh - 8rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-drop,
  .nav-drop-list { display: contents; }
  .nav-drop-btn { display: none; }
  .nav-links a {
    display: block;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 12px;
  }
  .nav-links a.nav-donate {
    margin-top: 6px;
    text-align: center;
    background: var(--mist);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 42, 34, 0.34);
    cursor: pointer;
  }
}

@media (max-width: 900px) {
  .dc-nutrients { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .ex-card, .footer-grid {
    grid-template-columns: 1fr;
  }
  .lang-welcome {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lang-welcome-mark { justify-self: center; }
  .home-highlights { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-split-photo img { height: 280px; }
  .about-quote { margin-inline: 16px; padding: 40px 22px; }
  .bm-jump {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    top: 64px;
    scrollbar-width: thin;
  }
  .bm-jump .dp-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}
@media (max-width: 700px) {
  .disclaimer-bar {
    font-size: 0.8rem;
    padding: 8px 12px;
    line-height: 1.4;
  }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.08rem; }
  .brand-mark { width: 36px; height: 36px; }
  .wrap { padding: 40px 16px; }
  .page-hero { padding: 52px 16px 36px; }
  .hero-copy { padding: 48px 16px 40px; }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn,
  .page-more .btn {
    justify-content: center;
    width: 100%;
  }
  .page-more {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .habits-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .donate-qr { grid-template-columns: 1fr; }
  .donate-qr figure {
    max-width: 280px;
    margin-inline: auto;
  }
  .table-wrap table {
    font-size: 0.9rem;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 10px 12px;
  }
  .bm-rule { margin: 32px 0; }
  .bm-jump { top: 118px; }
}
@media (max-width: 500px) {
  .dc-nutrients { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
}
