/* ============================================================
   Cafe Tea Break — Karachi
   ink black + kettle gold, with truck-art accents
   ============================================================ */

:root {
  --ink: #0d0a06;
  --ink-2: #17120b;
  --ink-3: #231b11;
  --gold: #f5b800;
  --gold-hi: #ffd85a;
  --chai: #c98a4b;
  --chai-dk: #9a5a22;
  --cream: #f3e7d3;
  --cream-dim: #bfb19a;
  --pink: #e8456f;
  --teal: #1ba39c;
  --green: #3e7d3a;

  --f-display: "Rozha One", Georgia, serif;
  --f-body: "Familjen Grotesk", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-urdu: "Noto Nastaliq Urdu", serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }
em { font-style: normal; color: var(--gold); }

/* film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: clip-path 1s var(--ease-out);
  clip-path: circle(150% at 50% 50%);
}
.loader.done { clip-path: circle(0% at 50% 45%); }
.loader-cup {
  width: 90px; height: 110px; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%);
  background: rgba(243, 231, 211, .08);
  border-top: 3px solid var(--cream);
}
.loader-fill {
  position: absolute; inset: auto 0 0 0; height: var(--p, 0%);
  background: linear-gradient(var(--chai), var(--chai-dk));
  transition: height .2s linear;
}
.loader-urdu { font-family: var(--f-urdu); font-size: 26px; color: var(--gold); margin: 0; direction: rtl; line-height: 2; }
.loader-count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); margin: 0; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--gold); mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out), background .3s;
}
.cursor span { font: 700 11px var(--f-mono); color: var(--ink); opacity: 0; letter-spacing: .1em; text-transform: uppercase; transition: opacity .2s; }
.cursor.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; mix-blend-mode: normal; }
.cursor.big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: transform .5s var(--ease-out), background .4s, backdrop-filter .4s;
}
.nav.scrolled { background: rgba(13, 10, 6, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.hide { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.roundel { width: 52px; height: 52px; }
.roundel-text { font: 700 10.5px var(--f-mono); letter-spacing: .14em; fill: var(--gold); }
.roundel text { transform-origin: 60px 60px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand-word { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500; position: relative; padding: 4px 0;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { background: var(--gold); color: var(--ink); padding: 10px 18px !important; border-radius: 99px; font-weight: 700 !important; }
.burger-btn { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.burger-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--cream); transition: transform .4s var(--ease-out); }
.burger-btn span:first-child { top: 17px; } .burger-btn span:last-child { top: 25px; }
.burger-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: 16px;
  border: 2px solid var(--gold); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), color .35s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--cream); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost::before { background: var(--gold); }
.btn:hover::before { transform: translateY(0); }
.btn-ghost:hover { color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .18em; color: var(--cream-dim);
}
.eyebrow.dark { color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245, 184, 0, .6); animation: pulse 2s infinite; }
.eyebrow.dark .dot { background: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245, 184, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 184, 0, 0); } }

.section-title {
  font-family: var(--f-display); font-weight: 400; margin: 0;
  font-size: clamp(48px, 8vw, 120px); line-height: .92; letter-spacing: -.01em;
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px;
  padding: 110px var(--gutter) 60px;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(245, 184, 0, .14), transparent 70%),
    var(--ink);
}
.hero-title {
  font-family: var(--f-display); font-weight: 400; margin: 0;
  font-size: clamp(52px, 8.4vw, 136px); line-height: .9; letter-spacing: -.015em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.2s var(--ease-out); }
.ready .hero-title .line > span { transform: none; }
.ready .hero-title .line:nth-child(2) > span { transition-delay: .1s; }
.ready .hero-title .line:nth-child(3) > span { transition-delay: .2s; }
.hero-title em { position: relative; display: inline-block; isolation: isolate; }
.hero-title em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .08em; height: .12em;
  background: var(--pink); z-index: -1; transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease-out) 1s;
}
.ready .hero-title em::after { transform: scaleX(1); }
.hero-urdu {
  font-family: var(--f-urdu); color: var(--gold); font-size: clamp(22px, 2.4vw, 32px);
  margin: 18px 0 0; direction: rtl; text-align: left; line-height: 2.1;
  opacity: 0; transition: opacity 1s .6s;
}
.hero-sub { max-width: 46ch; color: var(--cream-dim); margin: 4px 0 30px; opacity: 0; transform: translateY(20px); transition: all 1s var(--ease-out) .7s; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: all 1s var(--ease-out) .85s; }
.ready .hero-urdu, .ready .hero-sub, .ready .hero-actions { opacity: 1; transform: none; }

.hero-art { position: relative; aspect-ratio: 500 / 580; max-height: 82svh; justify-self: center; width: 100%; max-width: 560px; }
.halo {
  position: absolute; inset: 12% 8% 6%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--gold), var(--pink), var(--teal), var(--gold));
  filter: blur(70px); opacity: .22; animation: spin 14s linear infinite;
}
.kettle-scene { position: relative; width: 100%; height: 100%; overflow: visible; }
.kettle { transform-box: view-box; transform-origin: 360px 210px; transform: translate(40px, -40px) rotate(0deg); }
.kettle-flower { transform-box: fill-box; transform-origin: center; animation: spin 10s linear infinite; }
.stream {
  fill: none; stroke: #c98a4b; stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
}
.liquid { transform-box: view-box; transform: translateY(160px); }
.foam { transform-box: view-box; transform: translateY(160px); }
.steam path {
  fill: none; stroke: var(--cream); stroke-width: 5; stroke-linecap: round; opacity: 0;
  stroke-dasharray: 60 200;
}
.steam.on path { animation: steam 3.2s ease-in-out infinite; }
.steam.on path:nth-child(2) { animation-delay: .9s; }
.steam.on path:nth-child(3) { animation-delay: 1.7s; }
@keyframes steam {
  0% { stroke-dashoffset: 0; opacity: 0; }
  30% { opacity: .5; }
  100% { stroke-dashoffset: -230; opacity: 0; }
}

/* pour sequence (class toggled by JS) */
.pouring .kettle { animation: tilt 3.4s var(--ease-out) forwards; }
.pouring .stream { animation: stream 3.4s ease-in-out forwards; }
.pouring .liquid, .pouring .foam { animation: fill 3.4s var(--ease-out) forwards; }
@keyframes tilt {
  0% { transform: translate(40px, -40px) rotate(0deg); }
  22% { transform: translate(0, 0) rotate(-22deg); }
  78% { transform: translate(0, 0) rotate(-22deg); }
  100% { transform: translate(40px, -40px) rotate(0deg); }
}
@keyframes stream {
  0%, 18% { stroke-dashoffset: 320; }
  32% { stroke-dashoffset: 0; }
  76% { stroke-dashoffset: 0; }
  92%, 100% { stroke-dashoffset: -320; }
}
@keyframes fill {
  0%, 28% { transform: translateY(160px); }
  86%, 100% { transform: translateY(12px); }
}
.sipping .liquid, .sipping .foam { transition: transform .9s var(--ease-out); transform: translateY(160px) !important; animation: none; }

.floaters .f { transform-box: fill-box; transform-origin: center; animation: bob 6s ease-in-out infinite; }
.floaters .f2 { animation-duration: 7s; animation-delay: -2s; }
.floaters .f3 { animation-duration: 8s; animation-delay: -4s; }
.floaters .f4 { animation-duration: 5s; animation-delay: -1s; }
.floaters .f5 { animation-duration: 9s; }
@keyframes bob { 50% { transform: translateY(-18px) rotate(25deg); } }

.price-sticker {
  position: absolute; right: -2%; top: 52%; width: 128px; height: 128px;
  display: grid; place-items: center; border-radius: 50%; background: var(--pink); color: var(--cream);
  transform: rotate(-12deg); box-shadow: 0 10px 40px rgba(232, 69, 111, .35);
}
.price-sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 12s linear infinite reverse; }
.price-sticker text { font: 700 15px var(--f-mono); letter-spacing: .12em; fill: var(--cream); }
.price-sticker b { font-family: var(--f-urdu); font-size: 26px; line-height: 1; padding-bottom: 12px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid var(--cream-dim); border-radius: 20px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 4px; animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- tickers ---------- */
.tickers { position: relative; height: 180px; overflow: hidden; margin: -10px 0; z-index: 2; }
.ticker { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; white-space: nowrap; overflow: hidden; }
.t1 { background: var(--gold); color: var(--ink); transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.t2 { background: var(--ink-3); color: var(--cream); transform: translateY(-50%) rotate(3deg); }
.track { display: inline-flex; align-items: center; gap: 28px; animation: marquee 28s linear infinite; padding-right: 28px; }
.t2 .track { animation-direction: reverse; animation-duration: 36s; }
.track span { font-family: var(--f-display); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; }
.t2 .track span { font-size: clamp(20px, 2.4vw, 30px); }
.t2 .track span:nth-child(4n+1) { font-family: var(--f-urdu); font-size: clamp(18px, 2vw, 24px); color: var(--gold); line-height: 2; }
.track i { font-style: normal; color: var(--pink); font-size: 20px; }
.t1 .track i { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ritual (sticky day→night) ---------- */
.ritual { height: 420vh; position: relative; }
.ritual-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.sky {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--sky-a, #ffcf6b), var(--sky-b, #ffe9c2));
}
.orb {
  position: absolute; width: clamp(90px, 12vw, 170px); aspect-ratio: 1; border-radius: 50%;
  left: var(--ox, 10%); top: var(--oy, 60%); transform: translate(-50%, -50%);
  background: var(--orb, #fff2c4); box-shadow: 0 0 80px 30px var(--orb-glow, rgba(255, 220, 120, .6));
}
.stars { position: absolute; inset: 0 0 30% 0; opacity: var(--stars, 0); }
.stars i { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .2; } }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.skyline path { fill: var(--city, #6b4a2a); transition: fill .2s; }
.windows { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; opacity: var(--lights, 0); }
.windows i { position: absolute; width: 6px; height: 8px; background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); }

.ritual-clock {
  position: absolute; top: 96px; right: var(--gutter); text-align: right; z-index: 3;
  color: var(--txt, var(--ink));
}
.clock-label { display: block; font: 500 11px var(--f-mono); text-transform: uppercase; letter-spacing: .2em; opacity: .7; }
.clock-time { font: 700 clamp(40px, 6vw, 84px) var(--f-mono); line-height: 1; letter-spacing: -.04em; }

.ritual-panels { position: absolute; inset: 0; z-index: 3; }
.panel {
  position: absolute; left: var(--gutter); top: 50%; max-width: 560px;
  transform: translateY(-40%); opacity: 0; color: var(--txt, var(--ink));
  transition: opacity .6s, transform .8s var(--ease-out);
  pointer-events: none;
}
.panel.on { opacity: 1; transform: translateY(-50%); }
.panel-k { font: 700 13px var(--f-mono); letter-spacing: .15em; text-transform: uppercase; }
.panel h2 { font: 400 clamp(44px, 6.6vw, 100px)/0.92 var(--f-display); margin: 12px 0 18px; }
.panel p { font-size: clamp(17px, 1.4vw, 20px); max-width: 40ch; margin: 0; opacity: .85; }
.ritual-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; height: 3px; background: rgba(255, 255, 255, .25); z-index: 3; border-radius: 3px; overflow: hidden; }
.ritual-progress span { display: block; height: 100%; width: 100%; background: var(--txt, var(--ink)); transform-origin: left; transform: scaleX(0); }

/* ---------- truck-art band ---------- */
.truck-band {
  height: 34px;
  background-color: var(--ink);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='68' height='34' viewBox='0 0 68 34'%3E%3Cpath d='M0 0h34L17 17z' fill='%23e8456f'/%3E%3Cpath d='M34 34H0l17-17z' fill='%231ba39c'/%3E%3Cpath d='M34 0h34L51 17z' fill='%231ba39c'/%3E%3Cpath d='M68 34H34l17-17z' fill='%23e8456f'/%3E%3Ccircle cx='17' cy='17' r='5' fill='%23f5b800'/%3E%3Ccircle cx='51' cy='17' r='5' fill='%23f5b800'/%3E%3Ccircle cx='34' cy='17' r='3' fill='%23f3e7d3'/%3E%3Ccircle cx='0' cy='17' r='3' fill='%23f3e7d3'/%3E%3Ccircle cx='68' cy='17' r='3' fill='%23f3e7d3'/%3E%3C/svg%3E");
  background-size: 68px 34px;
  animation: band 6s linear infinite;
}
.truck-band.flip { animation-direction: reverse; }
@keyframes band { to { background-position: 68px 0; } }

/* ---------- pay what you want ---------- */
.pay { background: var(--gold); color: var(--ink); position: relative; z-index: 4; }
.pay-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: clamp(70px, 10vw, 140px) var(--gutter);
}
.pay-title { font: 400 clamp(56px, 9vw, 140px)/.88 var(--f-display); margin: 0; }
.pay-title span { display: block; }
.pay-title .hl { color: var(--cream); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.pay-urdu { font-family: var(--f-urdu); font-size: clamp(18px, 2vw, 24px); direction: rtl; text-align: left; margin: 18px 0 6px; line-height: 2.2; }
.pay-note { max-width: 48ch; font-size: 17px; margin: 0; }
.pay-note a { font-weight: 700; }

.pay-machine {
  background: var(--ink); color: var(--cream); border-radius: 28px; padding: 34px 30px 28px;
  display: grid; justify-items: center; gap: 14px; box-shadow: 14px 14px 0 var(--ink-3);
  transform: rotate(1.5deg);
}
.pay-cup {
  width: 150px; height: 180px; position: relative; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
  background: rgba(243, 231, 211, .1); border-top: 4px solid var(--cream);
}
.pay-liquid {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 30%);
  background: linear-gradient(var(--chai), var(--chai-dk));
  transition: height .5s var(--ease-spring);
}
.wave {
  position: absolute; left: -50%; top: -10px; width: 200%; height: 20px;
  background: radial-gradient(circle at 10px -4px, transparent 12px, #f1d6aa 13px) 0 0 / 20px 20px repeat-x;
  animation: wave 2.4s linear infinite;
}
@keyframes wave { to { transform: translateX(20px); } }
.pay-shine { position: absolute; left: 22%; top: 10%; width: 8px; height: 70%; background: rgba(255, 255, 255, .3); border-radius: 8px; transform: rotate(6deg); }
.pay-readout { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-mono); }
.pay-readout .rs { font-size: 18px; color: var(--cream-dim); }
.pay-readout .amt { font-size: 64px; font-weight: 700; color: var(--gold); line-height: 1; min-width: 3ch; text-align: center; display: inline-block; }
.pay-readout .amt.bump { animation: bump .35s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.15) rotate(-3deg); } }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(to right, var(--gold) var(--pct, 27%), var(--ink-3) var(--pct, 27%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--ink-3); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--gold); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--cream); border: 4px solid var(--gold); transition: transform .2s; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--cream); border: 4px solid var(--gold); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
input[type=range]:focus-visible { outline: 2px dashed var(--gold); outline-offset: 4px; border-radius: 8px; }
.pay-verdict { margin: 0; min-height: 1.6em; font-weight: 600; text-align: center; color: var(--cream); }

/* ---------- menu board ---------- */
.menu { padding: clamp(90px, 12vw, 160px) var(--gutter); position: relative; }
.menu-head { display: flex; flex-direction: column; margin-bottom: 40px; }
.menu-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.menu-tab {
  border: 2px solid var(--ink-3); background: var(--ink-2); color: var(--cream);
  padding: 10px 18px; border-radius: 99px; font-weight: 600; font-size: 15px;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-spring);
}
.menu-tab:hover { border-color: var(--gold); transform: translateY(-2px); }
.menu-tab[aria-selected="true"] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.menu-tab .n { font: 500 11px var(--f-mono); opacity: .6; margin-left: 6px; }

.board {
  position: relative; background: #12100c; border-radius: 18px; padding: clamp(28px, 4vw, 52px);
  border: 1px solid #2c2418;
  box-shadow: inset 0 0 0 10px #1a150e, inset 0 0 0 12px #3a2f1f, 0 30px 80px rgba(0, 0, 0, .5);
}
.board-bolts i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #c9b07a, #5a4a2a); }
.board-bolts i:nth-child(1) { top: 20px; left: 20px; } .board-bolts i:nth-child(2) { top: 20px; right: 20px; }
.board-bolts i:nth-child(3) { bottom: 20px; left: 20px; } .board-bolts i:nth-child(4) { bottom: 20px; right: 20px; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px; }
.board-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 6px; border-bottom: 1px dashed #3a2f1f;
  opacity: 0; transform: translateY(14px); animation: itemIn .6s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes itemIn { to { opacity: 1; transform: none; } }
.board-item .nm { flex: 1; min-width: 0; }
.board-item .nm b { display: block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; }
.board-item .nm small { color: var(--cream-dim); font-size: 13px; }
.board-item .tag { font: 700 10px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--pink); color: var(--cream); padding: 3px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.flap { display: inline-flex; gap: 3px; }
.flap span {
  width: 1.15em; height: 1.55em; display: grid; place-items: center; position: relative;
  font: 700 clamp(17px, 1.6vw, 22px) var(--f-mono); color: var(--gold);
  background: linear-gradient(#211a10 50%, #1a140c 50%); border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .6), 0 1px 0 #2e2516;
}
.flap span::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .7); }
.flap span.flip { animation: flapflip .09s linear; }
@keyframes flapflip { 50% { transform: scaleY(.2); } }
.flap.ask span { color: var(--cream-dim); font-size: 12px; width: auto; padding: 0 8px; }
.board-foot { margin: 26px 0 0; font-size: 13px; color: var(--cream-dim); font-family: var(--f-mono); }

/* ---------- incoming call ---------- */
.call {
  display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background:
    radial-gradient(50% 70% at 80% 50%, rgba(232, 69, 111, .18), transparent 70%),
    var(--ink-2);
  overflow: hidden;
}
.call-sub { max-width: 42ch; color: var(--cream-dim); font-size: 18px; margin-top: 22px; }
.phone {
  width: 300px; height: 600px; border-radius: 48px; padding: 12px; position: relative;
  background: linear-gradient(145deg, #2c2c2c, #0a0a0a); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 0 0 2px #444;
}
.phone.buzz { animation: buzz 2.4s infinite; }
@keyframes buzz {
  0%, 30%, 100% { transform: rotate(0); }
  2%, 6%, 10%, 14%, 18%, 22%, 26% { transform: rotate(-3deg) translateX(-2px); }
  4%, 8%, 12%, 16%, 20%, 24%, 28% { transform: rotate(3deg) translateX(2px); }
}
.phone-notch { position: absolute; top: 22px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: #000; border-radius: 20px; z-index: 3; }
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background: linear-gradient(170deg, #3a1f3d, #1b1020 60%, #0d0a06);
  display: flex; flex-direction: column; align-items: center; padding: 70px 22px 40px;
  transition: background .8s;
}
.phone-screen.answered { background: linear-gradient(170deg, #f5b800, #e8a200 60%, #c98a00); }
.caller { text-align: center; transition: transform .7s var(--ease-out), opacity .5s; }
.caller-label { margin: 0; font-size: 14px; opacity: .7; }
.caller-name { font: 400 32px/1.05 var(--f-display); margin: 8px 0 28px; }
.caller-ring { position: relative; width: 120px; height: 120px; margin: 0 auto; display: grid; place-items: center; }
.caller-ring b { font-size: 56px; position: relative; z-index: 1; }
.caller-ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: ring 2s infinite; opacity: 0; }
.caller-ring span:nth-child(2) { animation-delay: .6s; } .caller-ring span:nth-child(3) { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.answered .caller { transform: translateY(-30px) scale(.8); opacity: 0; }

.burger-stack {
  position: absolute; left: 50%; top: 42%; width: 200px; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; pointer-events: none;
}
.layer { width: 100%; opacity: 0; transform: translateY(-260px); }
.answered .layer { animation: drop .7s var(--ease-spring) forwards; }
.answered .layer:nth-child(8) { animation-delay: .1s; }
.answered .layer:nth-child(7) { animation-delay: .25s; }
.answered .layer:nth-child(6) { animation-delay: .4s; }
.answered .layer:nth-child(5) { animation-delay: .55s; }
.answered .layer:nth-child(4) { animation-delay: .7s; }
.answered .layer:nth-child(3) { animation-delay: .85s; }
.answered .layer:nth-child(2) { animation-delay: 1s; }
.answered .layer:nth-child(1) { animation-delay: 1.2s; }
@keyframes drop { to { opacity: 1; transform: none; } }
.bun-top { height: 62px; border-radius: 100px 100px 14px 14px; background: radial-gradient(circle at 40% 30%, #e7a457, #b26a24); position: relative; }
.bun-top i { position: absolute; width: 6px; height: 10px; border-radius: 50%; background: #f8e7c3; }
.bun-top i:nth-child(1) { left: 30%; top: 20%; transform: rotate(30deg); } .bun-top i:nth-child(2) { left: 50%; top: 14%; }
.bun-top i:nth-child(3) { left: 66%; top: 28%; transform: rotate(-30deg); } .bun-top i:nth-child(4) { left: 40%; top: 42%; transform: rotate(60deg); }
.bun-top i:nth-child(5) { left: 58%; top: 46%; transform: rotate(-60deg); }
.lettuce { height: 14px; width: 108%; margin-top: -4px; background: radial-gradient(circle at 8px 0, #6fbf3b 8px, transparent 9px) 0 0 / 16px 14px repeat-x, #4f9a2a; border-radius: 0 0 10px 10px; }
.cheese { height: 10px; width: 104%; background: #ffcd2e; clip-path: polygon(0 0, 100% 0, 100% 40%, 86% 100%, 74% 40%, 30% 40%, 18% 100%, 8% 40%, 0 40%); }
.patty { height: 26px; width: 100%; margin-top: -2px; border-radius: 14px; background: linear-gradient(#5a3018, #3b1c0c); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .1); }
.sauce { height: 8px; width: 96%; background: #c7311f; border-radius: 6px; margin-top: -2px; }
.bun-bottom { height: 30px; border-radius: 10px 10px 26px 26px; background: linear-gradient(#d18a40, #a6601f); margin-top: -2px; }

.connected { position: absolute; bottom: 140px; left: 0; right: 0; text-align: center; color: var(--ink); font: 600 13px var(--f-mono); opacity: 0; transition: opacity .5s 1.5s; margin: 0; }
.connected a { color: var(--ink); }
.answered .connected { opacity: 1; }
.call-actions { margin-top: auto; display: flex; gap: 70px; transition: opacity .4s; }
.answered .call-actions { opacity: 0; pointer-events: none; }
.call-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; font-size: 26px; color: #fff; transition: transform .3s var(--ease-spring); }
.call-btn:hover { transform: scale(1.12); }
.decline { background: #e5332a; }
.accept { background: #2fbf55; animation: acceptPulse 1.4s infinite; }
@keyframes acceptPulse { 50% { box-shadow: 0 0 0 14px rgba(47, 191, 85, .0); } 0% { box-shadow: 0 0 0 0 rgba(47, 191, 85, .6); } }
.phone.declined .phone-screen { animation: decline .6s; }
@keyframes decline { 30% { filter: brightness(.3); } }

/* ---------- wall ---------- */
.wall { padding: clamp(90px, 12vw, 160px) var(--gutter) 60px; position: relative; overflow: hidden; }
.wall-head { position: relative; z-index: 2; pointer-events: none; }
.wall-sub { color: var(--cream-dim); margin: 16px 0 0; }
.wall-board {
  position: relative; height: 780px; margin-top: 30px; border-radius: 24px;
  background:
    radial-gradient(circle at 1px 1px, rgba(243, 231, 211, .09) 1px, transparent 0) 0 0 / 22px 22px,
    #14100a;
  border: 1px solid #2a2117;
}
.snap {
  position: absolute; left: var(--x); top: var(--y); margin: 0; width: 230px;
  background: #faf3e6; color: var(--ink); padding: 12px 12px 0; border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transform: rotate(var(--r)) scale(.6); opacity: 0;
  transition: transform .8s var(--ease-spring), opacity .6s, box-shadow .3s;
  cursor: grab; touch-action: none; user-select: none;
}
.wall-board.in .snap { opacity: 1; transform: rotate(var(--r)); }
.wall-board.in .snap:nth-child(2) { transition-delay: .08s; } .wall-board.in .snap:nth-child(3) { transition-delay: .16s; }
.wall-board.in .snap:nth-child(4) { transition-delay: .24s; } .wall-board.in .snap:nth-child(5) { transition-delay: .32s; }
.wall-board.in .snap:nth-child(6) { transition-delay: .4s; } .wall-board.in .snap:nth-child(7) { transition-delay: .48s; }
.snap.dragging { cursor: grabbing; transition: box-shadow .3s; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); transform: rotate(0deg) scale(1.06) !important; }
.snap::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 80px; height: 24px; margin-left: -40px;
  background: rgba(245, 184, 0, .75); transform: rotate(-4deg);
}
.snap-img { aspect-ratio: 1; border-radius: 2px; padding: 18px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.snap figcaption { font: 500 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 12px 2px 14px; color: #5a4a35; }
.snap-big { font: 400 26px/1 var(--f-display); margin: 0; position: relative; }
.snap-huge { font: 400 92px/0.85 var(--f-display); margin: 0; }
.snap-small { font: 600 12px var(--f-body); margin: 6px 0; text-transform: uppercase; letter-spacing: .06em; position: relative; }
.snap-urdu { font-family: var(--f-urdu); font-size: 32px; margin: 0; line-height: 2; direction: rtl; text-align: center; }
.snap-tag { position: absolute; right: 12px; top: 12px; font: italic 600 14px var(--f-body); color: #fff; transform: rotate(-12deg); margin: 0; }

.s-gajra .snap-img { background: #fbe9ee; color: #a3142f; text-align: center; }
.s-gajra .snap-big b { font-size: 46px; display: block; }
.gajra { position: absolute; inset: 14px; border-radius: 50%; border: 10px dotted #e04163; opacity: .35; animation: spin 30s linear infinite; }
.s-labor .snap-img { background: var(--teal); color: #fff; }
.s-labor .snap-huge { color: var(--gold); }
.s-eid .snap-img { background: #fff; color: #a3142f; align-items: center; }
.moon { width: 60px; height: 60px; border-radius: 50%; box-shadow: -12px 6px 0 0 var(--gold); transform: translateX(10px); margin-bottom: 6px; }
.s-night .snap-img { background: #1a1410; color: var(--cream); }
.s-night .snap-big b { color: var(--gold); }
.bulbs { display: flex; justify-content: space-between; position: absolute; top: 10px; left: 14px; right: 14px; }
.bulbs i { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px var(--gold); animation: twinkle 1.6s infinite; }
.bulbs i:nth-child(2n) { animation-delay: .8s; }
.s-platter .snap-img { background: linear-gradient(135deg, #3e8a2e 55%, #c1272d 55%); color: #fff; }
.s-ammi .snap-img { background: #fff4ee; color: #c2185b; }
.bangles { display: flex; gap: -6px; margin-top: 10px; }
.bangles i { width: 46px; height: 46px; border-radius: 50%; border: 6px solid var(--gold); margin-right: -14px; box-shadow: inset 0 0 0 2px #c2185b; }
.s-promo .snap-img { background: #5b2ca0; color: #fff; }
.s-promo .snap-huge { color: var(--gold-hi); }

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.visit address { font-style: normal; font-size: 20px; margin: 30px 0; line-height: 1.5; color: var(--cream-dim); }
.visit address span { display: block; font-family: var(--f-display); font-size: 28px; color: var(--cream); }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.visit-map { position: relative; min-height: 420px; border-radius: 24px; overflow: hidden; border: 2px solid var(--gold); }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.5) hue-rotate(5deg) contrast(.9); }
.map-pin {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -70px 0 0 -28px; pointer-events: none;
  background: var(--gold); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  animation: pinBounce 2s var(--ease-spring) infinite;
}
.map-pin span { transform: rotate(45deg); font-size: 24px; }
@keyframes pinBounce { 0%, 100% { margin-top: -70px; } 50% { margin-top: -84px; } }

/* ---------- footer ---------- */
.footer { background: var(--ink-2); text-align: center; overflow: hidden; }
.footer-urdu { font-family: var(--f-urdu); font-size: clamp(40px, 9vw, 130px); color: var(--gold); margin: 60px 0 0; line-height: 2.2; direction: rtl; }
.footer-en { font: 500 13px var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim); margin: 0 0 50px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--gutter); border-top: 1px solid var(--ink-3); font-size: 14px; color: var(--cream-dim); }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; text-align: left; }
  .hero-art { max-width: 400px; order: -1; margin-bottom: -40px; }
  .price-sticker { width: 96px; height: 96px; right: 0; }
  .price-sticker text { font-size: 13px; }
  .pay-grid, .visit { grid-template-columns: 1fr; }
  .pay-machine { transform: none; }
  .call { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .call-sub { margin-inline: auto; }
  .board-list { grid-template-columns: 1fr; }
  .wall-board { height: auto; display: flex; gap: 24px; overflow-x: auto; padding: 30px 20px 40px; scroll-snap-type: x mandatory; }
  .snap { position: relative; left: auto; top: auto; flex: 0 0 230px; scroll-snap-align: center; }
  .scroll-hint { display: none; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 22px;
    clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .7s var(--ease-out);
  }
  .nav-links a { font-family: var(--f-display); font-size: 42px; }
  .nav-links.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav-cta { font-family: var(--f-body) !important; font-size: 20px !important; }
  .burger-btn { display: block; z-index: 2; }
  .brand-word { display: none; }
  .ritual-clock { top: 84px; }
  .panel { right: var(--gutter); }
  .phone { width: 270px; height: 540px; }
  .tickers { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
}
