/* =========================================================
   MILL STREET — stylesheet
   Palette is drawn from the pantry: atta (flour), plum (logo),
   turmeric, neem leaf, jaggery.
   ========================================================= */
:root {
  --atta: #F1E8D4;
  --atta-2: #E7D9BB;
  --atta-3: #DCCAA4;
  --plum: #8C374F;
  --plum-d: #6E2A3E;
  --ink: #2B1320;
  --ink-soft: #5B4450;
  --turmeric: #D99A1E;
  --neem: #5E6B3A;
  --jaggery: #6B3E1F;

  --serif: 'Young Serif', 'Georgia', serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --hand: 'Kalam', 'Comic Sans MS', cursive;

  --pad: clamp(1.1rem, 4vw, 3.5rem);
  --maxw: 1320px;
  --head-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--atta);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* paper grain over everything */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
:focus-visible { outline: 2.5px solid var(--turmeric); outline-offset: 3px; border-radius: 4px; }
.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: -4rem; z-index: 10000; background: var(--ink); color: var(--atta); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.hand { font-family: var(--hand); font-weight: 400; }

/* ---------- custom cursor ---------- */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9500; border-radius: 50%; will-change: transform; }
.cursor { width: 8px; height: 8px; background: var(--plum); margin: -4px 0 0 -4px; transition: opacity .2s; }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid var(--plum);
  display: grid; place-items: center;
  font-family: var(--hand); font-size: .82rem; color: var(--atta); line-height: 1;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.cursor-ring span { opacity: 0; transition: opacity .2s; }
body.c-link .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: var(--turmeric); }
body.c-label .cursor-ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--plum); border-color: var(--plum); }
body.c-label .cursor-ring span { opacity: 1; }
body.c-label .cursor { opacity: 0; }
body.on-dark .cursor { background: var(--atta); }
body.on-dark .cursor-ring { border-color: var(--atta); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- announcement marquee ---------- */
.announce {
  background: var(--plum); color: var(--atta);
  overflow: hidden; white-space: nowrap; position: relative; z-index: 60;
  font-size: .86rem; letter-spacing: .01em;
}
.announce-track { display: inline-flex; animation: marquee 38s linear infinite; padding: .55rem 0; }
.announce:hover .announce-track { animation-play-state: paused; }
.announce-item { display: inline-flex; align-items: center; gap: 1.1rem; padding-right: 1.1rem; }
.announce-item img { width: 15px; height: 15px; }
.announce-item b { font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 232, 212, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(140, 55, 79, .14);
}
.head-inner { height: var(--head-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; width: clamp(118px, 12vw, 150px); }
.brand img { width: 100%; height: auto; }
.nav { display: flex; gap: .3rem; align-items: center; }
.nav > li { list-style: none; position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px;
  font-weight: 500; font-size: .97rem;
  transition: background .25s, color .25s;
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { background: var(--atta-2); }
.nav-link[aria-current="page"] { color: var(--plum); }
.nav-link .chev { width: 10px; transition: transform .3s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.head-actions { justify-self: end; display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--atta-2); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn .count { position: absolute; top: 4px; right: 3px; min-width: 17px; height: 17px; border-radius: 9px; background: var(--plum); color: var(--atta); font-size: .66rem; display: grid; place-items: center; font-weight: 700; }
.menu-btn { display: none; }

/* products mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--atta);
  border-bottom: 1px solid rgba(140, 55, 79, .16);
  box-shadow: 0 30px 40px -30px rgba(43, 19, 32, .3);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .5s var(--ease), visibility 0s .5s;
}
.mega.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease); }
.mega-inner { display: grid; grid-template-columns: 1.1fr 3fr; gap: 2.5rem; padding-top: 2rem; padding-bottom: 2.2rem; }
.mega-intro h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; margin-bottom: .7rem; }
.mega-intro p { color: var(--ink-soft); font-size: .95rem; max-width: 30ch; margin-bottom: 1.2rem; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.mega-cat {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: .9rem;
  padding: .6rem .9rem .6rem .6rem; border-radius: 14px;
  transition: background .25s;
}
.mega-cat:hover, .mega-cat:focus-visible { background: var(--atta-2); }
.mega-cat .thumb { width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; overflow: hidden; }
.mega-cat .thumb svg { width: 56px; height: 66px; transition: transform .45s var(--ease); }
.mega-cat:hover .thumb svg { transform: translateY(-4px) rotate(-4deg); }
.mega-cat .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega-cat:hover .thumb img { transform: scale(1.08); }
.mega-cat strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.2; }
.mega-cat .hand { color: var(--plum); font-size: .95rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  transition: background .3s, color .3s, transform .3s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn-plum { background: var(--plum); color: var(--atta); }
.btn-plum::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease);
}
.btn-plum:hover::before { transform: translateY(0); }
.btn-line { border: 1.5px solid currentColor; }
.btn-line:hover { background: var(--ink); color: var(--atta); border-color: var(--ink); }
.btn-turmeric { background: var(--turmeric); color: var(--ink); }
.btn-turmeric:hover { background: var(--atta); }
.btn svg { width: 16px; height: 16px; }

/* =========================================================
   HERO — the chakki
   ========================================================= */
.hero { position: relative; min-height: calc(100svh - var(--head-h) - 36px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 6vw, 5rem) max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); }
.slides { position: relative; min-height: 22rem; }
.slide { position: absolute; inset: 0 0 auto 0; visibility: hidden; }
.slide.is-active { position: relative; visibility: visible; }
.slide .hi-tag { font-family: var(--hand); color: var(--plum); font-size: 1.35rem; margin-bottom: .6rem; display: inline-block; transform: rotate(-2deg); }
.slide h1, .slide h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 1.4rem; max-width: 11ch;
}
.slide p { font-size: clamp(1rem, 1.25vw, 1.14rem); color: var(--ink-soft); max-width: 44ch; margin-bottom: 2rem; line-height: 1.65; }
.slide .line { display: block; overflow: hidden; padding-bottom: .06em; }
.slide .line > span { display: block; transform: translateY(105%); transition: transform .9s var(--ease); }
.slide.is-active .line > span { transform: translateY(0); }
.slide.is-active .line:nth-child(2) > span { transition-delay: .08s; }
.slide.is-active .line:nth-child(3) > span { transition-delay: .16s; }
.slide .fade { opacity: 0; transform: translateY(10px); transition: opacity .7s .25s, transform .7s .25s var(--ease); }
.slide.is-active .fade { opacity: 1; transform: none; }
.slide-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.slide-nav { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.8rem; }
.slide-dots { display: flex; gap: .5rem; }
.slide-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; position: relative; }
.slide-dot::before { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--plum); transition: background .3s, transform .3s; }
.slide-dot[aria-current="true"]::before { background: var(--plum); transform: scale(1.25); }
.slide-dot svg { position: absolute; inset: 0; width: 34px; height: 34px; transform: rotate(-90deg); }
.slide-dot circle { fill: none; stroke: var(--plum); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.slide-dot[aria-current="true"] circle { animation: dotfill var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .slide-dot circle { animation-play-state: paused; }
@keyframes dotfill { to { stroke-dashoffset: 0; } }
.slide-label { font-size: .88rem; color: var(--ink-soft); }

.hero-mill { position: relative; height: 100%; min-height: 560px; display: grid; place-items: center; }
.mill-disc {
  position: relative; width: min(46vw, 640px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, #E9DCBE 0 58%, #DCCAA4 59% 60%, #E3D3B0 61%);
  box-shadow: inset 0 -18px 40px rgba(107, 62, 31, .16), 0 40px 60px -40px rgba(43, 19, 32, .45);
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.mill-disc::before { /* stone pitting */
  content: ''; position: absolute; inset: 0; border-radius: 50%; opacity: .35; mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 20% 30%, rgba(107, 62, 31, .25) 0 1px, transparent 2px), radial-gradient(circle at 70% 60%, rgba(107, 62, 31, .2) 0 1px, transparent 2px), radial-gradient(circle at 40% 80%, rgba(107, 62, 31, .22) 0 1.5px, transparent 2.5px);
  background-size: 23px 23px, 31px 31px, 41px 41px;
}
.mill-rotor { position: absolute; inset: 6%; will-change: transform; }
.mill-rotor img { width: 100%; height: 100%; pointer-events: none; }
.mill-handle { /* the wooden peg of a hand chakki */
  position: absolute; left: 50%; top: 4%; width: 22px; height: 22px; margin-left: -11px;
  border-radius: 50%; background: var(--jaggery); box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .25), 0 3px 0 rgba(43, 19, 32, .2);
}
.mill-eye { position: absolute; left: 50%; top: 50%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--atta); box-shadow: inset 0 3px 8px rgba(43, 19, 32, .35); }
.mill-notches { position: absolute; inset: -5%; pointer-events: none; }
.mill-notches span { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 2px; background: var(--atta-3); transition: background .4s, transform .4s; }
.mill-notches span.on { background: var(--plum); }
.mill-hint {
  position: absolute; right: 8%; bottom: 13%; z-index: 3;
  font-family: var(--hand); font-size: 1.15rem; color: var(--plum); line-height: 1.15;
  transform: rotate(-6deg); pointer-events: none; transition: opacity .6s;
}
.mill-hint svg { width: 62px; margin: 0 0 .2rem -1.2rem; transform: scaleX(-1) rotate(10deg); }
.hero.touched .mill-hint { opacity: 0; }
#flour { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.mill-disc { z-index: 2; }

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 36ch); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.02; letter-spacing: -.015em; max-width: 16ch; }
.sec-head p { color: var(--ink-soft); }
.sec-head .hand { display: block; color: var(--plum); font-size: 1.3rem; margin-bottom: .3rem; }

/* ---------- three slow ways ---------- */
.ways { background: var(--plum); color: var(--atta); overflow: hidden; }
.ways .sec-head p { color: rgba(241, 232, 212, .78); }
.ways .sec-head .hand { color: var(--turmeric); }
.ways-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(241, 232, 212, .25); }
.way { padding: 2.4rem 2rem 2.6rem; border-right: 1px solid rgba(241, 232, 212, .25); position: relative; }
.way:last-child { border-right: 0; }
.way:first-child { padding-left: 0; }
.way-art { height: 220px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.way-art svg { width: 100%; max-width: 280px; height: 100%; overflow: visible; stroke-width: 2.6px; }
.way-art svg * { vector-effect: non-scaling-stroke; }
.way h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; margin-bottom: .2rem; }
.way .hand { color: var(--turmeric); font-size: 1.25rem; display: block; margin-bottom: .8rem; }
.way p { color: rgba(241, 232, 212, .8); max-width: 34ch; font-size: .98rem; }
/* hover animations on the illustrations */
.chakki-top { transform-origin: 130px 104px; }
.way:hover .chakki-handle { animation: crank 1.6s linear infinite; }
@keyframes crank { 0% { transform: translateX(0); } 25% { transform: translateX(46px) translateY(8px); } 50% { transform: translateX(0) translateY(14px); } 75% { transform: translateX(-46px) translateY(8px); } 100% { transform: translateX(0); } }
.ghani-beam { transform-origin: 130px 92px; }
.way:hover .ghani-beam { animation: beam 2.4s ease-in-out infinite; }
@keyframes beam { 50% { transform: rotate(-14deg) translateX(-6px); } }
.bilona-stick { transform-origin: 130px 60px; }
.way:hover .bilona-stick { animation: churn .5s ease-in-out infinite alternate; }
@keyframes churn { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.way:hover .drip { animation: drip 1.4s ease-in infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

/* ---------- pantry (category grid) ---------- */
.pantry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.pantry-grid .cat-card:first-child { grid-column: span 2; }
.pantry-grid .cat-card:first-child { grid-template-rows: 1fr auto; }
.pantry-grid .cat-card:first-child .cat-visual { aspect-ratio: auto; min-height: 280px; }
.pantry-grid .cat-card:first-child h3 { font-size: 2rem; }
.cat-card {
  position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: 22px; background: var(--atta-2);
  transition: background .5s var(--ease);
}
.cat-card .cat-visual { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; }
.cat-card .cat-visual::before {
  content: ''; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: var(--tint); transform: scale(.8); transition: transform .7s var(--ease);
}
.cat-card .cat-visual svg { position: relative; width: 52%; transition: transform .7s var(--ease); }
.cat-card:hover .cat-visual::before { transform: scale(1.12); }
.cat-card:hover .cat-visual svg { transform: translateY(-8px) rotate(-5deg) scale(1.04); }
.cat-card .cat-visual.photo { aspect-ratio: 4 / 3; }
.cat-card .cat-visual.photo::before { display: none; }
.cat-card .cat-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover .cat-visual img { transform: scale(1.06); }
.cat-card .cat-body { padding-top: 1.2rem; }
.cat-card .cat-body { padding: 0 1.5rem 1.5rem; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.cat-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.cat-card .hand { color: var(--plum); font-size: 1.1rem; }
.cat-card .count { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.cat-card .hi-big {
  position: absolute; top: 1rem; left: 1.3rem; font-family: var(--hand); font-size: 1rem; color: var(--ink-soft);
}

/* ---------- brochure teaser ---------- */
.book-sec { background: var(--atta-2); }
.book-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.book-row h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.8vw, 4.2rem); line-height: 1.02; margin-bottom: 1.2rem; }
.book-row p { color: var(--ink-soft); max-width: 42ch; margin-bottom: 2rem; }
.book-row .hand { color: var(--plum); font-size: 1.3rem; display: block; margin-bottom: .3rem; }
.book-stage { perspective: 1600px; display: grid; place-items: center; padding: 2rem 0; }
.book {
  position: relative; width: min(400px, 74vw); aspect-ratio: 1 / 1;
  transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(8deg);
  transition: transform .9s var(--ease);
}
.book-page, .book-cover { position: absolute; inset: 0; border-radius: 3px 10px 10px 3px; }
.book-page { background: #F8F1E1; box-shadow: 0 30px 50px -20px rgba(43, 19, 32, .45); }
.book-page::after { content: ''; position: absolute; right: -6px; top: 4px; bottom: 4px; width: 8px; background: repeating-linear-gradient(90deg, #EFE6D0 0 1px, #d9cdb1 1px 2px); border-radius: 0 3px 3px 0; }
.book-inside { position: absolute; inset: 0; padding: 12% 10%; display: flex; flex-direction: column; justify-content: center; }
.book-inside .hand { color: var(--plum); font-size: 1.4rem; text-align: center; margin-bottom: .8rem; }
.book-inside p { font-family: var(--serif); font-size: 1.05rem; text-align: center; color: var(--ink); line-height: 1.35; }
.book-cover {
  background: var(--plum); transform-origin: left center; transition: transform 1.1s var(--ease);
  display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .22) 0 4%, rgba(255, 255, 255, .07) 4.5% 5%, transparent 6%);
}
.book-cover.photo, .book-page.photo { background-size: cover; background-position: center; }
.book-cover .bc-wheel { width: 52%; opacity: .95; }
.book-cover .bc-word { position: absolute; bottom: 11%; width: 46%; }
.book-cover .bc-hand { position: absolute; top: 9%; font-family: var(--hand); color: var(--turmeric); font-size: 1.1rem; }
.book-stage:hover .book, .book-stage:focus-within .book { transform: rotateY(-8deg) rotateX(4deg); }
.book-stage:hover .book-cover, .book-stage:focus-within .book-cover { transform: rotateY(-125deg); }

/* ---------- pre-order ticket ---------- */
.ticket-sec { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.ticket {
  --notch: 22px;
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr;
  background: var(--turmeric); color: var(--ink); border-radius: 26px;
  -webkit-mask: radial-gradient(circle var(--notch) at calc(58.33%) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(58.33%) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(58.33%) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(58.33%) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket-main { padding: clamp(2rem, 5vw, 4rem); border-right: 2px dashed rgba(43, 19, 32, .35); }
.ticket-main .hand { font-size: 1.3rem; color: var(--plum-d); display: block; margin-bottom: .2rem; }
.ticket-main h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.02; margin-bottom: 1rem; max-width: 14ch; }
.ticket-main p { max-width: 44ch; margin-bottom: 1.8rem; color: #4a2a1d; }
.notify-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 520px; }
.notify-form .field { flex: 1 1 240px; position: relative; }
.notify-form input {
  width: 100%; padding: 1rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: rgba(241, 232, 212, .55); color: var(--ink); outline: none; transition: background .25s;
}
.notify-form input:focus { background: var(--atta); }
.notify-form input::placeholder { color: #6b4b3a; }
.form-msg { width: 100%; font-family: var(--hand); font-size: 1.1rem; min-height: 1.6em; color: var(--plum-d); }
.ticket-stub { padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; position: relative; }
.stub-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(43, 19, 32, .25); padding-bottom: .7rem; font-size: .95rem; }
.stub-row span:first-child { color: #5a3a28; }
.stub-row span:last-child { font-weight: 600; text-align: right; }
.stub-stamp { align-self: flex-end; width: 140px; height: 140px; border-radius: 50%; border: 2px solid var(--plum); color: var(--plum); display: grid; place-items: center; transform: rotate(-12deg); position: relative; }
.stub-stamp img { width: 62%; opacity: .9; }
.stub-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stub-stamp text { font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: 2px; fill: var(--plum); }

/* =========================================================
   FOOTER — the bahi-khata ledger
   ========================================================= */
.ledger { position: relative; background: var(--plum-d); color: var(--atta); padding-top: 3.2rem; overflow: hidden; }
.ledger-cloth { /* red cloth binding with stitching */
  position: absolute; inset: 0 0 auto 0; height: 3.2rem;
  background: var(--plum-d);
  border-bottom: 2px dashed rgba(217, 154, 30, .7);
}
.ledger-page {
  position: relative; margin: 0 var(--pad); background: #F6EEDC; color: var(--ink);
  border-radius: 6px 6px 0 0; padding: clamp(2rem, 4vw, 3.4rem) clamp(1.2rem, 4vw, 3.4rem) 2.2rem clamp(3.4rem, 8vw, 7rem);
  background-image:
    linear-gradient(90deg, transparent calc(clamp(2.4rem, 6vw, 5.2rem)), rgba(181, 71, 46, .5) calc(clamp(2.4rem, 6vw, 5.2rem)), rgba(181, 71, 46, .5) calc(clamp(2.4rem, 6vw, 5.2rem) + 1px), transparent calc(clamp(2.4rem, 6vw, 5.2rem) + 1px), transparent calc(clamp(2.4rem, 6vw, 5.2rem) + 4px), rgba(181, 71, 46, .5) calc(clamp(2.4rem, 6vw, 5.2rem) + 4px), rgba(181, 71, 46, .5) calc(clamp(2.4rem, 6vw, 5.2rem) + 5px), transparent calc(clamp(2.4rem, 6vw, 5.2rem) + 5px)),
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(140, 55, 79, .16) 33px 34px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
  cursor: crosshair;
}
.shubh { text-align: center; font-family: var(--hand); color: #B5472E; font-size: 1.5rem; margin-bottom: 1.6rem; letter-spacing: .02em; }
.ledger-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem 2.4rem; position: relative; z-index: 2; }
.ledger-col h4 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--plum); margin-bottom: .55rem; line-height: 34px; }
.ledger-col ul { list-style: none; }
.ledger-col li, .ledger-col address { font-family: var(--hand); font-size: 1.18rem; line-height: 34px; font-style: normal; }
.ledger-col a { background-image: linear-gradient(var(--plum), var(--plum)); background-size: 0 1.5px; background-position: 0 85%; background-repeat: no-repeat; transition: background-size .4s var(--ease), color .2s; }
.ledger-col a:hover { background-size: 100% 1.5px; color: var(--plum); }
.ledger-col .socials { display: flex; gap: .55rem; margin-top: .5rem; }
.ledger-col .socials a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; background-image: none; transition: background .25s, color .25s, transform .3s var(--ease); }
.ledger-col .socials a:hover { background: var(--plum); color: var(--atta); border-color: var(--plum); transform: rotate(-10deg); }
.ledger-col .socials svg { width: 18px; height: 18px; }
.ledger-sign { margin-top: 2.6rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; z-index: 2; }
.ledger-word { width: min(640px, 100%); }
.ledger-word img { width: 100%; }
.ledger-tip { font-family: var(--hand); color: var(--ink-soft); font-size: 1rem; text-align: right; max-width: 22ch; }
.stamp-mark { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; pointer-events: none; z-index: 1; opacity: 0; color: var(--plum); animation: stampIn .45s var(--ease) forwards; }
.stamp-mark .ring { position: absolute; inset: 0; border: 2.5px solid currentColor; border-radius: 50%; }
.stamp-mark img { position: absolute; inset: 16%; width: 68%; }
.stamp-mark svg { position: absolute; inset: 0; }
.stamp-mark text { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 2.4px; fill: var(--plum); }
@keyframes stampIn { 0% { opacity: 0; transform: scale(1.6) rotate(var(--r)); } 60% { opacity: .85; transform: scale(.94) rotate(var(--r)); } 100% { opacity: .62; transform: scale(1) rotate(var(--r)); } }
.ledger-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem var(--pad); font-size: .85rem; color: rgba(241, 232, 212, .7); }
.ledger-base a:hover { color: var(--atta); }
.ledger-base nav { display: flex; gap: 1.4rem; }

/* =========================================================
   PRE-ORDER POP-UP
   ========================================================= */
.popup { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: 1.2rem; visibility: hidden; }
.popup.open { visibility: visible; }
.popup-bg { position: absolute; inset: 0; background: rgba(43, 19, 32, .55); opacity: 0; transition: opacity .4s; }
.popup.open .popup-bg { opacity: 1; }
.popup-card {
  position: relative; width: min(520px, 100%); background: var(--atta); border-radius: 26px; overflow: hidden;
  transform: translateY(30px) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.popup.open .popup-card { transform: none; opacity: 1; }
.popup-top { background: var(--plum); color: var(--atta); padding: 2rem 2rem 4.5rem; position: relative; overflow: hidden; }
.popup-top .wheel-bg { position: absolute; right: -70px; top: -70px; width: 260px; opacity: .18; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.popup-top .hand { color: var(--turmeric); font-size: 1.25rem; }
.popup-top h2 { font-family: var(--serif); font-weight: 400; font-size: 2.3rem; line-height: 1.05; max-width: 12ch; position: relative; }
.popup-body { padding: 0 2rem 2rem; margin-top: -2.6rem; position: relative; }
.popup-date { display: inline-flex; gap: .4rem; background: var(--turmeric); color: var(--ink); border-radius: 14px; padding: .9rem 1.2rem; margin-bottom: 1.2rem; transform: rotate(-2deg); box-shadow: 0 10px 20px -10px rgba(43, 19, 32, .4); }
.popup-date b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.popup-body p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.popup-body .notify-form input { background: #fff8; }
.popup-close { position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(241, 232, 212, .18); color: var(--atta); display: grid; place-items: center; z-index: 2; transition: background .2s, transform .3s var(--ease); }
.popup-close:hover { background: rgba(241, 232, 212, .32); transform: rotate(90deg); }
.popup-body .form-msg { min-height: 0; }
.popup-body .form-msg:not(:empty) { margin-top: .3rem; }
.popup-later { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   PRODUCTS PAGE
   ========================================================= */
.shop-hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); position: relative; overflow: hidden; }
.shop-hero .crumbs { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.shop-hero .crumbs a:hover { color: var(--plum); }
.shop-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem 1.4rem; }
.shop-title h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 7.5vw, 6.6rem); line-height: .98; letter-spacing: -.02em; }
.shop-title .hand { font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--plum); transform: rotate(-3deg); display: inline-block; }
.shop-hero p { color: var(--ink-soft); max-width: 52ch; margin-top: 1.1rem; font-size: 1.05rem; }
.shop-hero .shop-wheel { position: absolute; right: -8vw; top: -6vw; width: 34vw; max-width: 460px; opacity: .12; animation: spin 90s linear infinite; pointer-events: none; }
.tabs-wrap { position: sticky; top: var(--head-h); z-index: 20; background: rgba(241, 232, 212, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(140, 55, 79, .12); }
.tabs { display: flex; gap: .45rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(43, 19, 32, .2); font-size: .93rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--plum); }
.tab[aria-selected="true"] { background: var(--plum); border-color: var(--plum); color: var(--atta); }
.tab .n { opacity: .6; margin-left: .3rem; font-size: .82rem; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; padding: 1.6rem 0 1.2rem; color: var(--ink-soft); font-size: .92rem; gap: 1rem; flex-wrap: wrap; }
.shop-meta .hand { color: var(--plum); font-size: 1.1rem; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2rem 1.3rem; padding-bottom: clamp(4rem, 8vw, 7rem); }
.p-card { display: flex; flex-direction: column; text-align: left; opacity: 0; transform: translateY(18px); animation: cardIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.p-visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden;
  background: var(--atta-2); display: grid; place-items: center; margin-bottom: .95rem;
}
.p-visual::before { content: ''; position: absolute; inset: 0; background: var(--tint); clip-path: circle(0% at var(--mx, 50%) var(--my, 50%)); transition: clip-path .7s var(--ease); }
.p-card:hover .p-visual::before, .p-card:focus-visible .p-visual::before { clip-path: circle(150% at var(--mx, 50%) var(--my, 50%)); }
.p-visual svg { position: relative; width: 62%; transition: transform .6s var(--ease); }
.p-visual svg.sm { width: 50%; }
.p-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-visual svg { transform: translateY(-6px) rotate(-3deg); }
.p-card:hover .p-visual img { transform: scale(1.05); }
.p-tag { position: absolute; top: .8rem; left: .8rem; z-index: 2; font-size: .74rem; font-weight: 600; background: var(--atta); color: var(--plum); padding: .3rem .65rem; border-radius: 999px; }
.p-scribble { position: absolute; bottom: .9rem; right: .9rem; left: .9rem; z-index: 2; font-family: var(--hand); font-size: 1.02rem; color: var(--ink); line-height: 1.2; text-align: right; opacity: 0; transform: translateY(8px) rotate(-2deg); transition: opacity .4s .1s, transform .5s .1s var(--ease); }
.p-card:hover .p-scribble { opacity: 1; transform: rotate(-2deg); }
.p-visual.has-img .p-scribble { left: auto; background: var(--atta); padding: .15rem .8rem .25rem; border-radius: 999px; }
.p-visual.has-img::before { display: none; }
.p-name { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; line-height: 1.2; margin-bottom: .25rem; }
.p-info { display: flex; justify-content: space-between; gap: .8rem; font-size: .86rem; color: var(--ink-soft); }
.p-info .size { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* quick view */
.qv { position: fixed; inset: 0; z-index: 8000; display: grid; place-items: center; padding: 1rem; visibility: hidden; }
.qv.open { visibility: visible; }
.qv .popup-bg { opacity: 0; }
.qv.open .popup-bg { opacity: 1; }
.qv-card { position: relative; width: min(860px, 100%); max-height: 92vh; overflow: auto; background: var(--atta); border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; transform: translateY(24px); opacity: 0; transition: transform .55s var(--ease), opacity .35s; }
.qv.open .qv-card { transform: none; opacity: 1; }
.qv-visual { background: var(--tint, var(--atta-2)); display: grid; place-items: center; min-height: 360px; position: relative; }
.qv-visual svg { width: 58%; }
.qv-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: clamp(1.6rem, 4vw, 2.8rem); display: flex; flex-direction: column; gap: .9rem; }
.qv-body .hand { color: var(--plum); font-size: 1.15rem; }
.qv-body h2 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1.08; }
.qv-body p { color: var(--ink-soft); }
.qv-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(43, 19, 32, .14); padding-top: .7rem; font-size: .95rem; }
.qv .popup-close { background: rgba(43, 19, 32, .08); color: var(--ink); }

/* =========================================================
   BROCHURE PAGE
   ========================================================= */
.fb-sec { background: var(--ink); color: var(--atta); min-height: calc(100svh - var(--head-h)); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.fb-sec .bg-wheel { position: absolute; width: 70vmax; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .045; animation: spin 140s linear infinite; pointer-events: none; }
.fb-head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; padding: 2rem var(--pad) 1rem; }
.fb-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; }
.fb-head .hand { color: var(--turmeric); font-size: 1.2rem; display: block; margin-bottom: .2rem; }
.fb-head p { color: rgba(241, 232, 212, .6); font-size: .92rem; }
.fb-stage { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; padding: 1.5rem var(--pad) 1rem; overflow: hidden; }
#flipbook-container { position: relative; transform-origin: center top; transition: transform .35s var(--ease); }
#flipbook { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
#flipbook .page { background: #F6EEDC; background-size: cover; background-position: center; overflow: hidden; }
.fb-ctrls { position: relative; z-index: 3; display: flex; justify-content: center; align-items: center; gap: .6rem; padding: 1rem var(--pad) 2rem; flex-wrap: wrap; }
.fb-btn { min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; border: 1.5px solid rgba(241, 232, 212, .3); color: var(--atta); display: inline-grid; place-items: center; transition: background .25s, border-color .25s, color .25s; }
.fb-btn:hover { background: var(--atta); color: var(--ink); border-color: var(--atta); }
.fb-cnt { min-width: 9.5rem; text-align: center; font-size: .92rem; color: rgba(241, 232, 212, .75); }
.fb-sep { width: 1px; height: 24px; background: rgba(241, 232, 212, .2); margin: 0 .4rem; }
.fb-dl { color: var(--turmeric); border-color: rgba(217, 154, 30, .5); }

/* designed placeholder pages (html brochure mode)
   sizes use cqw so each page scales like a printed sheet */
#flipbook .page { container-type: inline-size; }
.bp { position: absolute; inset: 0; padding: 9cqw; display: flex; flex-direction: column; color: var(--ink); font-family: var(--sans); background: #F6EEDC; }
.bp.cover { background: var(--plum); color: var(--atta); align-items: center; justify-content: center; text-align: center; }
.bp.cover img.w { width: 58%; margin-bottom: 9cqw; }
.bp.cover img.t { width: 62%; }
.bp.cover .hand { position: absolute; bottom: 9cqw; left: 0; right: 0; color: var(--turmeric); font-size: 4cqw; }
.bp .pn { position: absolute; bottom: 4.5cqw; font-size: 2.4cqw; color: var(--ink-soft); }
.bp.left .pn { left: 9cqw; }
.bp.right .pn { right: 9cqw; }
.bp h2 { font-family: var(--serif); font-weight: 400; font-size: 7.6cqw; line-height: 1.05; margin-bottom: 5cqw; }
.bp p { font-size: 3cqw; line-height: 1.6; color: var(--ink-soft); margin-bottom: 3.5cqw; }
.bp .hand { font-size: 4cqw; color: var(--plum); }
.bp .shubh-sm { text-align: center; font-family: var(--hand); color: #B5472E; font-size: 4.6cqw; margin-bottom: 12cqw; }
.bp .art { flex: 1; display: grid; place-items: center; margin-bottom: 5cqw; min-height: 0; }
.bp .art svg { height: 100%; width: auto; max-width: 100%; }
.bp .plist { list-style: none; font-size: 2.9cqw; }
.bp .plist li { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(140, 55, 79, .35); padding: 1.9cqw 0; }
.bp .plist li b { font-weight: 600; }
.bp.tinted { background: var(--atta-2); }
.bp .big-hi { font-family: var(--hand); font-size: 12cqw; color: var(--plum); line-height: 1.1; margin-bottom: 2cqw; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .pantry-grid { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .mega-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .mega-intro p { display: none; }
  .ledger-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --head-h: 66px; }
  .head-inner { grid-template-columns: auto 1fr auto; }
  .nav-wrap { position: fixed; inset: var(--head-h) 0 0 0; background: var(--atta); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s; overflow-y: auto; padding: 1.4rem var(--pad) 3rem; z-index: 40; }
  body.menu-open .nav-wrap { clip-path: inset(0); visibility: visible; transition: clip-path .55s var(--ease); }
  body.menu-open { overflow: hidden; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > li { border-bottom: 1px solid rgba(140, 55, 79, .15); }
  .nav-link { font-family: var(--serif); font-size: 1.8rem; padding: 1rem 0; border-radius: 0; width: 100%; justify-content: space-between; }
  .nav-link:hover, .nav-link[aria-expanded="true"], .nav-link[aria-current="page"] { background: none; }
  .nav-link .chev { width: 16px; }
  .mega { position: static; clip-path: none; visibility: visible; box-shadow: none; border: 0; display: none; background: none; }
  .mega.open { display: block; }
  .mega-inner { padding: 0 0 1rem; }
  .mega-intro { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: .2rem; }
  .menu-btn { display: grid; }
  .head-actions .btn { display: none; }
  .brand { justify-self: start; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2rem var(--pad) 1rem; order: 2; }
  .hero-mill { order: 1; min-height: 0; padding: 1.5rem 0 0; }
  .mill-disc { width: min(78vw, 420px); }
  .slides { min-height: 20rem; }
  .mill-hint { right: 2%; bottom: 0; font-size: 1rem; }
  .sec-head { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .way, .way:first-child { padding: 2rem 0; border-right: 0; border-bottom: 1px solid rgba(241, 232, 212, .25); }
  .book-row { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket-main { border-right: 0; border-bottom: 2px dashed rgba(43, 19, 32, .35); }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; }
  .qv-card { grid-template-columns: 1fr; }
  .qv-visual { min-height: 260px; }
}
@media (max-width: 560px) {
  .pantry-grid { grid-template-columns: 1fr; }
  .pantry-grid .cat-card:first-child { grid-column: auto; }
  .pantry-grid .cat-card:first-child .cat-visual { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
  .ledger-cols { grid-template-columns: 1fr; }
  .ledger-page { padding-left: 3.6rem; }
  .ledger-tip { text-align: left; }
  .p-name { font-size: 1.02rem; }
  .p-info { flex-direction: column; gap: 0; }
  .fb-cnt { min-width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .announce-track { animation: none; }
}
@media (hover: none) { .shop-meta .hand { display: none; } }
