/* ==========================================================================
   Zouq-e-Mithaas · styles
   Layout concept: the green-and-gold gift box, opened. Dark lacquer-green
   ground, gold-foil accents and lines, pale ivory khoya as the hero colour.
   Single deliberate dark look, taken straight from the packaging.
   ========================================================================== */
:root {
  /* colour */
  --ink: #06120d;          /* deepest ground */
  --lacquer: #0c2119;      /* box green, shadowed */
  --forest: #15392a;       /* box green, lit */
  --gold: #d6b15c;         /* foil */
  --gold-hi: #f6e2a6;      /* foil highlight */
  --gold-lo: #8a6824;      /* foil shadow */
  --khoya: #f4ecc6;        /* the barfi itself */
  --almond: #c8935a;       /* almond skin */
  --leaf: #79c26a;         /* stevia leaf */
  --text: #ece6d4;
  --muted: #a3b4a8;
  --line: rgba(214, 177, 92, 0.22);
  --glass: rgba(16, 44, 32, 0.55);
  --whatsapp: #25d366;

  /* type */
  --f-display: "Syne", "Trebuchet MS", system-ui, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Courgette", "Brush Script MT", cursive;
  --f-urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", serif;

  /* scale */
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.25rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-4: clamp(2.8rem, 1.9rem + 4.4vw, 5.8rem);

  --radius: 22px;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

section { position: relative; overflow-x: clip; }
.band { padding-block: clamp(72px, 10vw, 140px); }

/* grain over everything for a printed, tactile feel */
.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-display); font-weight: 700; font-size: var(--step--1);
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h2 {
  font-family: var(--f-display); font-weight: 800; font-size: var(--step-3);
  line-height: 1.02; letter-spacing: -0.02em;
}
h2 em, h1 em { font-family: var(--f-serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.lede { color: var(--muted); max-width: 58ch; font-size: var(--step-0); }
.foil {
  background: linear-gradient(100deg, var(--gold-lo) 0%, var(--gold-hi) 22%, var(--gold) 40%, var(--gold-hi) 55%, var(--gold-lo) 75%, var(--gold) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.urdu { font-family: var(--f-urdu); direction: rtl; line-height: 2.1; }

/* the diamond motif from the box lid */
.motif { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.motif::before, .motif::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, currentColor); }
.motif::after { background: linear-gradient(270deg, transparent, currentColor); }
.motif i { width: 14px; height: 14px; border: 1.5px solid currentColor; transform: rotate(45deg); position: relative; }
.motif i::after { content: ""; position: absolute; inset: 3px; border: 1.5px solid currentColor; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 700 var(--step-0)/1 var(--f-body); text-decoration: none; cursor: pointer;
  padding: 1em 1.5em; border-radius: 999px; border: 0;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo));
  box-shadow: 0 10px 30px -10px rgba(214,177,92,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(214,177,92,.75), inset 0 1px 0 rgba(255,255,255,.5); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn--wa { background: linear-gradient(135deg, #5ef08f, var(--whatsapp) 50%, #128c4a); color: #04210f; box-shadow: 0 10px 30px -10px rgba(37,211,102,.55), inset 0 1px 0 rgba(255,255,255,.45); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(6, 18, 13, .62); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { font-family: var(--f-script); font-size: 1.55rem; color: var(--gold-hi); text-decoration: none; white-space: nowrap; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: var(--step--1); font-weight: 600; letter-spacing: .04em; }
.nav ul a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav ul a:hover { color: var(--gold-hi); }
.nav .btn { padding: .7em 1.15em; font-size: var(--step--1); }
@media (max-width: 860px) { .nav ul { display: none; } }

/* ---------- hero: the photo becomes the scene ---------- */
.hero {
  min-height: clamp(600px, 50vw, 800px); display: grid; align-items: center;
  padding-block: clamp(48px, 6vw, 90px); isolation: isolate;
  --mx: 0; --my: 0; --sy: 0px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(50% 70% at 10% 30%, rgba(21,57,42,.9), transparent 70%), var(--ink);
}
.hero-scene {
  position: absolute; inset: 0 0 0 28%; z-index: -2; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%), linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 36%), linear-gradient(180deg, transparent 0%, #000 12%, #000 78%, transparent 100%);
  mask-composite: intersect;
}
.hero-bg {
  position: absolute; inset: -40px;
  transform: translate3d(calc(var(--mx) * -0.7px), calc(var(--my) * -0.7px + var(--sy)), 0);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%;
  animation: hero-in 2.8s cubic-bezier(.2,.7,.2,1) backwards, hero-drift 22s ease-in-out 2.8s infinite alternate;
}
.hero-bg::after { /* tone the room into the brand: deepen the wall and curtain, warm the gold */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,13,.78) 0%, rgba(6,18,13,.25) 30%, transparent 55%),
    radial-gradient(70% 60% at 0% 0%, rgba(6,18,13,.85), transparent 70%),
    linear-gradient(0deg, rgba(21,57,42,.35), rgba(21,57,42,.35));
  mix-blend-mode: multiply;
}
.hero-glint {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(110deg, transparent 38%, rgba(255,236,180,.28) 48%, transparent 58%);
  background-size: 260% 100%; animation: glint 7s ease-in-out 2s infinite;
}
@keyframes hero-in { from { transform: scale(1.18); filter: brightness(.4) saturate(.6); } to { transform: scale(1.04); filter: none; } }
@keyframes hero-drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes glint { 0%, 55% { background-position: 130% 0; } 100% { background-position: -40% 0; } }
#dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero .wrap { position: relative; z-index: 2; }
.hero-copy { min-width: 0; max-width: 600px; display: grid; gap: 22px; justify-items: start; }
.hero-copy > * { animation: up 1s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(.35s + var(--i, 0) * .12s); }
@keyframes up { from { opacity: .001; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.hero h1 {
  font-family: var(--f-display); font-weight: 800; font-size: var(--step-4);
  line-height: .95; letter-spacing: -0.035em; text-shadow: 0 4px 40px rgba(6,18,13,.6);
}
.hero h1 em { display: block; font-size: 1.08em; line-height: 1; }
.tagline-chip {
  display: inline-flex; align-items: center; gap: 14px; padding: 4px 18px 4px 6px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: var(--step--1); color: var(--muted);
}
.tagline-chip .urdu { font-size: 1.15rem; color: var(--gold-hi); padding: 0 12px; border-radius: 999px; background: rgba(214,177,92,.1); line-height: 2.2; }
.hero .lede { font-size: var(--step-1); line-height: 1.5; color: #c9d3cb; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: grid; }
.hero-facts b { font-family: var(--f-display); font-size: var(--step-2); color: var(--gold-hi); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: var(--step--1); color: var(--muted); letter-spacing: .04em; }

.hero .badge {
  position: absolute; right: max(24px, 5%); top: 12%; z-index: 3; width: 118px; height: 118px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  color: var(--ink); font-family: var(--f-display); font-weight: 800; line-height: 1; box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  transform: translate3d(calc(var(--mx) * 1.4px), calc(var(--my) * 1.4px), 0) rotate(10deg);
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
  animation: pop .9s cubic-bezier(.3,1.6,.5,1) 1.4s backwards;
}
.hero .badge::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed rgba(246,226,166,.5); animation: spin 24s linear infinite; }
.hero .badge b { display: block; font-size: 2.3rem; }
.hero .badge small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
@keyframes pop { from { scale: 0; } to { scale: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; border: 1.5px solid rgba(246,226,166,.5); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold-hi); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-block: 0 56px; align-items: start; }
  .hero-scene {
    position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; margin-bottom: -110px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 55%, transparent 100%); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 55%, transparent 100%); mask-composite: add;
  }
  .hero-bg { inset: -20px; }
  .hero-bg img { object-position: 62% 50%; }
  .hero .badge { top: 18px; right: 16px; width: 88px; height: 88px; }
  .hero .badge b { font-size: 1.7rem; }
  .hero .leaf { display: none; }
  .hero .leaf:nth-of-type(1), .hero .leaf:nth-of-type(2) { display: block; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) { .hero-scene { aspect-ratio: 1 / 1; margin-bottom: -120px; } .hero-bg img { object-position: 60% 50%; } }

/* floating stevia leaves */
.leaf {
  position: absolute; z-index: 3; width: var(--w, 56px); color: var(--leaf); pointer-events: none;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,.5));
  transform: translate3d(calc(var(--mx, 0) * var(--depth, 1) * 1px), calc(var(--my, 0) * var(--depth, 1) * 1px), 0);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.leaf svg { display: block; width: 100%; height: auto; transform: rotate(var(--r, 0deg)); animation: float var(--d, 7s) ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes float { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: 8deg; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--lacquer), var(--forest), var(--lacquer)); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 18px 14px;
  font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); letter-spacing: .02em; white-space: nowrap; text-transform: uppercase;
}
.marquee-track span::after { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--gold); transform: rotate(45deg); margin-left: 14px; }
.marquee-track span:nth-child(even) { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--gold-hi); font-size: calc(var(--step-1) * 1.15); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- recipe ---------- */
.recipe-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.equation { display: grid; grid-template-columns: repeat(4, 1fr) auto 1.25fr; gap: 14px; align-items: stretch; }
.eq-card {
  position: relative; min-width: 0; display: grid; align-content: start; gap: 10px;
  padding: 22px 20px 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21,57,42,.65), rgba(12,33,25,.65));
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease;
}
.eq-card:hover { transform: translateY(-6px); border-color: rgba(214,177,92,.55); }
.eq-card .ico { width: 64px; height: 64px; }
.eq-card h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); line-height: 1.1; }
.eq-card p { margin: 0; font-size: var(--step--1); color: var(--muted); line-height: 1.5; }
.eq-card .op {
  position: absolute; right: -15px; top: 42px; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); border: 1px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 15px; line-height: 1;
}
.eq-equals { display: grid; place-items: center; font-family: var(--f-display); font-size: var(--step-3); color: var(--gold); padding-inline: 4px; }
.eq-result {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 280px; min-width: 0;
  border: 1px solid rgba(214,177,92,.5); background: var(--lacquer);
}
.eq-result img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; animation: pan 20s ease-in-out infinite alternate; }
@keyframes pan { from { object-position: 20% 50%; transform: scale(1.05); } to { object-position: 80% 50%; transform: scale(1.15); } }
.eq-result figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(6,18,13,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); font-size: var(--step--1); color: var(--muted);
}
.eq-result figcaption b { display: block; font-family: var(--f-script); font-weight: 400; color: var(--gold-hi); font-size: 1.3rem; }
@media (max-width: 1080px) {
  .equation { grid-template-columns: repeat(2, 1fr); }
  .eq-equals { grid-column: 1 / -1; padding: 0; font-size: var(--step-2); }
  .eq-result { grid-column: 1 / -1; min-height: 340px; }
  .eq-card:nth-child(2) .op { display: none; }
}
@media (max-width: 460px) { .eq-card { padding: 18px 16px; } .eq-card .ico { width: 52px; height: 52px; } }

.nots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 48px); align-items: center; }
.nots > span { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.nots s {
  position: relative; text-decoration: none; padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(236,230,212,.14); color: #7f8f85; font-weight: 600; font-size: var(--step--1);
}
.nots s::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: #e0735a; border-radius: 2px;
  transform-origin: left; transform: rotate(-4deg);
}
.nots.play s::after { animation: strike .6s ease-out both; }
.nots.play s:nth-of-type(2)::after { animation-delay: .12s; } .nots.play s:nth-of-type(3)::after { animation-delay: .24s; }
.nots.play s:nth-of-type(4)::after { animation-delay: .36s; } .nots.play s:nth-of-type(5)::after { animation-delay: .48s; }
.nots.play s:nth-of-type(6)::after { animation-delay: .6s; }
@keyframes strike { from { transform: rotate(-4deg) scaleX(0); } to { transform: rotate(-4deg) scaleX(1); } }

/* ---------- taste ---------- */
.taste { background: radial-gradient(60% 80% at 85% 50%, rgba(214,177,92,.10), transparent 70%), var(--lacquer); border-block: 1px solid var(--line); }
.taste .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.taste-copy { min-width: 0; display: grid; gap: 22px; }
.taste-lines { font-family: var(--f-serif); font-style: italic; font-size: var(--step-4); line-height: .98; letter-spacing: -0.01em; }
.taste-lines span { display: block; }
.taste-lines span:nth-child(2) { color: var(--gold-hi); padding-left: .6em; }
.taste-lines span:nth-child(3) { padding-left: 1.2em; color: var(--muted); }
.hud {
  min-width: 0; position: relative; padding: 28px clamp(20px, 3vw, 34px) 30px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(31,74,57,.55), rgba(6,18,13,.75));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(246,226,166,.12);
}
.hud::before { content: ""; position: absolute; inset: 10px; border-radius: 18px; border: 1px dashed rgba(214,177,92,.12); pointer-events: none; }
.hud-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.hud-head h3 { font-family: var(--f-display); font-size: var(--step--1); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hud-head small { color: var(--muted); font-size: .75rem; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-bottom: 16px; }
.meter label { font-weight: 600; font-size: var(--step--1); }
.meter output { font-family: var(--f-display); font-weight: 700; font-size: var(--step--1); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.meter .bar { grid-column: 1 / -1; height: 10px; border-radius: 99px; background: rgba(236,230,212,.08); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 18px rgba(246,226,166,.5); }
.hud.play .meter .bar i { animation: fill 1.4s cubic-bezier(.2,.7,.2,1) both; }
.meter.zero output { color: var(--leaf); }
.meter.zero .bar { background: repeating-linear-gradient(90deg, rgba(121,194,106,.18) 0 8px, transparent 8px 14px); }
@keyframes fill { from { width: 0; } to { width: var(--v); } }
@media (max-width: 900px) { .taste .wrap { grid-template-columns: 1fr; } }

/* ---------- goodness (fun health) ---------- */
.good-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.good-head > div { display: grid; gap: 16px; max-width: 720px; min-width: 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(180px, auto); gap: 14px; }
.tile {
  position: relative; overflow: hidden; min-width: 0; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(21,57,42,.55), rgba(10,28,21,.7)); border: 1px solid var(--line);
  display: grid; align-content: end; gap: 8px;
}
.tile h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); line-height: 1.12; }
.tile p { margin: 0; color: var(--muted); font-size: var(--step--1); max-width: 46ch; }
.tile .kicker { position: absolute; top: 22px; left: 26px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.t-zero { grid-column: span 3; grid-row: span 2; background: radial-gradient(90% 70% at 70% 20%, rgba(214,177,92,.22), transparent 60%), linear-gradient(180deg, #17402f, #0b2119); }
.t-zero .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 5rem + 10vw, 13rem); line-height: .8; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.t-zero .big small { font-size: .32em; letter-spacing: 0; margin-left: .1em; color: var(--gold-hi); }
.t-leaf { grid-column: span 3; }
.t-leaf .leaf-art { position: absolute; right: -10px; top: -14px; width: 140px; color: var(--leaf); opacity: .9; transform: rotate(-24deg); }
.t-khoya, .t-clean, .t-dadi, .t-all { grid-column: span 3; }
.t-almond .nutbits { position: absolute; right: 18px; top: 18px; display: flex; gap: 6px; }
.t-dadi { background: linear-gradient(135deg, rgba(246,226,166,.14), rgba(10,28,21,.6)); }
.t-all { grid-column: span 6; grid-row: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.t-all .urdu { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); color: var(--gold-hi); line-height: 1.8; }
.t-all p { max-width: 60ch; }
@media (min-width: 1000px) {
  .t-leaf, .t-khoya { grid-column: span 3; }
  .t-clean, .t-dadi, .t-almond { grid-column: span 2; }
}
.t-almond { grid-column: span 3; }
@media (max-width: 999px) { .t-almond { grid-column: span 6; } }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .t-zero { min-height: 340px; }
}

/* ---------- box gallery ---------- */
.gift-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.gift-head > * { min-width: 0; }
@media (max-width: 860px) { .gift-head { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--lacquer); min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s; }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px;
  background: rgba(6,18,13,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); font-size: .78rem; font-weight: 600; letter-spacing: .03em;
}
.g-main { grid-row: span 2; }
.g-spine { grid-column: span 2; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px 200px; }
  .g-main { grid-column: span 2; grid-row: auto; }
  .g-spine { grid-column: span 2; }
}
@media (max-width: 480px) { .gallery { grid-template-rows: 300px 170px 150px; } }

/* ---------- boxes & order ---------- */
.shop { background: linear-gradient(180deg, var(--ink), var(--lacquer) 40%, var(--ink)); }
.shop-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.city-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(121,194,106,.12); color: #a9e09d; font-size: var(--step--1); font-weight: 600; width: fit-content; }
.city-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(121,194,106,.2); }
.shop-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0; }
.product {
  position: relative; min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  border-radius: 26px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(31,74,57,.5), rgba(8,22,16,.9));
  transition: border-color .3s, transform .3s;
}
.product:hover { border-color: rgba(214,177,92,.6); transform: translateY(-4px); }
.product.is-best { border-color: rgba(214,177,92,.55); box-shadow: 0 30px 60px -30px rgba(214,177,92,.35); }
.product .art {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.product .art img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: var(--o, 50% 50%);
  transform: scale(var(--z, 1)); animation: art-drift 16s ease-in-out infinite alternate;
}
.product:nth-child(2) .art img { animation-delay: -8s; }
.product:hover .art img { animation-duration: 5s; }
.product .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,13,.25), transparent 30%), linear-gradient(0deg, rgba(21,57,42,.3), rgba(21,57,42,.3)); mix-blend-mode: multiply; pointer-events: none; }
@keyframes art-drift { from { transform: scale(var(--z, 1)) translate(0, 0); } to { transform: scale(calc(var(--z, 1) * 1.08)) translate(-2%, -1.5%); } }
.product .body { margin-top: -28px; position: relative; z-index: 2; }
.product .tag { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--gold); color: var(--ink); }
.product .body { display: grid; gap: 10px; padding: 4px 22px 22px; align-content: start; }
.product .weight { font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); line-height: 1; letter-spacing: -0.03em; }
.product h3 { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.product p { margin: 0; color: var(--muted); font-size: var(--step--1); min-height: 3em; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.price { font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.price small { font-size: .5em; color: var(--muted); margin-right: 4px; }
.save { font-size: .75rem; font-weight: 700; color: #a9e09d; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(6,18,13,.5); }
.stepper button { width: 46px; height: 46px; border: 0; background: transparent; color: var(--gold-hi); font-size: 1.25rem; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: rgba(214,177,92,.15); }
.stepper output { min-width: 34px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.product .actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.product .actions .in-cart { font-size: .78rem; color: var(--muted); }

.order {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); min-width: 0;
  padding: 26px clamp(18px, 2.6vw, 28px); border-radius: 26px;
  background: linear-gradient(170deg, rgba(246,226,166,.10), rgba(12,33,25,.92) 35%);
  border: 1px solid rgba(214,177,92,.4);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
  display: grid; gap: 16px;
}
.order h3 { font-family: var(--f-display); font-size: var(--step-1); font-weight: 800; }
.lines { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--step--1); }
.lines li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.lines li span:first-child { color: var(--muted); }
.lines .empty { color: var(--muted); font-style: italic; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px dashed var(--line); }
.total span { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.total b { font-family: var(--f-display); font-size: var(--step-2); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 500 var(--step--1)/1.4 var(--f-body); color: var(--text);
  background: rgba(6,18,13,.6); border: 1px solid rgba(236,230,212,.14); border-radius: 12px; padding: 11px 13px;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 62px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(6,18,13,.85); }
.field input[aria-invalid="true"] { border-color: #e0735a; }
.form-msg { min-height: 1.3em; margin: 0; font-size: var(--step--1); color: #f0a08c; }
.form-msg.ok { color: #a9e09d; }
.order .btn { width: 100%; }
.order .btn[aria-disabled="true"] { filter: grayscale(.85) brightness(.75); box-shadow: none; }
.order .btn[aria-disabled="true"]:hover { transform: none; }
.field label i { font-style: normal; color: var(--gold); }
.field label span { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: .75; }
.order-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--muted); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--gold-hi); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1020px) { .shop-grid { grid-template-columns: 1fr; } .order { position: relative; top: 0; } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } .fields { grid-template-columns: 1fr; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; margin-top: clamp(28px, 4vw, 44px); }
.step { position: relative; min-width: 0; padding: 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(12,33,25,.6); display: grid; gap: 8px; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-display); font-weight: 800; font-size: var(--step-3); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step h3 { font-family: var(--f-display); font-size: var(--step-1); }
.step p { margin: 0; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq .wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(24px, 5vw, 72px); }
.faq .wrap > * { min-width: 0; }
.faq-list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(12,33,25,.5); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: rgba(214,177,92,.5); background: rgba(21,57,42,.55); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-size: 1.2rem; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: var(--step--1); max-width: 62ch; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { padding-block: clamp(80px, 10vw, 140px); text-align: center; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 100%, rgba(214,177,92,.28), transparent 70%); }
.final .wrap { display: grid; justify-items: center; gap: 22px; }
.final h2 { font-size: var(--step-4); max-width: 14ch; }
.final .motif { width: min(320px, 80%); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); background: #040c09; padding-block: 48px calc(36px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .wrap > * { min-width: 0; }
footer h4 { margin: 0 0 12px; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
footer p, footer li { margin: 0; color: var(--muted); font-size: var(--step--1); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold-hi); }
.contact-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { font: 700 .72rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--gold-hi); cursor: pointer; }
.copy-btn:hover { border-color: var(--gold); }
.fine { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(214,177,92,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: #6f8277; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* ---------- floating WhatsApp ---------- */
.fab {
  position: fixed; z-index: 70;
  right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whatsapp); color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s;
}
.fab:hover { transform: scale(1.08); }
.fab.is-hidden { transform: scale(.4) translateY(40px); opacity: 0; pointer-events: none; }
.fab { transition: transform .35s ease, opacity .35s ease; }
.hero-terms { margin: -6px 0 0; font-size: var(--step--1); font-weight: 600; color: #a9e09d; letter-spacing: .02em; }
.order-terms { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 4px; border-radius: 14px; background: rgba(121,194,106,.08); border: 1px solid rgba(121,194,106,.22); font-size: var(--step--1); color: var(--muted); }
.order-terms b { color: #a9e09d; }
.product .weight .pieces { font-family: var(--f-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- motion on scroll (content stays visible at rest; it only animates as it arrives) ---------- */
.reveal.in { animation: arrive .9s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes arrive { from { opacity: .15; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }

/* cursor spotlight on cards */
.spot { position: relative; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy2, 50%), rgba(246,226,166,.13), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 2; }
.spot > .kicker, .spot > .leaf-art, .spot > .nutbits, .spot > .op, .spot > .tag { position: absolute; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--gold-hi); color: var(--ink); font-weight: 700; font-size: var(--step--1); transition: .3s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
