/* ============================================================
   Pratidhi Foods — brand stylesheet
   Palette drawn from the Pratidhi logo & pack labels:
   label cream #F4EDA7 · Pratidhi maroon #A8231C · leaf green #7CB93E
   Type: Fraunces (display) · Karla (body) · Noto Sans Malayalam
   Signature: "jar label" cards with double maroon rules and
   arch-top photo frames, echoing the physical labels.
   ============================================================ */

:root {
  --cream:        #F4EDA7;   /* logo circle */
  --cream-soft:   #FAF5D8;
  --paper:        #FDFBEF;   /* page background */
  --white:        #FFFFFF;
  --maroon:       #A8231C;   /* Pratidhi red */
  --maroon-deep:  #7C1410;
  --maroon-ink:   #55100C;
  --leaf:         #7CB93E;
  --leaf-deep:    #47821F;
  --gold:         #E2A63B;   /* turmeric pack */
  --ink:          #3B2A1A;
  --ink-soft:     #7A6650;
  --line:         #E4D9A8;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Karla", "Segoe UI", sans-serif;
  --font-ml:      "Manjari", "Noto Sans Malayalam", sans-serif;

  --radius: 14px;
  --arch: 160px 160px 14px 14px;
  --shadow: 0 10px 30px -12px rgba(85, 16, 12, .18);
  --shadow-lift: 0 18px 44px -14px rgba(85, 16, 12, .28);
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

:lang(ml), .ml { font-family: var(--font-ml); }

img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-deep); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--maroon-ink); line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 560; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 540; }
h3 { font-size: 1.22rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--maroon); font-weight: 480; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--leaf-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--leaf);
  border-radius: 2px;
}

.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--maroon); color: var(--cream); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--maroon-deep); color: var(--cream); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn--ghost { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--ghost:hover { background: var(--maroon); color: var(--cream); }
.btn--leaf { background: var(--leaf-deep); color: #fff; }
.btn--leaf:hover { background: #3c6f19; color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 251, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--cream); box-shadow: 0 3px 10px rgba(85,16,12,.15);
}
.brand-name {
  font-family: var(--font-display); font-weight: 640; font-size: 1.35rem;
  color: var(--maroon); line-height: 1;
}
.brand-tag { font-size: .72rem; letter-spacing: .08em; color: var(--ink-soft); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  font-weight: 700; font-size: .98rem; color: var(--ink);
  padding: 6px 2px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--maroon); transition: right .22s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--maroon); }

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; margin: 5px auto;
  background: var(--maroon); border-radius: 2px; transition: .25s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(244,237,167,.9), transparent 65%),
    radial-gradient(700px 420px at -10% 110%, rgba(124,185,62,.14), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding: 72px 0 84px;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 8px; }
.hero-ml {
  font-family: var(--font-ml); font-size: 1.15rem; color: var(--leaf-deep);
  font-weight: 600; margin-bottom: 18px;
}
.hero-copy .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-proof { display: flex; gap: 34px; flex-wrap: wrap; }
.proof b {
  display: block; font-family: var(--font-display); font-size: 1.7rem;
  color: var(--maroon); font-weight: 620; line-height: 1.1;
}
.proof span { font-size: .85rem; color: var(--ink-soft); letter-spacing: .02em; }

/* arch photo collage — the jar-label arch */
.hero-collage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end;
  position: relative;
}
.arch {
  border-radius: var(--arch);
  overflow: hidden;
  border: 3px solid var(--white);
  outline: 1px solid var(--line);
  box-shadow: var(--shadow-lift);
  background: var(--white);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .arch:nth-child(1) { height: 400px; transform: translateY(-14px); }
.hero-collage .arch:nth-child(2) { height: 330px; }
.hero-stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg);
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--cream);
  border: 2px dashed var(--maroon);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 640; color: var(--maroon);
  font-size: .82rem; line-height: 1.25; padding: 14px;
  box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, -54%) rotate(-6deg); } }

/* ---------- Ticker (maroon pack stripe) ---------- */
.ticker {
  background: var(--maroon); color: var(--cream);
  overflow: hidden; padding: 13px 0; border-block: 3px solid var(--maroon-deep);
}
.ticker-track {
  display: flex; gap: 44px; width: max-content;
  animation: ticker 46s linear infinite;
  font-weight: 700; letter-spacing: .06em; font-size: .95rem; white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 44px; }
.ticker-track i { font-style: normal; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--cream { background: var(--cream-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 12px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Label cards (products) ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}
.label-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.label-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.label-card::after {           /* double rule, like the jar label */
  content: ""; position: absolute; inset: 7px;
  border: 1.5px solid rgba(168, 35, 28, .28);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.label-card .card-media {
  aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--cream-soft);
}
.label-card .card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.label-card:hover .card-media img { transform: scale(1.055); }
.card-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--cream); color: var(--maroon-deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(168,35,28,.25);
}
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.16rem; }
.card-ml { font-family: var(--font-ml); color: var(--leaf-deep); font-size: .92rem; font-weight: 600; }
.card-desc { font-size: .93rem; color: var(--ink-soft); flex: 1; }
.card-pack {
  margin-top: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .05em;
  color: var(--maroon); text-transform: uppercase;
  border-top: 1px dashed var(--line); padding-top: 10px;
}

/* category filter pills */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1.5px solid var(--line);
  transition: .18s;
}
.filter-btn:hover { border-color: var(--maroon); color: var(--maroon); }
.filter-btn.is-active { background: var(--maroon); border-color: var(--maroon); color: var(--cream); }

/* ---------- Category trio (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  position: relative; border-radius: var(--arch); overflow: hidden;
  border: 3px solid var(--white); outline: 1px solid var(--line);
  box-shadow: var(--shadow); min-height: 380px; display: flex; align-items: flex-end;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-info {
  position: relative; width: 100%; padding: 74px 24px 24px;
  background: linear-gradient(transparent, rgba(59, 16, 10, .88));
  color: var(--cream);
}
.cat-info h3 { color: var(--cream); font-size: 1.5rem; margin-bottom: 2px; }
.cat-info p { font-size: .92rem; opacity: .92; }
.cat-count {
  position: absolute; top: 18px; right: 18px;
  background: var(--cream); color: var(--maroon-deep);
  font-weight: 800; font-size: .8rem; padding: 6px 13px; border-radius: 999px;
}

/* ---------- Promise strip ---------- */
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.promise {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); position: relative;
}
.promise::before {
  content: ""; display: block; width: 42px; height: 42px; border-radius: 12px;
  background: var(--cream); margin-bottom: 16px;
  background-image: var(--icon); background-repeat: no-repeat; background-position: center;
  background-size: 22px;
}
.promise h3 { margin-bottom: 6px; font-size: 1.08rem; }
.promise p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 4 240px; column-gap: 20px;
}
.g-item {
  break-inside: avoid; margin-bottom: 20px; position: relative;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  border: 3px solid var(--white); outline: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--white);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  padding: 0; width: 100%; display: block; text-align: left;
}
.g-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.g-item img { width: 100%; }
.g-item figcaption, .g-item .g-cap {
  padding: 10px 14px; font-size: .84rem; color: var(--ink-soft);
  border-top: 1px dashed var(--line); font-family: var(--font-body);
}
.g-item .g-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(59,16,10,.25);
}
.g-item .g-play::after {
  content: ""; width: 62px; height: 62px; border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23A8231C'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px no-repeat;
  box-shadow: var(--shadow-lift);
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(48, 12, 8, .9); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: min(920px, 94vw); width: 100%; text-align: center; }
.lightbox-inner img, .lightbox-inner iframe, .lightbox-inner video {
  max-width: 100%; max-height: 78vh; border-radius: var(--radius);
  border: 4px solid var(--cream); background: #000;
}
.lightbox-inner iframe, .lightbox-inner video { width: min(880px, 92vw); aspect-ratio: 16/9; }
.lightbox-cap { color: var(--cream); margin-top: 14px; font-size: .95rem; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: var(--cream); color: var(--maroon-deep);
  border: 0; cursor: pointer; border-radius: 50%; width: 46px; height: 46px;
  font-size: 1.35rem; font-weight: 700; display: grid; place-items: center;
  box-shadow: var(--shadow-lift);
}
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav--prev { left: 18px; }
.lightbox-nav--next { right: 18px; }

/* ---------- Story split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .arch { height: 480px; }
.split-copy .eyebrow { margin-bottom: 14px; }
.split-copy h2 { margin-bottom: 16px; }
.split-copy p { margin-bottom: 16px; color: var(--ink-soft); text-align: justify; text-align-last: left; }
.split-copy strong { color: var(--maroon-ink); }
.check-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--leaf); color: #fff; font-size: .82rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 2px;
}

/* ---------- Distributor band ---------- */
.dist-band {
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(244,237,167,.16), transparent 60%),
    var(--maroon);
  color: var(--cream); border-radius: 22px; padding: 58px 56px;
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-lift);
}
.dist-band h2 { color: var(--cream); margin-bottom: 12px; }
.dist-band p { opacity: .92; max-width: 56ch; }
.dist-band .btn--primary { background: var(--cream); color: var(--maroon-deep); }
.dist-band .btn--primary:hover { background: var(--white); }
.dist-band .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Values / about ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.value-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 5px; height: 100%;
  background: var(--leaf);
}
.value-card:nth-child(even)::before { background: var(--maroon); }
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: .96rem; }

.cred-box {
  background: var(--cream-soft); border: 1.5px dashed rgba(168,35,28,.35);
  border-radius: var(--radius); padding: 28px 30px; margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cred-box b { display: block; color: var(--maroon-ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.cred-box span { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px; position: relative;
}
.form-card::after {
  content: ""; position: absolute; inset: 8px; border: 1.5px solid rgba(168,35,28,.22);
  border-radius: calc(var(--radius) - 6px); pointer-events: none;
}
.form-card > * { position: relative; z-index: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field label span { color: var(--maroon); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--maroon); outline: none; box-shadow: 0 0 0 3px rgba(168,35,28,.12);
}
.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; margin-top: 14px; color: var(--leaf-deep); font-weight: 700; }

.contact-cards { display: grid; gap: 18px; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start;
}
.contact-card .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream);
  display: grid; place-items: center; font-size: 1.2rem;
}
.contact-card h3 { font-size: 1.02rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .95rem; color: var(--ink-soft); display: block; }
.contact-card a:hover { color: var(--maroon); }

.map-embed {
  margin-top: 26px; border-radius: var(--radius); overflow: hidden;
  border: 3px solid var(--white); outline: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-ink); color: #EFE4C8; margin-top: 90px; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 60px 0 40px;
}
.footer-brand img { width: 62px; height: 62px; border-radius: 50%; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; opacity: .8; max-width: 30ch; }
.site-footer h4 {
  font-family: var(--font-display); color: var(--cream); font-size: 1.02rem;
  margin-bottom: 14px; font-weight: 600;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #EFE4C8; opacity: .85; font-size: .94rem; }
.site-footer a:hover { opacity: 1; color: var(--cream); }
.footer-contact p { font-size: .9rem; opacity: .85; margin-bottom: 8px; }
.footer-legal {
  border-top: 1px solid rgba(244,237,167,.18); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; opacity: .72;
}
.footer-legal a { opacity: 1; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .hero-stamp { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 340px at 90% -20%, rgba(244,237,167,.85), transparent 65%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 10px; }
.page-hero .lede { margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 64px; }
  .hero-collage { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .arch { height: 380px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 300px; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dist-band { grid-template-columns: 1fr; padding: 44px 34px; }
  .dist-band .actions { justify-content: flex-start; }
  .value-grid { grid-template-columns: 1fr; }
  .cred-box { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px 24px 22px; display: none; box-shadow: var(--shadow-lift);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px dashed var(--line); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero-collage { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-collage .arch:nth-child(1) { height: 280px; }
  .hero-collage .arch:nth-child(2) { height: 230px; }
  .hero-stamp { width: 104px; height: 104px; font-size: .72rem; }
  .promise-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .hero-proof { gap: 22px; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  border-radius: 999px; padding: 13px 20px 13px 15px;
  font-weight: 800; font-size: .95rem; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(18, 87, 45, .55);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); color: #fff; box-shadow: 0 18px 40px -10px rgba(18, 87, 45, .65); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (max-width: 760px) {
  .wa-float span { display: none; }          /* icon-only on phones */
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}

/* ============================================================
   v2.1 — Animations & extra mobile polish
   ============================================================ */

/* ---------- Hero entrance sequence ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes arch-in {
  from { opacity: 0; transform: translateY(34px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes stamp-in {
  0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-30deg) scale(.4); }
  70%  { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1.08); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
}
.hero-copy > * { opacity: 0; animation: rise-in .7s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.hero-copy > *:nth-child(6) { animation-delay: .55s; }
.hero-collage .arch { opacity: 0; animation: arch-in .8s var(--ease) forwards; }
.hero-collage .arch:nth-child(1) { animation-delay: .3s; }
.hero-collage .arch:nth-child(2) { animation-delay: .45s; }
.hero-stamp { opacity: 0; animation: stamp-in .8s var(--ease) .85s forwards, bob 5s ease-in-out 1.8s infinite; }

/* ---------- Drifting leaves (from the logo) ---------- */
.leaf-drift {
  position: absolute; top: -40px; pointer-events: none; z-index: 1;
  opacity: 0; will-change: transform;
  animation: leaf-fall linear infinite;
}
.leaf-drift svg { display: block; }
@keyframes leaf-fall {
  0%   { opacity: 0; transform: translateY(-5vh) rotate(0deg); }
  8%   { opacity: .8; }
  90%  { opacity: .7; }
  100% { opacity: 0; transform: translateY(108vh) rotate(340deg); }
}
.hero .leaf-drift { animation-name: leaf-fall-hero; }
@keyframes leaf-fall-hero {
  0%   { opacity: 0; transform: translateY(-30px) rotate(0deg); }
  10%  { opacity: .85; }
  85%  { opacity: .6; }
  100% { opacity: 0; transform: translateY(620px) rotate(300deg); }
}

/* ---------- Section heading underline draw ---------- */
.section-head h2 em { position: relative; white-space: nowrap; }
.section-head h2 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .28em;
  background: linear-gradient(90deg, var(--cream), rgba(226,166,59,.55));
  z-index: -1; border-radius: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) .25s;
}
.section-head.is-in h2 em::after { transform: scaleX(1); }

/* ---------- Button sheen ---------- */
.btn--primary, .btn--leaf { position: relative; overflow: hidden; }
.btn--primary::after, .btn--leaf::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .5s var(--ease);
}
.btn--primary:hover::after, .btn--leaf:hover::after { left: 130%; }

/* ---------- Card badge wiggle on hover ---------- */
.label-card:hover .card-badge { animation: badge-pop .45s var(--ease); }
@keyframes badge-pop {
  40% { transform: rotate(-4deg) scale(1.08); }
  100% { transform: none; }
}

/* ---------- Nav links slide-in on mobile menu open ---------- */
@keyframes menu-item-in {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: none; }
}
.nav-links.is-open li { animation: menu-item-in .3s var(--ease) backwards; }
.nav-links.is-open li:nth-child(1) { animation-delay: .03s; }
.nav-links.is-open li:nth-child(2) { animation-delay: .08s; }
.nav-links.is-open li:nth-child(3) { animation-delay: .13s; }
.nav-links.is-open li:nth-child(4) { animation-delay: .18s; }
.nav-links.is-open li:nth-child(5) { animation-delay: .23s; }

/* ---------- Lightbox pop ---------- */
.lightbox.is-open .lightbox-inner { animation: lb-pop .35s var(--ease); }
@keyframes lb-pop {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Extra mobile polish (small phones) ---------- */
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .hero-inner { padding: 40px 0 52px; gap: 34px; }
  h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; padding: 13px 18px; }
  .hero-proof { gap: 16px; }
  .proof b { font-size: 1.4rem; }
  .proof span { font-size: .78rem; }
  .hero-collage { gap: 10px; }
  .hero-collage .arch:nth-child(1) { height: 225px; }
  .hero-collage .arch:nth-child(2) { height: 185px; }
  .hero-stamp { width: 92px; height: 92px; font-size: .64rem; padding: 10px; }
  .ticker { padding: 10px 0; }
  .ticker-track { font-size: .82rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .label-card .card-media { aspect-ratio: 1 / 1.05; }
  .card-body { padding: 12px 13px 15px; gap: 4px; }
  .card-body h3 { font-size: .98rem; }
  .card-ml { font-size: .8rem; }
  .card-desc { display: none; }            /* keep cards scannable on phones */
  .card-pack { font-size: .68rem; margin-top: 6px; padding-top: 7px; }
  .card-badge { top: 10px; left: 10px; font-size: .6rem; padding: 4px 9px; }
  .filters { gap: 8px; margin-bottom: 24px; overflow-x: auto; flex-wrap: nowrap;
             padding-bottom: 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex: none; padding: 8px 16px; font-size: .86rem; }
  .gallery-grid { columns: 2 140px; column-gap: 12px; }
  .g-item { margin-bottom: 12px; border-width: 2px; }
  .g-item .g-cap { padding: 8px 10px; font-size: .74rem; }
  .cat-card { min-height: 250px; }
  .cat-info h3 { font-size: 1.25rem; }
  .split .arch { height: 300px; }
  .dist-band { padding: 34px 24px; border-radius: 18px; }
  .dist-band .actions .btn { width: 100%; }
  .form-card { padding: 24px 20px; }
  .contact-card { padding: 18px; }
  .map-embed iframe { height: 230px; }
  .page-hero { padding: 44px 0 38px; }
  .footer-grid { padding: 44px 0 30px; }
  .cred-box { padding: 20px; }
  .lightbox { padding: 14px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-nav--prev { left: 8px; }
  .lightbox-nav--next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* comfortable touch targets */
@media (pointer: coarse) {
  .nav-links a, .filter-btn, .icon-btn { min-height: 44px; display: inline-flex; align-items: center; }
  .g-item { cursor: default; }
}

/* honour reduced motion for everything new */
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .hero-collage .arch, .hero-stamp,
  .nav-links.is-open li, .lightbox.is-open .lightbox-inner { animation: none !important; opacity: 1 !important; }
  .leaf-drift { display: none; }
  .btn--primary::after, .btn--leaf::after { display: none; }
  .section-head h2 em::after { transform: scaleX(1); transition: none; }
}

/* rendered cards pop in softly */
@keyframes card-pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
[data-product-grid] .label-card, [data-gallery-grid] .g-item { animation: card-pop .5s var(--ease) backwards; }
@media (prefers-reduced-motion: reduce) {
  [data-product-grid] .label-card, [data-gallery-grid] .g-item { animation: none; }
}

/* ============================================================
   v2.2 — Split hero (maroon spice panel + cream circle panel)
   ============================================================ */
.hero--split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: min(88vh, 780px);
  background:
    /* scattered spice silhouettes, tone-on-tone */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cg fill='%23701008' opacity='.5'%3E%3Ccircle cx='30' cy='40' r='7'/%3E%3Ccircle cx='52' cy='58' r='5'/%3E%3Ccircle cx='250' cy='250' r='6'/%3E%3Ccircle cx='268' cy='232' r='4'/%3E%3Ccircle cx='140' cy='150' r='5'/%3E%3Ccircle cx='160' cy='168' r='7'/%3E%3Cpath d='M210 40c30-14 58-8 62 4-16 10-44 12-62-4z'/%3E%3Cpath d='M40 210c-14 30-8 58 4 62 10-16 12-44-4-62z'/%3E%3Cpath d='M235 130l9 16 18 3-13 13 3 18-17-9-16 9 3-18-13-13 18-3z'/%3E%3Cpath d='M95 255l7 12 14 2-10 10 2 14-13-7-12 7 2-14-10-10 14-2z'/%3E%3Cellipse cx='120' cy='60' rx='14' ry='6' transform='rotate(-25 120 60)'/%3E%3Cellipse cx='190' cy='210' rx='12' ry='5' transform='rotate(30 190 210)'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(900px 600px at 20% 15%, rgba(255,255,255,.07), transparent 55%),
    linear-gradient(118deg, #8E1A13, var(--maroon) 52%, #B12E24);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  padding: 0;
}

/* ---------- Left: copy on maroon ---------- */
.hero-left {
  display: flex; align-items: center;
  padding: clamp(48px, 7vw, 90px) clamp(24px, 5vw, 70px) clamp(48px, 7vw, 90px) clamp(24px, 8vw, 130px);
}
.hero--split .hero-copy { max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(244, 237, 167, .45);
  background: rgba(244, 237, 167, .1);
  color: var(--cream);
  font-size: .8rem; font-weight: 700; letter-spacing: .24em;
  padding: 9px 18px; margin-bottom: 30px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.hero-title {
  color: var(--cream);
  font-size: clamp(2.7rem, 5.8vw, 4.6rem);
  font-weight: 620; line-height: 1.06; letter-spacing: -.01em;
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; font-weight: 480; color: #F0DFA0; }

.hero-sub {
  color: rgba(253, 248, 224, .92);
  font-size: 1.13rem; line-height: 1.7; max-width: 46ch;
  margin-bottom: 36px;
}

.btn--cream { background: var(--cream); color: var(--maroon-deep); box-shadow: 0 10px 26px -10px rgba(0,0,0,.45); }
.btn--cream:hover { background: #FBF6DC; color: var(--maroon-deep); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0,0,0,.5); }
.btn--outline-cream { border-color: rgba(244,237,167,.6); color: var(--cream); background: transparent; border-radius: 6px; }
.btn--outline-cream:hover { background: rgba(244,237,167,.12); border-color: var(--cream); color: var(--cream); }
.btn--cream { border-radius: 6px; }
.hero--split .hero-actions { margin-bottom: 42px; }

.hero-contact { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-contact a {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(253, 248, 224, .95); font-weight: 600; font-size: .98rem;
}
.hero-contact a:hover { color: #fff; }
.hero-contact svg { width: 19px; height: 19px; opacity: .85; }

/* ---------- Right: cream circle panel ---------- */
.hero-right {
  position: relative;
  background: var(--cream);
  border-radius: min(46vw, 560px) 0 0 min(46vw, 560px);
  box-shadow: -34px 0 70px -20px rgba(60, 8, 4, .5);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(22px, 3.5vh, 40px);
  padding: clamp(36px, 6vh, 64px) clamp(24px, 4vw, 60px) clamp(36px, 6vh, 64px) clamp(60px, 8vw, 120px);
  z-index: 2;
}
.hero-logo {
  width: clamp(150px, 15vw, 215px); height: auto; border-radius: 50%;
  border: 6px solid #FFFDF0;
  box-shadow: 0 16px 40px -12px rgba(85, 16, 12, .35);
  opacity: 0; animation: arch-in .8s var(--ease) .35s forwards;
}
.hero-mini-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  width: min(100%, 460px);
}
.mini-card {
  background: var(--white); border-radius: 10px; padding: 8px;
  box-shadow: 0 8px 22px -10px rgba(85, 16, 12, .3);
  opacity: 0; animation: arch-in .7s var(--ease) forwards;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.mini-card:nth-child(1) { animation-delay: .5s; }
.mini-card:nth-child(2) { animation-delay: .58s; }
.mini-card:nth-child(3) { animation-delay: .66s; }
.mini-card:nth-child(4) { animation-delay: .74s; }
.mini-card:nth-child(5) { animation-delay: .82s; }
.mini-card:nth-child(6) { animation-delay: .9s; }
.mini-card:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 16px 30px -12px rgba(85, 16, 12, .4); }
.mini-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* leaves: over the split hero keep them on the cream side only */
.hero--split .leaf-drift { z-index: 3; }

/* ---------- Split hero responsive ---------- */
@media (max-width: 1020px) {
  .hero--split { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding: 56px 24px 60px; }
  .hero--split .hero-copy { max-width: 620px; margin: 0 auto; }
  .hero-right {
    border-radius: 120px 120px 0 0;
    box-shadow: 0 -28px 60px -24px rgba(60, 8, 4, .45);
    padding: 48px 24px 56px;
  }
}
@media (max-width: 520px) {
  .hero-left { padding: 42px 18px 48px; }
  .hero-badge { font-size: .68rem; letter-spacing: .18em; padding: 8px 14px; margin-bottom: 22px; }
  .hero-title { margin-bottom: 18px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 26px; }
  .hero--split .hero-actions { margin-bottom: 30px; }
  .hero-contact { gap: 14px; flex-direction: column; }
  .hero-right { border-radius: 70px 70px 0 0; gap: 22px; }
  .hero-logo { width: 132px; border-width: 4px; }
  .hero-mini-grid { gap: 8px; }
  .mini-card { padding: 6px; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo, .mini-card { animation: none; opacity: 1; }
}

/* specificity fixes vs. legacy hero rules */
.hero--split .hero-copy h1.hero-title { margin-bottom: 26px; }
@media (max-width: 520px) {
  .hero--split .hero-copy h1.hero-title { margin-bottom: 18px; }
}

/* ============================================================
   v2.3 — Document-style images (labels, cards) shown in full,
   never cropped
   ============================================================ */
.arch--fit { height: auto !important; background: var(--white); padding: 12px; }
.arch--fit img {
  width: 100%; height: auto; max-height: 600px;
  object-fit: contain; border-radius: 100px 100px 8px 8px;
}
@media (max-width: 520px) {
  .arch--fit { padding: 8px; }
  .arch--fit img { max-height: 440px; border-radius: 60px 60px 6px 6px; }
}

/* ============================================================
   v2.4 — fixes: full-label display + aligned mobile gallery
   ============================================================ */

/* Document images: never crop, whatever other rules say */
.arch--fit, .split .arch--fit { height: auto !important; }
.arch--fit img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: fill !important;   /* natural size, no crop, no letterbox */
  border-radius: 100px 100px 8px 8px;
}
@media (max-width: 520px) {
  .arch--fit img { border-radius: 60px 60px 6px 6px; }
}

/* Mobile gallery: uniform aligned grid instead of masonry */
@media (max-width: 760px) {
  .gallery-grid {
    columns: unset !important;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: start;
  }
  .g-item { margin-bottom: 0; display: flex; flex-direction: column; }
  .g-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
  }
  .g-item .g-cap {
    padding: 8px 10px;
    font-size: .74rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;          /* max two tidy lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(.74rem * 1.35 * 2 + 16px);  /* equal caption height */
  }
  .g-item .g-play::after { width: 46px; height: 46px; background-size: 20px; }
}

/* ============================================================
   v2.5 — hero background: real spice photo (replaces pattern)
   ============================================================ */
.hero--split {
  background:
    linear-gradient(118deg, rgba(120, 16, 10, .38), rgba(140, 22, 16, .3) 55%, rgba(150, 30, 22, .38)),
    url("../images/hero-spices.jpg") center / cover no-repeat,
    var(--maroon);
}

/* ============================================================
   v2.6 — Sister concern (സഹോദര സ്ഥാപനം) card
   ============================================================ */
.sister-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 36px; align-items: center;
  padding: 38px 42px;
}
.sister-card::after {                /* the label double-rule */
  content: ""; position: absolute; inset: 9px;
  border: 1.5px solid rgba(168, 35, 28, .25);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
}
.sister-card > * { position: relative; z-index: 1; }
.sister-logo {
  width: 100%; max-width: 220px; border-radius: 50%;
  border: 5px solid var(--cream);
  box-shadow: 0 14px 34px -12px rgba(85, 16, 12, .3);
  margin-inline: auto;
}
.sister-info h3 { font-size: 1.6rem; margin-bottom: 2px; }
.sister-info .sister-tag {
  font-style: italic; font-family: var(--font-display);
  color: var(--leaf-deep); margin-bottom: 18px; font-size: 1.05rem;
}
.sister-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px;
  border-top: 1px dashed var(--line); padding-top: 18px;
}
.sister-details b {
  display: block; font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--maroon);
  margin-bottom: 2px;
}
.sister-details span, .sister-details a { font-size: .95rem; color: var(--ink-soft); }
.sister-details a:hover { color: var(--maroon); }
.sister-details .full { grid-column: 1 / -1; }

.footer-sister { font-size: .85rem; opacity: .75; margin-top: 12px; }
.footer-sister b { color: var(--cream); font-weight: 700; }

@media (max-width: 760px) {
  .sister-card { grid-template-columns: 1fr; text-align: center; padding: 30px 22px; gap: 22px; }
  .sister-logo { max-width: 160px; }
  .sister-details { text-align: left; grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   v2.7 — hero background: client-supplied spice photo
   (tint baked into the image; gradient only aids readability)
   ============================================================ */
.hero--split {
  background:
    linear-gradient(100deg, rgba(80, 10, 6, .5), rgba(110, 16, 10, .22) 55%, rgba(110, 16, 10, .12)),
    url("../images/hero-spices.jpg") center / cover no-repeat,
    var(--maroon);
}

/* ============================================================
   v3.0 — Bilingual (nadan) styling, inline logos, gallery polish
   ============================================================ */

/* Malayalam display font for big headings */
.hero-title--ml {
  font-family: "Manjari", var(--font-ml), sans-serif;
  font-weight: 700;
  font-size: clamp(2.15rem, 4.6vw, 3.7rem);
  line-height: 1.22;
  letter-spacing: 0;
}
.hero-title-en {
  font-family: var(--font-display);
  font-style: italic;
  color: #F0DFA0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  margin: -12px 0 22px;
  opacity: 0; animation: rise-in .7s var(--ease) .22s forwards;
}
.hero-sub--ml {
  font-family: var(--font-ml);
  font-size: 1.02rem;
  margin-top: -22px;               /* sit close under the English sub */
  color: rgba(253, 248, 224, .85);
}

/* Malayalam note under section headings */
.ml-note {
  font-family: "Manjari", var(--font-ml), sans-serif;
  font-weight: 600;
  color: var(--leaf-deep);
  font-size: 1.06rem;
  margin: 4px 0 10px;
}
.ml-note--oncream { color: var(--cream); opacity: .92; }

/* Inline brand roundel beside the word "Pratidhi" */
.logo-inline {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-block; vertical-align: -4px;
  border: 1.5px solid var(--cream);
  box-shadow: 0 2px 6px rgba(85,16,12,.25);
  margin-right: 2px;
}
.logo-inline--lg { width: 34px; height: 34px; vertical-align: -6px; }
.logo-inline--xl { width: 44px; height: 44px; vertical-align: -8px; }

/* Gallery: catchier hovers */
.g-item { overflow: hidden; }
.g-item img { transition: transform .5s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item .g-play::after { transition: transform .25s var(--ease); animation: play-pulse 2.2s ease-out infinite; }
.g-item:hover .g-play::after { transform: scale(1.12); }
@keyframes play-pulse {
  0% { box-shadow: 0 0 0 0 rgba(244, 237, 167, .65), var(--shadow-lift); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(244, 237, 167, 0), var(--shadow-lift); }
}
.g-chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--maroon); color: var(--cream);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; box-shadow: var(--shadow);
}

@media (max-width: 520px) {
  .hero-title--ml { font-size: clamp(1.7rem, 8.4vw, 2.2rem); }
  .hero-title-en { font-size: 1.12rem; margin: -8px 0 16px; }
  .hero-sub--ml { margin-top: -14px; font-size: .95rem; }
  .ml-note { font-size: .96rem; }
  .logo-inline--xl { width: 32px; height: 32px; vertical-align: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title-en { animation: none; opacity: 1; }
  .g-item .g-play::after { animation: none; }
}

/* ============================================================
   v3.1 — pack sizes must show a small 'g': never uppercase them
   ============================================================ */
.card-pack { text-transform: none; letter-spacing: .03em; }

/* ============================================================
   v3.2 — hero calligraphy artwork + Manjari Malayalam type
   ============================================================ */
.hero-title--art { margin-bottom: 18px; line-height: 0; }
.hero-title-art {
  width: min(100%, 470px); height: auto; display: block;
  filter: drop-shadow(0 8px 22px rgba(50, 6, 3, .45));
}
/* if the artwork can't load, the alt text renders — style it like a heading */
.hero-title--art { font-family: "Manjari", var(--font-ml), sans-serif; font-weight: 700;
  color: var(--cream); font-size: clamp(2rem, 4.4vw, 3.4rem); }
@media (max-width: 520px) {
  .hero-title-art { width: min(100%, 330px); }
}
