/* Labhkari Ayurveda — light ivory apothecary
   Tokens first, then base, layout, components, pages. */

:root {
  --ghee: #F6F0E1;        /* page */
  --paper: #EDE3CB;       /* raised panels */
  --paper-2: #E4D7B8;
  --neem: #1E2B20;        /* ink */
  --neem-2: #4A5747;      /* secondary ink */
  --sindoor: #C41E16;     /* brand red, actions */
  --sindoor-deep: #9E160F;
  --brass: #A9843A;       /* hairlines, details */
  --lotus: #D9578E;
  --sage: #8E9C7C;
  --line: rgba(30, 43, 32, 0.14);

  --f-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.2vw, 2.25rem);
  --step-4: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  --step-5: clamp(2.8rem, 1.8rem + 4.2vw, 5.4rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --max: 1240px;
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--ghee);
  color: var(--neem);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--sindoor); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { padding: 0; margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sindoor); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lotus); color: #fff; }
/* a fine paper grain over everything, so flat fills don't read as screen-flat */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.12 0 0 0 1.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--neem); color: var(--ghee); padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; color: var(--ghee); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--neem-2); }
.small { font-size: var(--step--1); }

/* ---------- buttons, links, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.5rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: var(--step-0); text-decoration: none; cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), translate 0.4s var(--ease);
  translate: var(--mx, 0) var(--my, 0); /* main.js pulls primary buttons toward the cursor */
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--sindoor); color: #fff; }
.btn--primary:hover { background: var(--sindoor-deep); color: #fff; }
.btn--ghost { border-color: var(--neem); color: var(--neem); background: transparent; }
.btn--ghost:hover { background: var(--neem); color: var(--ghee); }
.btn--sm { min-height: 40px; padding: 0.45rem 1.1rem; font-size: var(--step--1); }
.btn--block { width: 100%; }
.link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.3em; }
.link:hover { text-decoration-color: var(--sindoor); }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; font-size: var(--step--1); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: #FBF8F0; font-size: var(--step-0);
}
.field input:focus, .field textarea:focus { border-color: var(--neem); outline: none; box-shadow: 0 0 0 3px rgba(196, 30, 22, 0.18); }
.ticks { list-style: none; display: grid; gap: 0.55rem; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.6rem; max-width: 66ch; }
.ticks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 0.6rem; height: 0.6rem;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brass);
}
.ticks--num { counter-reset: n; }
.ticks--num li { counter-increment: n; padding-left: 2rem; }
.ticks--num li::before {
  content: counter(n); transform: none; background: none; width: auto; height: auto; top: 0;
  font-family: var(--f-display); color: var(--sindoor); font-size: var(--step-1);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 240, 225, 0.86);
  backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.brand__mark { width: 44px; height: 44px; }
.brand__word { font-family: var(--f-display); font-size: 1.35rem; line-height: 1; }
.brand__sub { color: var(--neem-2); }
.nav { display: flex; gap: 1.75rem; }
.nav a { text-decoration: none; font-weight: 500; padding: 0.4rem 0; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--sindoor);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border-radius: 999px; border: 1.5px solid var(--neem); background: transparent; cursor: pointer; font-weight: 600;
}
.cart-btn:hover { background: var(--neem); color: var(--ghee); }
.cart-btn__count {
  min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: 0.8rem; background: var(--sindoor); color: #fff;
}
.cart-btn__count.is-bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; place-items: center; }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 1.6px; background: var(--neem); position: relative; transition: transform 0.3s var(--ease), background 0.2s;
}
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); }
/* mobile menu: a full sheet under the header, links rise in one after another */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 39; isolation: isolate; overflow: hidden auto;
  display: flex; flex-direction: column; gap: 1.6rem; padding: 0.75rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom));
  background: radial-gradient(120% 60% at 100% 0%, #FBF5E6 0%, var(--ghee) 55%, #F1E7D0 100%);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mm__ring {
  position: absolute; z-index: -1; width: 360px; aspect-ratio: 1; right: -190px; bottom: -40px; opacity: 0.06; pointer-events: none;
  rotate: -40deg; transition: rotate 1.4s var(--ease);
}
.mm__ring .ring { position: static; }
.is-open .mm__ring { rotate: 0deg; }
.mm__nav { display: grid; }
.mm__link, .mm__ranges, .mm__cta, .mm__extra, .mm__motto {
  opacity: 0; translate: 0 18px;
  transition: opacity 0.45s var(--ease), translate 0.6s var(--ease);
  transition-delay: calc(var(--i) * 45ms + 60ms);
}
.is-open :is(.mm__link, .mm__ranges, .mm__cta, .mm__extra, .mm__motto) { opacity: 1; translate: 0 0; }
.mm__link {
  display: grid; grid-template-columns: 2.2rem 1fr auto; grid-template-rows: auto auto; align-items: baseline; column-gap: 0.5rem;
  padding: 0.75rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none;
}
.mm__n { grid-row: span 2; font-size: 0.78rem; font-weight: 600; color: var(--brass); font-variant-numeric: tabular-nums; }
.mm__t { font-family: var(--f-display); font-size: clamp(1.75rem, 8vw, 2.3rem); line-height: 1.05; transition: color 0.25s, translate 0.35s var(--ease); }
.mm__d { grid-column: 2; font-size: var(--step--1); color: var(--neem-2); }
.mm__go { grid-row: 1 / span 2; grid-column: 3; align-self: center; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--neem-2); transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.mm__link:active .mm__t, .mm__link:hover .mm__t { translate: 0.35rem 0; color: var(--sindoor); }
.mm__link:hover .mm__go { background: var(--neem); border-color: var(--neem); color: var(--ghee); }
.mm__link[aria-current="page"] .mm__t { color: var(--sindoor); }
.mm__link[aria-current="page"] .mm__go { background: var(--sindoor); border-color: var(--sindoor); color: #fff; }
.mm__label { font-size: var(--step--1); font-weight: 600; color: var(--neem-2); margin-bottom: 0.6rem; }
.mm__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.mm__chips a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0.35rem 0.9rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: rgba(251, 248, 240, 0.7); font-size: var(--step--1); font-weight: 500; text-decoration: none;
}
.mm__chips a:active { background: var(--neem); border-color: var(--neem); color: var(--ghee); }
/* order card in the site's ink green with a WhatsApp badge; the call tile matches its height */
.mm__cta { display: grid; grid-template-columns: 1fr 72px; gap: 0.6rem; margin-top: auto; }
.mm__wa {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem 0.85rem 0.85rem;
  border-radius: 20px; background: var(--neem); color: var(--ghee); font-weight: 600; line-height: 1.25; text-decoration: none;
  box-shadow: 0 18px 34px -20px rgba(18, 30, 20, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s var(--ease), transform 0.25s var(--ease);
}
.mm__wa::before {
  /* a soft green glow behind the badge */
  content: ""; position: absolute; left: -30px; top: 50%; width: 120px; height: 120px; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.28), transparent 70%); pointer-events: none;
}
.mm__wa > svg:first-child {
  position: relative; flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.8);
}
.mm__wa > span { position: relative; flex: 1; min-width: 0; font-size: var(--step-0); }
.mm__wa small { display: block; margin-top: 0.15rem; font-weight: 500; font-size: 0.8rem; color: rgba(246, 240, 225, 0.7); letter-spacing: 0.02em; }
.mm__wa .mm__wa-go { position: relative; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; transition: translate 0.35s var(--ease), opacity 0.3s; }
.mm__wa:hover { background: #26362A; color: var(--ghee); }
.mm__wa:hover .mm__wa-go { translate: 3px 0; opacity: 1; }
.mm__wa:active, .mm__call:active { transform: scale(0.98); }
.mm__call {
  display: grid; place-items: center; align-content: center; gap: 0.25rem; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); color: var(--neem); text-decoration: none;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.25s var(--ease);
}
.mm__call:hover { background: var(--paper-2); color: var(--neem); }
.mm__motto { margin: 0; text-align: center; color: var(--sindoor); font-size: var(--step-1); letter-spacing: 0.03em; }
body.menu-open .site-header { background: var(--ghee); border-bottom-color: var(--line); }
body.menu-open .wa-float { opacity: 0; pointer-events: none; transform: scale(0.6); }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

/* chakra scroll progress: seven dots from crown (top) to root (bottom) */
.chakra {
  position: fixed; right: clamp(0.75rem, 1.5vw, 1.5rem); top: 50%; transform: translateY(-50%);
  z-index: 30; list-style: none; display: grid; gap: 14px; pointer-events: none;
}
.chakra li {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(30, 43, 32, 0.12);
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}
.chakra li.is-lit { background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent), 0 0 12px color-mix(in srgb, var(--c) 55%, transparent); transform: scale(1.15); }

/* ---------- petal stage (the signature) ---------- */
.stage { position: relative; aspect-ratio: 1; width: 100%; display: grid; place-items: center; isolation: isolate; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.ring__petals { transform-origin: 0 0; }
.petal { fill: var(--sindoor); }
.stage__glow {
  position: absolute; inset: 24%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(217, 87, 142, 0.38), rgba(217, 87, 142, 0.12) 45%, transparent 70%);
  filter: blur(6px);
}
.stage__product { width: 62%; height: auto; filter: drop-shadow(0 24px 22px rgba(60, 35, 10, 0.22)); }

/* ---------- hero: photograph slider ----------
   A full-bleed photograph per range; the copy sits on the calm left of the frame.
   The incoming photo wipes in over the outgoing one and settles from a slow zoom.
   The active tab's fill animation is the timer. */
.hs {
  --hs-ink: #FBF6EC;
  --dur: 7s;
  --wipe: 1.3s;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto; grid-template-columns: minmax(0, 1fr);
  height: clamp(560px, calc(100svh - var(--header-h)), max(900px, 42vw));
  background: var(--bg); transition: background-color 1s var(--ease);
}
.hs__slides { grid-area: 1 / 1 / 3 / 2; display: grid; touch-action: pan-y; }
.hs__slide {
  grid-area: 1 / 1; position: relative; display: grid; align-items: center; color: var(--hs-ink);
  visibility: hidden; transition: visibility 0s var(--wipe);
}
.hs__slide.is-leaving { visibility: visible; transition: none; z-index: 1; }
.hs__slide.is-active { visibility: visible; transition: none; z-index: 2; }

.hs__photo { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); }
/* the first range is already in place on arrival; only later changes wipe */
.hs:not(.is-ready) .hs__slide.is-active .hs__photo { clip-path: inset(0); }
/* a blurred thumbnail holds the frame until the photo has loaded, then the photo fades in over it */
.hs__photo::before {
  content: ""; position: absolute; inset: -40px; z-index: -1;
  background: var(--lqip) var(--hs-pos) / cover no-repeat; filter: blur(22px) saturate(1.1);
}
.hs__img { opacity: 0; transition: opacity 0.9s var(--ease); }
.hs__slide.is-loaded .hs__img { opacity: 1; }
/* warm shade behind the copy and along the floor under the tabs, so the cream type reads on every wall */
.hs__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(28, 16, 8, 0.58) 0%, rgba(28, 16, 8, 0.4) 30%, rgba(28, 16, 8, 0.12) 50%, transparent 62%),
    linear-gradient(0deg, rgba(28, 16, 8, 0.62) 0, rgba(28, 16, 8, 0.3) 6rem, transparent 12rem);
}
.hs { --hs-pos: 60% 45%; }
/* wide, short windows crop the 3:2 photo top and bottom: keep headroom above the tallest pack */
@media (min-aspect-ratio: 21/10) { .hs { --hs-pos: 60% 36%; } }
@media (min-aspect-ratio: 5/2) { .hs { --hs-pos: 60% 28%; } }
.hs__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hs-pos); transform: scale(1.1); }
.hs__slide.is-leaving .hs__photo { clip-path: inset(0); }
.hs__slide.is-leaving .hs__img { transform: scale(1); }
.hs.is-ready .hs__slide.is-active .hs__photo { clip-path: inset(0); transition: clip-path var(--wipe) cubic-bezier(0.77, 0, 0.18, 1); }
.hs.is-ready .hs__slide.is-active .hs__img { transform: scale(1); transition: transform 9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s var(--ease); }

/* copy */
.hs__body { position: relative; padding-bottom: 5.5rem; }
.hs__copy { max-width: 40rem; text-shadow: 0 1px 2px rgba(20, 10, 4, 0.35), 0 2px 18px rgba(20, 10, 4, 0.3); }
.hs__copy > * {
  opacity: 0; translate: 0 18px;
  transition: opacity 0.35s, translate 0.35s var(--ease);
}
.hs.is-ready .hs__slide.is-active .hs__copy > * {
  opacity: 1; translate: 0 0;
  transition: opacity 1s var(--ease), translate 1.1s var(--ease);
  transition-delay: calc(0.55s + var(--i) * 0.09s);
}
/* the name rises out of a mask */
.hs__name { overflow: hidden; padding-bottom: 0.08em; }
.hs__name span { display: block; translate: 0 105%; transition: translate 0.4s var(--ease); }
.hs.is-ready .hs__slide.is-active .hs__name span { translate: 0 0; transition: translate 1.2s 0.6s var(--ease); }

.hs__eyebrow {
  display: flex; align-items: center; gap: 0.85rem; margin: 0 0 1.4rem;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
}
.hs__num { font-family: var(--f-display); font-size: 0.95rem; letter-spacing: 0.06em; }
.hs__num::after { content: ""; display: inline-block; width: 2.4rem; height: 1px; margin-left: 0.85rem; vertical-align: middle; background: currentColor; opacity: 0.6; }
.hs__name { margin: 0; font-size: clamp(2.6rem, 1rem + 3.6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 400; }
.hs__size { margin: 0.9rem 0 1.4rem; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, currentColor 90%, transparent); }
.hs__line { font-size: var(--step-1); line-height: 1.6; max-width: 27rem; margin: 0 0 2.2rem; }
.hs__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
/* second action: a cream outline on smoked glass, same height as the primary; fills cream on hover */
.hs__more {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 48px; padding: 0.7rem 1.35rem 0.7rem 1.5rem;
  border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--hs-ink) 70%, transparent);
  background: rgba(20, 10, 4, 0.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--hs-ink); font-weight: 600; text-decoration: none; text-shadow: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hs__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: translate 0.35s var(--ease); }
.hs__more:hover, .hs__more:focus-visible { background: var(--hs-ink); border-color: var(--hs-ink); color: var(--neem); }
.hs__more:hover svg { translate: 4px 0; }
.hs__more:focus-visible { outline: 2px solid var(--hs-ink); outline-offset: 3px; }

/* cream type and a cream button over the shaded photo */
.hs__slide .btn--primary { background: var(--hs-ink); color: var(--neem); text-shadow: none; box-shadow: 0 6px 24px rgba(20, 10, 4, 0.25); }
.hs__slide .btn--primary:hover { background: #fff; color: var(--neem); }

/* bar: numbered tabs with timer, then controls */
.hs__bar {
  grid-area: 2 / 1; position: relative; z-index: 3; display: flex; align-items: center; gap: 2rem;
  padding-block: 0 clamp(1.25rem, 3vw, 2.25rem); color: var(--hs-ink);
  text-shadow: 0 1px 8px rgba(20, 10, 4, 0.45);
}
.hs__tabs { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.hs__tabs li { min-width: 6.5rem; }
.hs__tab {
  width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 0.6rem; row-gap: 0.7rem;
  padding: 0.5rem 0; min-height: 44px; background: none; border: 0; cursor: pointer; color: inherit; font: inherit; text-align: left;
  opacity: 0.72; transition: opacity 0.3s;
}
.hs__tab:hover, .hs__tab.is-active { opacity: 1; }
.hs__tab-n { font-family: var(--f-display); font-size: 0.95rem; }
.hs__tab-l { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs__track { grid-column: 1 / -1; display: block; height: 2px; background: currentColor; opacity: 0.4; overflow: hidden; }
.hs__tab.is-active .hs__track { opacity: 1; background: color-mix(in srgb, currentColor 30%, transparent); }
.hs__fill { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(0); }
.hs.is-ready .hs__tab.is-active .hs__fill { transform: scaleX(1); }
.hs.is-ready .hs__tab.is-active .hs__fill { animation: hs-fill var(--dur) linear; }
.hs.is-paused .hs__tab.is-active .hs__fill { animation-play-state: paused; }
@keyframes hs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hs__img, .hs.is-ready .hs__slide.is-active .hs__img { transform: none; transition: opacity 0.4s; }
  .hs.is-ready .hs__slide.is-active .hs__photo { transition: none; }
  .hs__photo { clip-path: none; opacity: 0; }
  .hs__slide.is-active .hs__photo, .hs__slide.is-leaving .hs__photo { opacity: 1; }
  .hs__copy > *, .hs.is-ready .hs__slide.is-active .hs__copy > *, .hs__name span { translate: none; transition: opacity 0.4s; }
}

/* ---------- meaning ---------- */
.meaning {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center;
  padding-block: var(--section) 0;
}
.meaning__word { font-size: clamp(3.5rem, 2rem + 7vw, 8rem); line-height: 1; color: var(--sindoor); margin: 0; font-weight: 600; }
.meaning__text h2 { font-size: var(--step-4); }
.meaning__text p { font-size: var(--step-1); color: var(--neem-2); }

/* ---------- shelf: horizontal product rail ----------
   Without JS (or with reduced motion) the track is a swipeable, snapping row.
   main.js adds .is-pinned, pins the section and moves the track with the scroll. */
.shelf { padding-top: var(--section); }
.shelf__pin { overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(1rem, 2.5vw, 2rem); }
.shelf__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.shelf__head p { margin: 0; }
.shelf__bar { display: none; flex: 1 1 8rem; max-width: 14rem; height: 2px; margin-left: auto; align-self: center; background: var(--line); border-radius: 2px; overflow: hidden; }
.shelf__bar span { display: block; height: 100%; background: var(--sindoor); transform-origin: 0 50%; transform: scaleX(0); }
.shelf__track {
  list-style: none; display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  padding: 0.5rem var(--gutter) 1.5rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.rail__card {
  flex: 0 0 min(60rem, 84vw); scroll-snap-align: center;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.25rem, 2.5vw, 2.25rem); border-radius: 28px; background: var(--tint);
}
.rail__media { position: relative; width: min(22rem, calc(46svh * 0.8)); }
.shelf.is-pinned .rail__media { width: clamp(15rem, calc((100svh - 22rem) * 0.8), 30rem); }
.rail__arch {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 24px 50px -28px rgba(60, 35, 10, 0.45);
}
.rail__arch::after {
  /* brass hairline just inside the arch */
  content: ""; position: absolute; inset: 8px; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(255, 246, 225, 0.7);
}
.rail__scene { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.rail__card:hover .rail__scene { transform: scale(1.04); }
.rail__text { display: grid; justify-items: start; }
.rail__n { font-family: var(--f-display); font-size: var(--step-2); color: var(--brass); }
.rail__name { font-size: var(--step-4); margin: 0.2rem 0 0.4rem; }
.rail__line { color: var(--neem-2); font-size: var(--step-1); }
.rail__list { list-style: none; width: 100%; max-width: 24rem; margin-bottom: 1.25rem; border-top: 1px solid var(--line); }
.rail__list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.rail__list a span { color: var(--neem-2); font-weight: 400; font-size: var(--step--1); }
.rail__end { flex: 0 0 min(22rem, 70vw); display: grid; align-content: center; justify-items: start; gap: 1.25rem; scroll-snap-align: center; }
.rail__end-t { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.2; margin: 0; }

.shelf.is-pinned { padding-top: clamp(2rem, 4vw, 3.5rem); }
.shelf.is-pinned .shelf__pin { height: 100svh; padding-top: calc(var(--header-h) + 0.5rem); gap: clamp(1rem, 2.5svh, 2rem); }
.shelf.is-pinned .rail__card { flex-basis: min(66rem, 86vw); }
.shelf.is-pinned .shelf__track { overflow: visible; scroll-snap-type: none; width: max-content; }
.shelf.is-pinned .shelf__bar { display: block; }

@media (max-width: 900px) {
  .rail__card { grid-template-columns: 1fr; gap: 1.5rem; align-content: start; }
  .rail__media { width: min(58%, calc(30svh * 0.8)); }
  .rail__name { font-size: var(--step-3); }
  .rail__line { font-size: var(--step-0); margin-bottom: 0.75rem; }
  .rail__list a { padding: 0.5rem 0; }
}

/* ---------- sections ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-title { font-size: var(--step-4); margin: 0; }
.featured, .learn-teaser, .related { padding-block: var(--section) 0; }
.featured__more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.featured__more .btn svg { width: 18px; height: 18px; margin-left: 0.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate 0.3s var(--ease); }
.featured__more .btn:hover svg { translate: 4px 0; }
.learn-teaser { padding-bottom: var(--section); }

/* product cards */
.pgrid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.75rem); }
.pcard { display: grid; gap: 0.75rem; align-content: start; }
.pcard[hidden] { display: none; }
.pcard__link { display: grid; gap: 0.2rem; text-decoration: none; }
.pcard__stage {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, #FBF7EC 0%, var(--paper) 62%, var(--paper-2) 100%);
  margin-bottom: 0.75rem; position: relative; perspective: 700px;
}
.pcard__stage::before {
  /* a soft light that follows the pointer across the disc */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 40%), rgba(255, 252, 240, 0.95), transparent 55%);
}
.pcard__stage::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed rgba(169, 132, 58, 0.55); opacity: 0; transform: scale(0.94);
  transition: opacity 0.4s, transform 0.8s var(--ease);
}
.pcard__link:hover .pcard__stage::before { opacity: 0.8; }
.pcard__link:hover .pcard__stage::after { opacity: 1; transform: scale(1); }
.pcard__img {
  position: relative; width: 78%; filter: drop-shadow(0 14px 14px rgba(60, 35, 10, 0.16));
  transform: translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1));
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.pcard__link:hover .pcard__img { --lift: -8px; --sc: 1.04; filter: drop-shadow(0 26px 20px rgba(60, 35, 10, 0.22)); }
.pcard__cat { font-size: var(--step--1); color: var(--brass); font-weight: 600; }
.pcard__name { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.15; transition: color 0.25s; }
.pcard__link:hover .pcard__name { color: var(--sindoor); }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 0.15rem 0.75rem; font-size: var(--step--1); color: var(--neem-2); }
.pcard__price { color: var(--neem); font-weight: 600; }
.pcard__buy { display: flex; min-height: 40px; }
/* once a product is in the order, its button becomes a stepper */
.mini-qty {
  display: inline-flex; align-items: center; height: 40px; padding: 0 4px; border-radius: 999px;
  background: var(--neem); color: var(--ghee); animation: mini-in 0.4s var(--ease);
}
.mini-qty button {
  width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: none; color: inherit; cursor: pointer; font-size: 1.15rem; line-height: 1; transition: background-color 0.2s;
}
.mini-qty button:hover { background: rgba(246, 240, 225, 0.16); }
.mini-qty__n { min-width: 5.6rem; text-align: center; font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes mini-in { from { transform: scale(0.85); opacity: 0; } }
/* the product picture that flies into the order button */
.fly { position: fixed; left: 0; top: 0; z-index: 85; width: 72px; height: 72px; object-fit: contain; pointer-events: none; }

/* ingredient explorer */
/* clip sideways: the spinning ring round the pantry disc widens the page at its diagonals */
.ings { padding-block: var(--section) 0; overflow-x: clip; }
.pantry { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.pantry__stage { display: grid; }
.pantry__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 0.95fr) 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.pantry__panel[hidden] { display: none; }
.pantry__disc {
  position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFFBF1 0%, var(--paper) 62%, var(--paper-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(169, 132, 58, 0.35), 0 30px 60px -30px rgba(60, 35, 10, 0.35);
}
.pantry__disc::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(169, 132, 58, 0.45); animation: pantry-turn 40s linear infinite; }
.pantry__img { width: 74%; height: auto; filter: drop-shadow(0 22px 18px rgba(60, 35, 10, 0.25)); }
.pantry__count { font-family: var(--f-display); color: var(--brass); margin-bottom: 0.4rem; }
.pantry__name { font-size: var(--step-4); margin-bottom: 0.1em; }
.pantry__latin { font-style: italic; color: var(--neem-2); margin-bottom: 1rem; }
.pantry__note { color: var(--neem-2); }
.pantry__label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sindoor); margin-bottom: 0.5rem; }
.pantry__prods { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pantry__prod {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0.9rem 0.25rem 0.25rem;
  border: 1px solid var(--line); border-radius: 999px; background: #FFFBF1; text-decoration: none; font-weight: 500; font-size: var(--step--1);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.pantry__prod img { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); object-fit: contain; }
.pantry__prod:hover { border-color: var(--sindoor); transform: translateY(-2px); }
.pantry__picks { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.pantry__pick {
  width: 100%; display: grid; justify-items: center; gap: 0.3rem; padding: 0.75rem 0.4rem 0.6rem;
  border: 1px solid transparent; border-radius: var(--radius); background: transparent; cursor: pointer;
  font-size: var(--step--1); font-weight: 500;
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.pantry__thumb { width: 56px; height: 56px; object-fit: contain; transition: transform 0.45s var(--ease); }
.pantry__pick:hover { background: var(--paper); }
.pantry__pick:hover .pantry__thumb { transform: rotate(-8deg) scale(1.1); }
.pantry__pick.is-active { background: #FFFBF1; border-color: var(--brass); box-shadow: 0 10px 24px -14px rgba(60, 35, 10, 0.4); }
.pantry__pick.is-active span { color: var(--sindoor); }
@keyframes pantry-turn { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .pantry { grid-template-columns: 1fr; }
  .pantry__panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pantry__disc { width: min(70vw, 300px); }
  .pantry__prods { justify-content: center; }
  .pantry__picks { grid-template-columns: repeat(12, 76px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .pantry__pick { scroll-snap-align: start; }
}

/* story band */
.story { position: relative; margin-top: var(--section); overflow: hidden; }
.story__img { width: 100%; height: clamp(480px, 70vh, 760px); object-fit: cover; }
.story__card { position: absolute; inset: auto 0 clamp(1.5rem, 5vw, 4rem) 0; }
.story__box {
  max-width: 520px; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: rgba(246, 240, 225, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.story__box p { color: var(--neem-2); }

/* ---------- day dial (Dinacharya) ----------
   The sky colour, the sun on its arc and the open panel all follow one value set by main.js. */
.day {
  --sky: #F6E7CF; --ink: var(--neem); --ink-2: var(--neem-2); --rule: var(--line);
  margin-top: var(--section); padding-block: clamp(3.5rem, 7vw, 6.5rem);
  background: var(--sky); color: var(--ink); transition: background-color 0.8s var(--ease), color 0.6s;
  position: relative; overflow: hidden;
}
.day.is-dragging, .day.is-dragging .day__sun-core { transition: none; }
.day.is-night { --ink: #F2EAD4; --ink-2: #C9C0A8; --rule: rgba(242, 234, 212, 0.18); }
.day__head { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
.day__kicker { grid-column: 1 / -1; margin: 0; color: var(--brass); font-style: italic; font-size: var(--step-1); }
.day__head .section-title { margin: 0; }
.day__lede { margin: 0; color: var(--ink-2); }
.day__sky { position: relative; height: clamp(110px, 15vw, 190px); margin-top: clamp(1.5rem, 4vw, 3rem); touch-action: pan-y; cursor: grab; user-select: none; }
.day__sky.is-dragging { cursor: grabbing; }
.day__arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.day__arc-track { fill: none; stroke: var(--ink); stroke-opacity: 0.28; stroke-width: 1.5; stroke-dasharray: 3 7; vector-effect: non-scaling-stroke; }
.day__arc-done { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--done, 1); }
.day__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
.day__sun { position: absolute; left: 0; top: 0; width: 54px; height: 54px; margin: -27px 0 0 -27px; transform: translate(var(--sx, 0px), var(--sy, 0px)); }
.day__sun-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #FFF1C2, #F6C04E 55%, #E39A2E);
  box-shadow: 0 0 0 10px rgba(246, 192, 78, 0.18), 0 0 60px 14px rgba(246, 192, 78, 0.45);
  transition: background 0.6s, box-shadow 0.6s, transform 0.3s var(--ease);
}
.day__sky:hover .day__sun-core, .day__sky.is-dragging .day__sun-core { transform: scale(1.1); }
.day.is-night .day__sun-core {
  background: radial-gradient(circle at 62% 40%, #FBF5E4, #E6DCC2 70%);
  box-shadow: inset -12px -4px 0 0 rgba(30, 43, 32, 0.28), 0 0 0 10px rgba(242, 234, 212, 0.06), 0 0 50px 8px rgba(242, 234, 212, 0.22);
}
.day__tabs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--rule); }
.day__tab {
  position: relative; width: 100%; display: grid; justify-items: center; gap: 0.15rem; padding: 1.1rem 0.5rem 1.2rem;
  border: 0; background: none; color: var(--ink-2); cursor: pointer; text-align: center; transition: color 0.3s;
}
.day__tab::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; background: var(--sindoor);
  transform: scaleX(0); transition: transform 0.45s var(--ease);
}
.day__tab:hover, .day__tab[aria-selected="true"] { color: var(--ink); }
.day__tab[aria-selected="true"]::after { transform: scaleX(1); }
.day__clock { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.1; font-variant-numeric: tabular-nums; }
.day__habit { font-size: var(--step--1); }
.day__panels { display: grid; margin-top: clamp(2rem, 4vw, 3rem); }
.day__panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.day__panel[hidden] { display: none; }
.day__pics { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: clamp(240px, 28vw, 360px); }
.day__pics::before {
  /* a brass glow the products stand on */
  content: ""; position: absolute; left: 14%; right: 14%; bottom: -6px; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, rgba(169, 132, 58, 0.45), rgba(169, 132, 58, 0) 70%);
}
.day__pic { position: relative; display: block; }
.day__img { width: auto; height: clamp(220px, 26vw, 340px); object-fit: contain; filter: drop-shadow(0 22px 18px rgba(60, 35, 10, 0.28)); transition: transform 0.6s var(--ease); }
.day__pic:hover .day__img { transform: translateY(-8px) rotate(-2deg); }
.day__pics--2 .day__pic + .day__pic { margin-left: -6%; }
/* hair stop: the oil + shampoo combo shot, one grouped image (square cut-out, so a little taller) */
.day__img--group { height: clamp(260px, 30vw, 400px); }
.day__pic:hover .day__img--group { transform: translateY(-8px); }
/* second pack at the hero's proportion: 0.8 of the first pack (the cut-outs have different padding) */
.day__pics--2 .day__pic + .day__pic .day__img { height: clamp(171px, 20.2vw, 264px); }
.day__part { color: var(--brass); font-weight: 600; font-size: var(--step--1); margin-bottom: 0.4rem; }
.day__title { font-size: var(--step-4); margin-bottom: 0.6rem; }
.day__copy p:not(.day__part) { color: var(--ink-2); font-size: var(--step-1); max-width: 46ch; }
.day__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.day__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: var(--step--1); }
.day .link { color: var(--ink); }

/* ---------- learn notes: an index of the essays ---------- */
.notes { list-style: none; border-top: 1px solid var(--line); }
.note {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 4rem minmax(0, 1.1fr) minmax(0, 1fr) 2.5rem;
  gap: 1.5rem; align-items: center; padding: 1.6rem 0.75rem; border-bottom: 1px solid var(--line); text-decoration: none;
}
.note::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.5s var(--ease);
}
.note:hover, .note:focus-visible { color: inherit; }
.note:hover::before, .note:focus-visible::before { transform: scaleY(1); }
.note__n { font-family: var(--f-display); color: var(--brass); font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.note__t { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.15; transition: translate 0.5s var(--ease), color 0.3s; }
.note:hover .note__t { translate: 0.6rem 0; color: var(--sindoor); }
.note__d { color: var(--neem-2); }
.note__go { justify-self: end; font-size: var(--step-2); opacity: 0.35; translate: -0.5rem 0; transition: opacity 0.3s, translate 0.5s var(--ease), color 0.3s; }
.note:hover .note__go { opacity: 1; translate: 0 0; color: var(--sindoor); }
.note__img { display: none; }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-title { font-size: var(--step-5); max-width: 16ch; }
.page-lede { font-size: var(--step-1); color: var(--neem-2); max-width: 60ch; }
.prose { padding-bottom: var(--section); }
.prose h2 { margin-top: 2.5rem; font-size: var(--step-3); }
.callout {
  margin-block: 0 var(--section); padding: clamp(2rem, 4vw, 3.5rem); border-radius: var(--radius);
  background: var(--paper); max-width: calc(var(--max) - 2 * var(--gutter));
}
.callout h2 { font-size: var(--step-3); }

/* shop */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.chip {
  border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 0.5rem 1.1rem; min-height: 42px;
  cursor: pointer; font-weight: 500; transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.chip:hover { border-color: var(--neem); }
.chip.is-active { background: var(--neem); color: var(--ghee); border-color: var(--neem); }
.shop { padding-bottom: var(--section); }
.shop__count { margin-bottom: 2rem; font-size: var(--step--1); }

/* product page */
.crumbs { padding-top: 1.5rem; font-size: var(--step--1); color: var(--neem-2); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(1.5rem, 4vw, 3rem); }
.stage--pdp { max-width: 540px; margin-inline: auto; }
.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit__item {
  --a: calc(var(--i) * 115deg - 140deg);
  position: absolute; width: 19%;
  left: calc(50% + 43% * cos(var(--a))); top: calc(50% + 43% * sin(var(--a)));
  translate: -50% -50%;
  filter: drop-shadow(0 10px 10px rgba(60, 35, 10, 0.2));
}
.pdp__cat a { color: var(--brass); font-weight: 600; text-decoration: none; }
.pdp__title { font-size: var(--step-5); margin-bottom: 0.4rem; }
.pdp__pack { color: var(--neem-2); font-size: var(--step--1); }
.pdp__summary { font-size: var(--step-1); color: var(--neem-2); max-width: 48ch; }
.pdp__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.5rem; margin: 1.75rem 0; padding-block: 1rem; border-block: 1px solid var(--line); }
.pdp__facts dt { font-size: var(--step--1); color: var(--neem-2); }
.pdp__facts dd { margin: 0; font-weight: 600; }
.pdp__buy { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.75rem; }
.pdp__highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pdp__highlights li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--paper); font-size: var(--step--1); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 48px; }
.qty__btn { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.25rem; border-radius: 999px; }
.qty__btn:hover { color: var(--sindoor); }
.qty__input { width: 2.5rem; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-block: var(--section) 0; border-top: 1px solid var(--line); margin-top: 2rem; }
.pdp-detail h2 { font-size: var(--step-3); margin-top: 0.25rem; }
.pdp-detail__col > h2:not(:first-child) { margin-top: 2.25rem; }
.pdp-detail p { color: var(--neem-2); }
.pingrs { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 1rem; }
.pingr { display: flex; align-items: center; gap: 1rem; }
.pingr__img { width: 64px; height: 64px; object-fit: contain; }
.pingr em { color: var(--neem-2); font-size: var(--step--1); }
/* product gallery: the client's product panels as a swipeable strip, each opening full size */
.pgal { padding-block: clamp(2rem, 4vw, 3.5rem) 0; }
.pgal__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.pgal__title { font-size: var(--step-3); margin: 0; }
.pgal__ctrl { display: flex; gap: 0.5rem; }
.pgal__btn, .lightbox__btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: var(--ghee); color: var(--neem);
  transition: background-color 0.3s, color 0.3s, opacity 0.3s;
}
.pgal__btn:hover, .pgal__btn:focus-visible { background: var(--neem); color: var(--ghee); }
.pgal__btn:disabled { opacity: 0.35; cursor: default; background: var(--ghee); color: var(--neem); }
.pgal__btn svg, .lightbox__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pgal__rail {
  list-style: none; margin: 0; padding: 0 0 0.75rem; display: grid; grid-auto-flow: column;
  grid-auto-columns: min(78vw, 24rem); gap: clamp(0.75rem, 2vw, 1.25rem);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
}
.pgal__item { scroll-snap-align: start; }
.pgal__open {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; cursor: zoom-in;
}
.pgal__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s var(--ease); }
.pgal__open:hover .pgal__img { transform: scale(1.03); }
.pgal__open:focus-visible { outline: 2px solid var(--sindoor); outline-offset: 3px; }

.lightbox {
  width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--ghee);
}
.lightbox::backdrop { background: rgba(18, 22, 16, 0.88); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in 0.35s var(--ease); }
.lightbox__frame { width: min(92vw, calc(100svh - 7rem)); aspect-ratio: 1; }
.lightbox__frame img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); background: #fff; }
.lightbox__count { position: fixed; top: 1.4rem; left: 50%; translate: -50% 0; margin: 0; font-size: var(--step--1); letter-spacing: 0.12em; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { position: fixed; top: 50%; translate: 0 -50%; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--neem); color: var(--ghee); }
@keyframes lightbox-in { from { opacity: 0; scale: 0.97; } }
@media (max-width: 600px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[open] { animation: none; }
  .pgal__img, .pgal__open:hover .pgal__img { transition: none; transform: none; }
}

.related { padding-bottom: var(--section); }
.related .section-title { margin-bottom: 2rem; }

/* ingredients library */
.inglib { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: var(--section); }
.ingcard { display: grid; grid-template-columns: 160px 1fr; gap: 1.5rem; align-items: start; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ingcard__img { width: 160px; height: 160px; object-fit: contain; }
.ingcard__name { font-size: var(--step-3); margin-bottom: 0.1rem; }
.ingcard__latin { font-style: italic; color: var(--neem-2); margin-bottom: 0.75rem; }
.ingcard__used { font-size: var(--step--1); font-weight: 500; }
.ingcard__used a { color: var(--sindoor); }
.ingcard__used--none { color: var(--neem-2); font-weight: 400; }

/* learn essays */
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; }
.toc a { font-weight: 600; text-decoration-color: var(--brass); }
.essay { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.essay--flip .essay__media { order: 2; }
.essay__media { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.essay__img { width: 100%; border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.essay__body h2 { font-size: var(--step-4); }
.essay__body p { color: var(--neem-2); }
.essay:last-child { padding-bottom: var(--section); }

/* about */
.about-hero__img { width: 100%; height: clamp(320px, 55vh, 620px); object-fit: cover; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 4rem); }
.about-grid .prose h2:first-child { margin-top: 0; }
.about-motto {
  position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: var(--section);
  display: grid; justify-items: center; text-align: center; padding: 2.5rem 1.75rem 2rem; border-radius: 28px;
  background: radial-gradient(circle at 50% 30%, #FBF7EC, var(--paper) 70%);
}
.stage--motto { width: min(250px, 80%); }
.stage--motto .stage__product { width: 50%; }
.about-motto__sa { margin: 1.5rem 0 0.35rem; color: var(--sindoor); font-size: var(--step-3); line-height: 1.3; }
.about-motto__en { font-family: var(--f-display); font-size: var(--step-2); margin-bottom: 0.4rem; }
.about-motto__src { color: var(--neem-2); font-size: var(--step--1); margin: 0; }
.founder { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-bottom: var(--section); }
.founder__photo { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--paper); }
/* multiply melts the photo's white wall into the panel tone */
.founder__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; mix-blend-mode: multiply; }
.founder__text p { font-size: var(--step-1); color: var(--neem-2); }
.founder__sig { font-family: var(--f-display); color: var(--neem) !important; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); padding-bottom: var(--section); align-items: start; }
.contact__ways { list-style: none; display: grid; gap: 0.75rem; }
.way { display: grid; gap: 0.15rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--paper); text-decoration: none; }
button.way { width: 100%; border: 0; text-align: left; cursor: pointer; }
a.way:hover, button.way:hover { background: var(--paper-2); color: inherit; }
.way__t { font-size: var(--step--1); color: var(--neem-2); font-weight: 600; }
.way__d { font-family: var(--f-display); font-size: var(--step-2); word-break: break-word; }
.contact__form h2 { font-size: var(--step-3); }

/* 404 */
.notfound { display: grid; justify-items: center; text-align: center; padding-block: var(--section); }
.notfound .page-title, .notfound .page-lede { margin-inline: auto; }
.stage--small { max-width: 320px; margin-bottom: 2rem; }
.stage--small .stage__product { width: 58%; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--neem); color: #E9E1CC; padding-top: clamp(3rem, 6vw, 5rem); margin-top: 0; }
.site-footer a { text-decoration: none; }

/* the ask: one big, warm call to WhatsApp */
.site-footer__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(233, 225, 204, 0.16);
}
.site-footer__ask { font-family: var(--f-display); font-size: var(--step-4); line-height: 1.1; color: #F2EAD4; margin: 0; }
.site-footer__ask span { color: #E9B44C; }
.site-footer__wa {
  display: inline-flex; align-items: center; gap: 0.7rem; min-height: 56px; padding: 0.8rem 1.6rem;
  border-radius: 999px; background: #25D366; color: #0B2A17; font-weight: 600; font-size: var(--step-1);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); animation: wa-pulse 2.8s ease-out infinite;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.site-footer__wa:hover { background: #3BE07A; color: #0B2A17; transform: translateY(-2px); }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }

.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 3rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer__seal { display: inline-block; border-radius: 50%; margin-bottom: 1rem; transition: transform 0.9s var(--ease); }
.site-footer__seal:hover { transform: rotate(-12deg) scale(1.04); }
.site-footer__logo { width: 140px; background: var(--ghee); border-radius: 50%; padding: 14px; box-shadow: 0 0 0 6px rgba(233, 225, 204, 0.08), 0 0 0 12px rgba(233, 225, 204, 0.04); }
.site-footer__motto { font-family: var(--f-display); font-size: var(--step-1); color: #F2EAD4; max-width: 28ch; }
.site-footer__h { font-family: var(--f-body); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #E9B44C; margin-bottom: 1rem; }
/* links: the underline draws in and a small arrow slides after it */
.site-footer__links a {
  position: relative; display: inline-flex; align-items: center; gap: 0.35rem; padding-block: 0.1rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.25s, background-size 0.35s var(--ease), padding 0.35s var(--ease);
}
.site-footer__links a::after { content: "\2192"; opacity: 0; translate: -6px 0; transition: opacity 0.25s, translate 0.35s var(--ease); }
.site-footer__links a:hover, .site-footer__links a:focus-visible { color: #fff; background-size: 100% 1px; }
.site-footer__links a:hover::after, .site-footer__links a:focus-visible::after { opacity: 1; translate: 0 0; }
.site-footer__city { color: #BFB49A; }
.socials { margin-top: 1.25rem; display: flex !important; flex-wrap: wrap; gap: 0.6rem !important; }
.socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(233, 225, 204, 0.28); color: #E9E1CC;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.socials svg { width: 19px; height: 19px; }
.socials a:hover, .socials a:focus-visible { background: var(--ghee); color: var(--neem); border-color: var(--ghee); transform: translateY(-3px) rotate(-6deg); }

.site-footer__legal {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  border-top: 1px solid rgba(233, 225, 204, 0.16); padding-block: 1.5rem 2rem; font-size: 0.82rem; color: #BFB49A;
}
.site-footer__legal p { max-width: 90ch; }
.site-footer__top {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px;
  border: 1px solid rgba(233, 225, 204, 0.28); color: #E9E1CC; font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}
.site-footer__top svg { transition: transform 0.35s var(--ease); }
.site-footer__top:hover { background: var(--ghee); color: var(--neem); }
.site-footer__top:hover svg { transform: translateY(-3px); }
/* the name, set large and quiet at the very end of every page */
.site-footer__word {
  /* the mask only paints inside the box, so pad it past the matra curl that rises above the line */
  margin: 0 0 -0.22em; padding: 0.35em 0.1em 0; text-align: center; line-height: 1; font-weight: 600; white-space: nowrap; max-width: none;
  font-size: clamp(5rem, 22vw, 20rem); color: #64261C; /* opaque: alpha would double up where glyphs overlap */
  /* faded with a mask: an outline or clipped gradient shows seams where Devanagari glyphs join */
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 94%);
  mask-image: linear-gradient(180deg, #000 45%, transparent 94%);
  pointer-events: none; user-select: none;
}
/* floating WhatsApp button, on every page */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 50;
  width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 42, 23, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: wa-float-pulse 2.8s ease-out infinite;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
/* keep the glyph and tip white: the global a:hover would turn them brand red on green */
.wa-float:hover, .wa-float:focus-visible { background: #1EBE5A; color: #fff; transform: scale(1.08); }
.wa-float:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px #1EBE5A, 0 8px 24px rgba(11, 42, 23, 0.28); }
.wa-float__tip {
  position: absolute; right: calc(100% + 0.85rem); top: 50%; translate: 6px -50%;
  white-space: nowrap; padding: 0.5rem 0.95rem; border-radius: 999px;
  background: #fff; color: var(--neem); font-size: var(--step--1); font-weight: 600; letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(11, 42, 23, 0.18), 0 0 0 1px rgba(30, 43, 32, 0.06);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, translate 0.3s var(--ease);
}
.wa-float__tip::after { /* small pointer toward the button */
  content: ""; position: absolute; right: -4px; top: 50%; width: 9px; height: 9px;
  background: inherit; transform: translateY(-50%) rotate(45deg); border-radius: 0 2px 0 0;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { color: var(--neem); }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; translate: 0 -50%; }
/* call button, stacked above WhatsApp; no pulse so WhatsApp stays the main action */
.wa-float--call {
  --size: 60px;
  width: 52px; height: 52px; right: calc(max(1rem, env(safe-area-inset-right)) + 4px);
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--size) + 0.75rem);
  background: var(--neem); animation: none; box-shadow: 0 8px 24px rgba(11, 42, 23, 0.28);
}
.wa-float--call:hover, .wa-float--call:focus-visible { background: color-mix(in srgb, var(--neem) 82%, #fff); }
.wa-float--call:focus-visible { box-shadow: 0 0 0 5px var(--neem), 0 8px 24px rgba(11, 42, 23, 0.28); }
@keyframes wa-float-pulse {
  0% { box-shadow: 0 8px 24px rgba(11, 42, 23, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%, 100% { box-shadow: 0 8px 24px rgba(11, 42, 23, 0.28), 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; }
  .wa-float--call { --size: 54px; width: 46px; height: 46px; }
  .wa-float__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .site-footer__wa, .wa-float { animation: none; } }

/* ---------- cart drawer ---------- */
.cart { position: fixed; inset: 0; z-index: 60; }
.cart[hidden] { display: none; }
.cart__scrim { position: absolute; inset: 0; background: rgba(30, 43, 32, 0.42); }
.cart__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%);
  background: var(--ghee); display: flex; flex-direction: column; padding: 1.5rem; overflow-y: auto;
  box-shadow: -20px 0 60px rgba(30, 43, 32, 0.18);
}
.cart__panel:focus { outline: none; }
.cart__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cart__head h2 { margin: 0; font-size: var(--step-3); }
.cart__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; cursor: pointer; border-radius: 50%; }
.cart__close:hover { background: var(--paper); }
.cart__list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.citem__img { width: 64px; height: 64px; object-fit: contain; background: var(--paper); border-radius: 50%; padding: 6px; }
.citem__name { font-weight: 600; line-height: 1.3; }
.citem__size { font-size: var(--step--1); color: var(--neem-2); }
.citem__controls { display: flex; align-items: center; gap: 0.25rem; margin-top: 0.35rem; }
.citem__controls button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: none; cursor: pointer; }
.citem__controls button:hover { border-color: var(--neem); }
.citem__q { min-width: 1.75rem; text-align: center; font-weight: 600; }
.citem__remove { border: 0; background: none; color: var(--neem-2); text-decoration: underline; cursor: pointer; font-size: var(--step--1); }
.citem__remove:hover { color: var(--sindoor); }
.cart__empty { text-align: center; padding: 3rem 0; }
.cart__empty[hidden], .cart__form[hidden] { display: none; }
.cart__how { font-size: var(--step--1); color: var(--neem-2); background: var(--paper); padding: 0.85rem 1rem; border-radius: 10px; }
.cart__form { margin-top: auto; }

/* ---------- quotation dialog ---------- */
.quote-btn {
  min-height: 44px; padding: 0.4rem 1rem; border-radius: 999px; border: 1.5px solid var(--sindoor);
  background: var(--sindoor); color: #fff; font-weight: 600; cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.quote-btn:hover { background: var(--sindoor-deep); border-color: var(--sindoor-deep); }
.mm__quote {
  width: 100%; min-height: 48px; border: 1.5px dashed var(--brass); border-radius: 16px; background: none;
  font-weight: 600; color: var(--neem); cursor: pointer;
}
.mm__quote:active { background: var(--paper); }
.mm__extra { display: grid; gap: 0.5rem; }
.mm__appt { border-style: solid; border-color: var(--neem); background: var(--neem); color: var(--ghee); }
.mm__appt:active { background: #26362A; }
.appt-btn {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 1rem 0.4rem 0.8rem; border-radius: 999px;
  border: 1.5px solid var(--neem); background: var(--neem); color: var(--ghee); font-weight: 600; cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.appt-btn:hover { background: #26362A; }
.appt-btn, .quote-btn, .cart-btn, .brand__word { white-space: nowrap; }
/* three header buttons: tighten up before the mobile menu takes over at 900px */
@media (max-width: 1180px) {
  .site-header__inner { gap: 1rem; }
  .nav { gap: 1.1rem; }
  .cart-btn > span:not(.cart-btn__count) { display: none; }
}
@media (max-width: 1000px) {
  .brand__sub { display: none; }
  .appt-btn, .quote-btn { padding-inline: 0.85rem; }
}
@media (max-width: 960px) {
  .brand { flex-shrink: 0; }
  .nav { gap: 0.85rem; }
  .appt-btn svg { display: none; }
}
/* Online OPD dialog: reuses the quotation dialog, Devanagari falls back to the system font */
.appt { --f-body: "Hanken Grotesk", "Nirmala UI", "Noto Sans Devanagari", "Mangal", system-ui, sans-serif; font-family: var(--f-body); }
.appt__clinic { margin: 0 0 0.25rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.appt .quote__head h2 { font-size: var(--step-2); }
.appt__step { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); font-weight: 600; max-width: none; }
.appt__step span { font-size: var(--step--1); font-weight: 500; color: var(--sindoor); }
.appt .appt__chips--2 { grid-template-columns: repeat(2, 1fr); }
.appt .appt__chips--3 { grid-template-columns: repeat(3, 1fr); }
.appt .appt__chips--4 { grid-template-columns: repeat(4, 1fr); }
.appt .quote__chip span { text-align: center; line-height: 1.3; }
.appt__hint { font-weight: 400; color: var(--neem-2); font-size: 0.8rem; }
.appt__fee { margin: 0.25rem 0 1rem; padding: 0.9rem 1rem; border-radius: 14px; background: var(--paper); border-left: 3px solid var(--brass); font-size: var(--step--1); }
.appt__fee p { margin: 0; max-width: none; }
.appt__fee-amt { font-size: var(--step-0); margin-bottom: 0.25rem !important; }
.appt__fee-amt strong { color: var(--sindoor); font-size: var(--step-1); }
.appt__consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1rem; font-size: var(--step--1); line-height: 1.5; cursor: pointer; }
.appt__consent input { flex: none; width: 20px; height: 20px; margin: 0.1rem 0 0; accent-color: var(--neem); }
.site-footer__quote {
  min-height: 56px; padding: 0.8rem 1.6rem; border-radius: 999px; border: 1.5px solid rgba(233, 225, 204, 0.45);
  background: none; color: #F2EAD4; font-weight: 600; font-size: var(--step-1); cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.site-footer__quote:hover { background: #F2EAD4; color: var(--neem); }
.site-footer__cta .site-footer__ask { flex: 1 1 22rem; }
.pdp__bulk, .cart__bulk { font-size: var(--step--1); color: var(--neem-2); margin: -0.75rem 0 1.5rem; }
.cart__bulk { margin: 0.75rem 0 0; text-align: center; }
button.link { border: 0; background: none; padding: 0; cursor: pointer; color: var(--neem); font-size: inherit; }

.quote {
  width: min(620px, calc(100% - 1.5rem)); max-height: calc(100svh - 1.5rem); padding: 0; border: 0;
  border-radius: 22px; background: var(--ghee); color: var(--neem); box-shadow: 0 30px 80px -20px rgba(18, 30, 20, 0.5);
}
.quote:focus, .quote:focus-visible { outline: none; }
/* a slim brass scrollbar that stays clear of the rounded corners (Chromium/Safari) */
.quote::-webkit-scrollbar { width: 12px; }
.quote::-webkit-scrollbar-track { background: transparent; margin-block: 18px; }
.quote::-webkit-scrollbar-thumb { background: rgba(169, 132, 58, 0.45); border: 4px solid transparent; border-radius: 999px; background-clip: padding-box; }
.quote::-webkit-scrollbar-thumb:hover { background-color: rgba(169, 132, 58, 0.8); }
.quote::-webkit-scrollbar-button { display: none; }
@supports (-moz-appearance: none) { .quote { scrollbar-width: thin; scrollbar-color: rgba(169, 132, 58, 0.55) transparent; } }
.quote::backdrop { background: rgba(30, 43, 32, 0.5); backdrop-filter: blur(3px); }
.quote[open] { animation: quote-in 0.4s var(--ease); }
@keyframes quote-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
.quote__form { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.quote__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.quote__head h2 { margin: 0 0 0.3rem; font-size: var(--step-3); color: var(--sindoor); }
.quote__lede { margin: 0; font-size: var(--step--1); color: var(--neem-2); }
.quote__head .cart__close { flex: none; margin: -0.4rem -0.4rem 0 0; }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.9rem; }
.quote em { font-style: normal; font-weight: 400; color: var(--neem-2); }
.field select {
  width: 100%; padding: 0.75rem 2.2rem 0.75rem 0.9rem; border-radius: 10px; border: 1.5px solid var(--line); font: inherit; font-size: var(--step-0);
  color: inherit; appearance: none; cursor: pointer;
  background: #FBF8F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2B20' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
}
.field select:focus { border-color: var(--neem); outline: none; box-shadow: 0 0 0 3px rgba(196, 30, 22, 0.18); }
.field input:user-invalid { border-color: var(--sindoor); }
.quote__slots { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.quote__slots legend { padding: 0; margin-bottom: 0.5rem; font-size: var(--step--1); font-weight: 500; }
.quote__chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.5rem; }
.quote__chip { position: relative; }
.quote__chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quote__chip span {
  display: grid; place-items: center; min-height: 44px; padding: 0.4rem 0.6rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: #FBF8F0; font-size: var(--step--1); font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.quote__chip:hover span { border-color: var(--neem); }
.quote__chip input:checked + span { background: var(--neem); border-color: var(--neem); color: var(--ghee); }
.quote__chip input:focus-visible + span { outline: 2px solid var(--sindoor); outline-offset: 2px; }
.quote__chip input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.quote__chip input:disabled { cursor: not-allowed; }
.quote__send { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.5rem; }
.quote__wa { background: #25D366; color: #0B2A17; }
.quote__wa:hover { background: #3BE07A; color: #0B2A17; }
.quote__send[hidden], .quote__mail[hidden] { display: none; }
.quote__mail { margin-top: 0.5rem; padding: 1rem; border-radius: 14px; background: var(--paper); }
.quote__mail-h { margin: 0 0 0.75rem; font-size: var(--step--1); max-width: none; }
.quote__mail-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.quote__mail-ways .btn { min-height: 44px; background: #FBF8F0; }
.quote__mail-ways .btn:hover { background: var(--neem); }
.quote__back { margin-top: 0.75rem; font-size: var(--step--1); }
.quote__fine { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--neem-2); text-align: center; max-width: none; }
@media (max-width: 600px) {
  .quote { width: 100%; max-width: none; max-height: 92svh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .quote[open] { animation-name: quote-up; }
  .quote__grid, .quote__send { grid-template-columns: 1fr; }
  .appt .appt__chips--3, .appt .appt__chips--4 { grid-template-columns: 1fr 1fr; }
  .appt__chips--3 .quote__chip:last-child { grid-column: span 2; }
}
@keyframes quote-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .quote[open] { animation: none; } }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 70; transform: translate(-50%, 150%);
  background: var(--neem); color: var(--ghee); padding: 0.8rem 1.25rem; border-radius: 999px; font-weight: 500;
  transition: transform 0.45s var(--ease), visibility 0s 0.45s; max-width: calc(100% - 2rem); text-align: center;
  visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
@media (max-width: 600px) {
  /* a full-width bar above the WhatsApp button; a pill wraps into a blob here */
  .toast { left: 1rem; right: 1rem; bottom: 5.5rem; max-width: none; border-radius: 14px; padding: 0.75rem 1rem; font-size: var(--step--1); line-height: 1.4; transform: translateY(calc(100% + 6rem)); }
  .toast.is-on { transform: translateY(0); }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .cart-btn > span:not(.cart-btn__count) { display: none; }
  .quote-btn, .appt-btn { display: none; }
  .chakra { display: none; }
  /* phones: the photo on top (cropped to the plinth), copy under it on the wall colour */
  .hs { height: auto; display: block; }
  .hs__slide { align-items: start; align-content: start; }
  /* square crop on the plinth so the packs read at phone size */
  .hs { --hs-pos: 96% 50%; }
  .hs__photo { position: relative; inset: auto; aspect-ratio: 1; }
  .hs__photo::after { display: none; }
  .hs { background: color-mix(in srgb, var(--bg) 62%, #1c1008); }
  .hs__copy, .hs__bar { text-shadow: none; }
  .hs__body { padding-block: 1.5rem 1rem; }
  .hs__name { font-size: clamp(2.4rem, 1.6rem + 4vw, 3.2rem); }
  .hs__line { margin-bottom: 1.5rem; }
  .hs__bar { gap: 0.75rem; padding-bottom: 1.5rem; }
  .hs__tabs { flex: 1; gap: 0.5rem; }
  .hs__tabs li { flex: 1; min-width: 0; }
  .hs__tab-l { display: none; }
  .meaning { grid-template-columns: 1fr; gap: 1rem; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .day__head { grid-template-columns: 1fr; }
  .day__panel { grid-template-columns: 1fr; }
  .day__copy { display: grid; justify-items: center; text-align: center; }
  .day__actions { justify-content: center; }
  /* phones: arch photo on the left, title and line stacked beside it */
  .note { grid-template-columns: 76px 1fr; grid-template-rows: auto auto; align-items: center; align-content: center; gap: 0.3rem 1.1rem; padding: 1rem 0.25rem; }
  .note__n, .note__go { display: none; }
  .note__img { display: block; grid-column: 1; grid-row: 1 / 3; align-self: center; width: 76px; height: 92px; object-fit: cover; border-radius: 999px 999px 10px 10px; }
  .note__t { grid-column: 2; grid-row: 1; align-self: end; font-size: var(--step-2); }
  .note__d { grid-column: 2; grid-row: 2; align-self: start; font-size: var(--step--1); line-height: 1.5; }
  .note:hover .note__t { translate: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-motto { position: static; }
  .pdp, .pdp-detail, .contact, .essay, .founder, .inglib { grid-template-columns: 1fr; }
  .essay--flip .essay__media { order: 0; }
  .essay__media { position: static; max-width: 420px; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 280px; }
  .story__card { position: static; margin-top: -4rem; }
  .story__box { background: var(--ghee); }
}
@media (max-width: 560px) {
  .brand__sub { display: none; }
  .day__tabs { grid-template-columns: repeat(5, minmax(4.2rem, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .day__habit { display: none; }
  .day__clock { font-size: var(--step-1); }
  .day__title { font-size: var(--step-3); }
  .day__pics { min-height: 0; padding-top: 0.5rem; }
  .day__img { height: 200px; }
  .day__pics--2 .day__pic + .day__pic .day__img { height: 155px; }
  .pgrid { gap: 1.5rem 0.9rem; }
  .pcard__name { font-size: var(--step-1); }
  .pdp__facts { grid-template-columns: repeat(2, auto); gap: 1rem 2rem; }
  .ingcard { grid-template-columns: 96px 1fr; gap: 1rem; }
  .ingcard__img { width: 96px; height: 96px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
  .pdp__buy .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- splash (first page view of a visit) ----------
   The logo assembles itself: petals bloom, the lotus rises, the name settles,
   then the screen lifts onto the page's own petal ring. Pure CSS so it ends
   even if scripts fail; main.js only removes the class and offers tap-to-skip. */
.splash { display: none; }
.lk-splash .splash {
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 42%, #FBF7EC 0%, var(--ghee) 55%, var(--paper) 100%);
  animation: splash-out 0.7s var(--ease) 2.2s forwards;
  cursor: pointer;
}
.splash__inner { display: grid; justify-items: center; text-align: center; padding: var(--gutter); }
.lk-splash .splash__inner { animation: splash-lift 0.7s var(--ease) 2.2s forwards; }
.splash__mark { position: relative; width: min(260px, 64vw); aspect-ratio: 1; display: grid; place-items: center; }
.splash__mark .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: splash-turn 2.6s var(--ease) both; }
.splash .petal { transform-box: fill-box; transform-origin: 50% 100%; animation: splash-petal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both; animation-delay: calc(var(--i) * 22ms + 80ms); }
.splash__glow {
  position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 87, 142, 0.35), rgba(217, 87, 142, 0) 70%);
  animation: splash-fade 1.2s ease-out 0.5s both;
}
.splash__lotus { position: relative; width: 52%; height: auto; animation: splash-rise 1s var(--ease) 0.6s both; }
.splash__word { margin: 1.25rem 0 0; font-family: var(--f-display); font-size: var(--step-3); color: var(--neem); line-height: 1.1; animation: splash-rise 0.9s var(--ease) 1.05s both; }
.splash__word span { color: var(--brass); }
.splash__motto { margin: 0.5rem 0 0; color: var(--sindoor); font-size: var(--step-1); letter-spacing: 0.04em; animation: splash-fade 0.9s ease-out 1.35s both; }

@keyframes splash-petal { from { transform: scale(0); opacity: 0; } }
@keyframes splash-turn { from { transform: rotate(-75deg); } }
@keyframes splash-rise { from { opacity: 0; transform: translateY(16px) scale(0.94); } }
@keyframes splash-fade { from { opacity: 0; } }
@keyframes splash-lift { to { transform: translateY(-3vh) scale(1.08); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

@media (prefers-reduced-motion: reduce) {
  .splash *, .splash__inner { animation: none !important; }
  .lk-splash .splash { animation: splash-out 0.4s ease 0.9s forwards; }
}
