:root {
  --ink: #f6f1e7;          /* warm cream */
  --ink-dim: rgba(246, 241, 231, 0.62);
  --bg: #0c0a08;           /* charcoal kitchen-slate */
  --gold: #e8a020;         /* turmeric */
  --chili: #c8461f;        /* chili terracotta */
  --green: #7fa650;        /* moringa leaf */
  --wa: #25d366;           /* WhatsApp */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --script: "Caveat", cursive;
}

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

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

/* ---------- Fixed nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.9);
  background: linear-gradient(180deg, rgba(6, 5, 3, 0.72), transparent);
}
.nav-brand, .nav-home { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.nav-brand .script, .nav-home .script {
  font-family: var(--script);
  font-size: 26px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold);
}
.tamil-dim { font-size: 11px; letter-spacing: 0.05em; color: var(--ink-dim); text-transform: none; }
.nav-links { display: flex; gap: 24px; }
.nav a { color: inherit; text-decoration: none; transition: color 0.25s; }
.nav a:hover { color: var(--gold); }
.nav-cta {
  border: 1px solid rgba(246, 241, 231, 0.5);
  border-radius: 999px;
  padding: 7px 18px;
}

/* ---------- Hero — looping video ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 80% at 50% 40%, transparent 35%, rgba(6, 5, 3, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 5, 3, 0.55) 0%, rgba(6, 5, 3, 0.25) 30%, rgba(6, 5, 3, 0.35) 70%, rgba(6, 5, 3, 0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
}
.hero-script {
  font-family: var(--script);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--gold);
  margin-bottom: 6px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 11vw, 8rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 60px rgba(6, 5, 3, 0.8);
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--gold); }
.hero-tamil {
  margin-top: 10px;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.25em;
  color: var(--ink-dim);
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(246, 241, 231, 0.82);
  text-shadow: 0 2px 30px rgba(6, 5, 3, 0.9);
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-solid { background: var(--gold); color: #21150a; }
.btn-solid:hover { transform: translateY(-2px); background: #f4b944; }
.btn-ghost {
  border: 1px solid rgba(246, 241, 231, 0.45);
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold); }
.btn-wa { background: var(--wa); color: #06230f; }
.btn-wa:hover { background: #3ce07c; }

.hero-badges {
  position: absolute;
  bottom: 58px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 92vw;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.68);
}
.hero-badges i { font-style: normal; color: var(--gold); }

.scroll-hint {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-dim);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Cinematic scrub section ---------- */
.cinematic { position: relative; }
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 48%, rgba(5, 4, 2, 0.62) 100%),
    linear-gradient(180deg, rgba(5, 4, 2, 0.5) 0%, transparent 22%, transparent 72%, rgba(5, 4, 2, 0.7) 100%);
}
.overlay { position: relative; z-index: 10; width: 100%; height: 100%; }
.reveal-line {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 88vw;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  opacity: 0;
  text-shadow: 0 2px 50px rgba(5, 4, 2, 0.85);
  will-change: opacity, transform;
}
.reveal-line em {
  font-style: italic;
  font-weight: 600;
  color: var(--green);
}

/* ---------- Self-playing film section ---------- */
.film {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.film-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film .overlay { position: absolute; inset: 0; z-index: 10; }
.film-line {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 88vw;
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  opacity: 0;
  text-shadow: 0 2px 50px rgba(5, 4, 2, 0.85);
  will-change: opacity, transform;
}
.film-line em { font-style: italic; font-weight: 600; color: var(--green); }

/* ---------- Sound toggle ---------- */
.sound-btn {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(246, 241, 231, 0.35);
  background: rgba(12, 10, 8, 0.85);
  color: var(--ink-dim);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
.sound-btn:hover, .sound-btn.on { color: var(--gold); border-color: var(--gold); }

/* ---------- Content sections ---------- */
.statement, .products, .outro {
  position: relative;
  padding: 130px 24px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.statement h2, .products h2, .outro h2, .spotlight h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.18;
}
.spotlight h2 em, .outro h2 em { font-style: italic; font-weight: 600; color: var(--gold); }
.lede {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-dim);
}

/* stats */
.stats {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 7vw, 90px);
  margin-top: 70px;
  flex-wrap: wrap;
}
.stat { max-width: 200px; }
.stat-num {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--gold);
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-dim);
}

/* ---------- Product cards ---------- */
.card-row { display: grid; gap: 22px; margin-top: 60px; }
.card-row.trio { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-row.grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card {
  text-align: left;
  padding: 24px;
  border: 1px solid rgba(246, 241, 231, 0.12);
  border-radius: 18px;
  background: rgba(246, 241, 231, 0.03);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(232, 160, 32, 0.5); }
.card-photo {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
.card-swatch {
  position: relative;
  height: 120px;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.swatch-word {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
/* label-matched palettes from the IWA catalog */
.swatch-idli     { background: radial-gradient(130% 140% at 25% 15%, #3f7d3a, #123b16 75%); }
.swatch-turmeric { background: radial-gradient(130% 140% at 25% 15%, #f2903c, #b53516 75%); }
.swatch-curry    { background: radial-gradient(130% 140% at 25% 15%, #b9dba0, #5c8a44 75%); }
.swatch-curry .swatch-word, .swatch-sundal .swatch-word, .swatch-rasam .swatch-word { color: #1d3312; text-shadow: none; }
.swatch-sundal   { background: radial-gradient(130% 140% at 25% 15%, #cfe8b6, #7fa650 75%); }
.swatch-moringa  { background: radial-gradient(130% 140% at 25% 15%, #a7c877, #3f6425 75%); }
.swatch-paruppu  { background: radial-gradient(130% 140% at 25% 15%, #8a5a2c, #2e1a0c 75%); }
.swatch-tiffin   { background: radial-gradient(130% 140% at 25% 15%, #7b4a9e, #2c1548 75%); }
.swatch-sambar   { background: radial-gradient(130% 140% at 25% 15%, #f3c93e, #b3741a 75%); }
.swatch-rasam    { background: radial-gradient(130% 140% at 25% 15%, #c6e3a8, #6f9a4b 75%); }
.swatch-murukku  { background: radial-gradient(130% 140% at 25% 15%, #8e57b0, #3a1b55 75%); }
.swatch-dhaniya  { background: radial-gradient(130% 140% at 25% 15%, #d9c0e8, #8a63a5 75%); }
.swatch-dhaniya .swatch-word { color: #33204a; text-shadow: none; }
.swatch-chilli   { background: radial-gradient(130% 140% at 25% 15%, #f4d03a, #cf8c12 75%); }
.swatch-chilli .swatch-word { color: #5c2c07; text-shadow: none; }

.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; }
.tamil-name { margin: 4px 0 10px; font-size: 0.85rem; color: var(--ink-dim); }
.card p { font-size: 0.92rem; line-height: 1.6; color: var(--ink-dim); }
.card .price { display: block; margin-top: 14px; }
.price { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--gold); }

/* ---------- Turmeric spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 130px;
}
.spotlight-media {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(246, 241, 231, 0.1);
}
.spotlight-media video { display: block; width: 100%; height: auto; }
.spotlight-copy { text-align: left; }
.spotlight-copy .lede { margin-left: 0; }
.ticks {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: rgba(246, 241, 231, 0.82);
  font-size: 0.98rem;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.spotlight-buy {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---------- Outro / footer ---------- */
.outro { padding-bottom: 60px; }
.outro .hero-ctas { margin-top: 36px; }
.outro footer {
  margin-top: 100px;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 231, 0.55);
}
.foot-script {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--gold);
}
.foot-fine { font-size: 0.72rem; color: rgba(246, 241, 231, 0.35); }

.fine {
  margin-top: 30px;
  font-size: 0.75rem;
  color: rgba(246, 241, 231, 0.4);
}

/* ---------- Card links ---------- */
a.card { display: block; text-decoration: none; color: inherit; }

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile polish ---------- */
@media (max-width: 880px) {
  .spotlight { grid-template-columns: 1fr; padding-top: 20px; }
  .spotlight-copy { text-align: center; }
  .spotlight-copy .lede { margin: 28px auto 0; }
  .ticks { justify-items: center; }
  .spotlight-buy { justify-content: center; }
}
@media (max-width: 640px) {
  .nav { padding: 12px 16px; font-size: 11px; letter-spacing: 0.14em; }
  .nav-links { display: none; }
  .tamil-dim { display: none; }
  .statement, .products, .outro { padding: 90px 20px; }
  .stats { gap: 34px; }
  .hero-badges { bottom: 64px; font-size: 9px; letter-spacing: 0.2em; gap: 8px; }
  .br-desk { display: none; }
}
