/* Nutri-Full hero v2 (bright). Everything namespaced hx-*. Does not style html/body.
   Design frame is 1440x900 design px scaled by --u; UI uses --n. Defaults below work without JS; js/hero.js overrides --u/--n/--fy inline. */
@keyframes hx-show { to { opacity: 1; } }
@keyframes hx-bob {
  from { transform: translateY(calc(var(--u) * -7)) rotate(calc(var(--r, 0deg) - 3deg)); }
  to   { transform: translateY(calc(var(--u) *  7)) rotate(calc(var(--r, 0deg) + 3deg)); }
}
@keyframes hx-cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hx-hero {
  --u: min(calc(100vw / 1440), calc(100vh / 900));
  --n: clamp(0.5px, min(calc(100vw / 1440), calc(100vh / 900)), 1.3px);
  --fy: 0px;
  --ctl: max(46px, calc(var(--n) * 52));
  --hx-gold: var(--nf-gold, #D9B36C);
  --hx-gold-light: var(--nf-gold-light, #EBCB8B);
  --hx-gold-deep: var(--nf-gold-deep, #B88A3E);
  --hx-ink: var(--nf-text, #1A1714);
  --hx-ink-2: #352E27;
  position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 320px;
  overflow: hidden; background: #BFDCE5; color: var(--hx-ink);
  font-family: var(--nf-font, "Poppins", system-ui, sans-serif);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  touch-action: pan-y; isolation: isolate;
}
@supports (height: 100svh) { .hx-hero { --u: min(calc(100vw / 1440), calc(100svh / 900)); --n: clamp(0.5px, min(calc(100vw / 1440), calc(100svh / 900)), 1.3px); } }
.hx-hero *, .hx-hero *::before, .hx-hero *::after { box-sizing: border-box; }
.hx-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hx-hero [hidden] { display: none !important; }

.hx-stage { position: absolute; inset: 0; overflow: hidden; user-select: none; -webkit-user-select: none; background: #BFDCE5; z-index: 0; }
.hx-slide { position: absolute; inset: 0; overflow: hidden; background: var(--bg, #BFDCE5); display: none; }
.hx-slide[data-s="ayala"]   { --bg: #BFDCE5; }
.hx-slide[data-s="chicken"] { --bg: #F2C98B; }
.hx-slide[data-s="paneer"]  { --bg: #CFE3B4; }
.hx-slide[data-s="soya"]    { --bg: #F1B9A8; }
.hx-slide.hx-on { display: block; }
.hx-slide.hx-cur { z-index: 2; }
.hx-frame {
  position: absolute; width: calc(var(--u) * 1440); height: calc(var(--u) * 900);
  left: calc(50% - var(--u) * 720); top: calc(50% - var(--u) * 450 + var(--fy));
}
.hx-layer { position: absolute; inset: 0; will-change: transform; }

/* giant word: white, soft shadow (Blendy). Size/top are defaults for slide 1, JS fits every word. */
.hx-word {
  position: absolute; left: 0; width: 100%; text-align: center; white-space: nowrap; line-height: 1;
  font-family: var(--nf-font, "Poppins", system-ui, sans-serif); font-weight: 700; color: #fff;
  font-size: calc(var(--u) * 445); letter-spacing: .005em; top: calc(var(--u) * 180.6);
  text-shadow: 0 2px 30px rgba(60, 40, 10, .10);
  pointer-events: none;
}
/* macros */
.hx-macros { position: absolute; left: 0; width: 100%; top: calc(var(--u) * 688); text-align: center; pointer-events: none; color: var(--hx-ink); }
.hx-dish { display: block; font-size: max(12px, calc(var(--u) * 17)); letter-spacing: .08em; color: var(--hx-ink-2); font-weight: 500; }
.hx-mrow { display: block; margin-top: calc(var(--u) * 6); font-size: max(14px, calc(var(--u) * 22)); font-weight: 600; color: var(--hx-ink); white-space: nowrap; }
.hx-mrow i { font-style: normal; color: var(--hx-ink); opacity: .8; margin: 0 .5em; }
.hx-tag { display: inline-block; margin-top: calc(var(--u) * 10); padding: .3em .95em; background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(184, 138, 62, .55); border-radius: 999px; font-size: max(11px, calc(var(--u) * 14)); letter-spacing: .12em; text-transform: uppercase; color: var(--hx-ink); font-weight: 600; }

/* shadow layer: very soft light behind the bowl + warm floor shadows */
.hx-glow { position: absolute; left: calc(var(--u) * 220); top: calc(var(--u) * 110); width: calc(var(--u) * 1000); height: calc(var(--u) * 720);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12) 60%, transparent 100%); }
.hx-floor { position: absolute; border-radius: 50%; filter: blur(calc(var(--u) * 5)); background: radial-gradient(closest-side, rgba(60, 40, 10, .18), transparent); }
.hx-f1 { left: calc(var(--u) * 430); top: calc(var(--u) * 612); width: calc(var(--u) * 580); height: calc(var(--u) * 56); }
.hx-f2 { left: calc(var(--u) * 530); top: calc(var(--u) * 624); width: calc(var(--u) * 380); height: calc(var(--u) * 24); background: radial-gradient(closest-side, rgba(60, 40, 10, .24), transparent); }

/* bowl */
.hx-bowl { position: absolute; left: calc(var(--u) * 410); top: calc(var(--u) * 160); width: calc(var(--u) * 620); height: calc(var(--u) * 620); display: block; object-fit: contain; filter: drop-shadow(0 calc(var(--u) * 14) calc(var(--u) * 18) rgba(60, 40, 10, .18)); }
.hx-bowl.hx-photo { left: calc(var(--u) * 460); top: calc(var(--u) * 190); width: calc(var(--u) * 520); height: calc(var(--u) * 520); object-fit: cover; border-radius: 50%; filter: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 60%, transparent 100%); }

/* pieces */
.hx-piece { position: absolute; }
.hx-piece.hx-mirror { transform: scaleX(-1); }
.hx-piece.hx-gone { display: none; }
.hx-piece-in { --r: 0deg; width: 100%; transform: rotate(var(--r)); animation: hx-bob 4s ease-in-out infinite alternate; }
.hx-piece-in img { display: block; width: 100%; height: auto; pointer-events: none; }
.hx-l-corner .hx-piece { filter: blur(calc(var(--u) * 9)); }
/* offscreen / tab hidden: stop every animation */
.hx-idle .hx-piece-in, .hx-idle .hx-scrollline { animation-play-state: paused; }

/* UI */
.hx-ui { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
.hx-ui a, .hx-ui button { pointer-events: auto; }
.hx-ui a { color: inherit; text-decoration: none; }
.hx-ui button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hx-ui a:focus-visible, .hx-ui button:focus-visible { outline: 2px solid var(--hx-ink); outline-offset: 3px; border-radius: 6px; }
.hx-pre [data-hx-rise] { opacity: 0; animation: hx-show .01s 3.2s forwards; }
.hx-pre .hx-layer { animation: none; }
@media (scripting: none) { .hx-pre [data-hx-rise] { opacity: 1; animation: none; } }

.hx-header { position: absolute; left: calc(var(--n) * 50); right: calc(var(--n) * 50); top: calc(var(--n) * 26); height: calc(var(--n) * 50); display: flex; align-items: center; }
.hx-brand { display: flex; align-items: center; gap: calc(var(--n) * 14); min-height: 44px; }
.hx-logo { width: max(36px, calc(var(--n) * 54)); height: max(36px, calc(var(--n) * 54)); border-radius: 50%; display: block; object-fit: cover; background: #0E0E0F; }
.hx-wordmark { font-weight: 600; font-size: max(12px, calc(var(--n) * 17)); letter-spacing: .24em; color: var(--hx-ink); line-height: 1; white-space: nowrap; }
.hx-tabs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: calc(var(--n) * 56); font-weight: 500; font-size: max(14px, calc(var(--n) * 21)); }
.hx-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 calc(var(--n) * 6); line-height: 1.25; color: var(--hx-ink); opacity: .8; transition: opacity .3s; white-space: nowrap; }
.hx-tab[aria-current="true"], .hx-tab:hover { opacity: 1; }
.hx-tab[aria-current="true"] { font-weight: 600; }
.hx-underline { position: absolute; left: 0; bottom: 4px; height: 2px; width: 0; border-radius: 2px; background: var(--hx-ink); transform: translateX(0);
  transition: transform .6s cubic-bezier(.65, 0, .35, 1), width .6s cubic-bezier(.65, 0, .35, 1); pointer-events: none; }
.hx-links { margin-left: auto; display: flex; align-items: center; gap: calc(var(--n) * 22); font-weight: 500; font-size: max(14px, calc(var(--n) * 19)); }
.hx-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--hx-ink); transition: opacity .2s; white-space: nowrap; }
.hx-link:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.hx-sep { opacity: .75; }
.hx-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 calc(var(--n) * 26); background: var(--hx-gold); border-radius: 999px; color: var(--hx-ink) !important; font-weight: 600; transition: background .25s, transform .25s; line-height: 1.2; box-shadow: 0 6px 18px -8px rgba(60, 40, 10, .35); }
.hx-pill:hover { background: var(--hx-gold-light); }

/* value proposition (visible on every viewport) */
.hx-value { position: absolute; left: calc(var(--n) * 50); top: calc(var(--n) * 122); width: calc(var(--n) * 330); margin: 0; font-size: max(14px, calc(var(--n) * 17)); line-height: 1.5; font-weight: 500; color: var(--hx-ink); }
.hx-vdot { display: none; }
.hx-scrollcue { position: absolute; left: calc(var(--n) * 66); bottom: calc(var(--n) * 110); display: flex; flex-direction: column; align-items: center; gap: calc(var(--n) * 10); color: var(--hx-ink); font-size: calc(var(--n) * 12); letter-spacing: .24em; text-transform: uppercase; font-weight: 500; }
.hx-scrolltxt { writing-mode: vertical-rl; }
.hx-scrollline { display: block; width: 1px; height: calc(var(--n) * 56); background: var(--hx-ink); animation: hx-cue 2.2s ease-in-out infinite; }

/* bottom controls */
.hx-order { position: absolute; left: 50%; bottom: calc(var(--n) * 30); transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; height: var(--ctl); padding: 0 calc(var(--n) * 30); background: var(--hx-ink); border-radius: 999px; font-weight: 600; font-size: max(13px, calc(var(--n) * 17)); letter-spacing: .14em; text-transform: uppercase; color: #F6F1E7 !important; white-space: nowrap; transition: background .25s, color .25s; box-shadow: 0 10px 26px -12px rgba(26, 23, 20, .6); }
.hx-order:hover { background: #000; color: var(--hx-gold-light) !important; }
.hx-arrow { position: absolute; bottom: calc(var(--n) * 30); width: var(--ctl); height: var(--ctl); display: grid; place-items: center; color: var(--hx-ink); }
.hx-prev { left: calc(var(--n) * 36); }
.hx-next { right: calc(var(--n) * 36); }
.hx-pause { left: calc(var(--n) * 36 + var(--ctl)); }
.hx-arrow svg { width: max(24px, calc(var(--n) * 28)); height: max(24px, calc(var(--n) * 28)); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.hx-pause svg { width: max(20px, calc(var(--n) * 24)); height: max(20px, calc(var(--n) * 24)); }
.hx-i-play { display: none; }
.hx-pause[aria-pressed="true"] .hx-i-play { display: block; fill: currentColor; }
.hx-pause[aria-pressed="true"] .hx-i-pause { display: none; }
.hx-prev:hover svg { transform: translateX(-3px); }
.hx-next:hover svg { transform: translateX(3px); }

/* mobile / tablet: width <= 820 or portrait (same test as js/hero.js) */
@media (max-width: 820px), (orientation: portrait) {
  .hx-hero { --u: min(calc(100vw / 640), calc((100vh - 200px) / 620)); --n: 1px; --fy: 8px; --ctl: 46px; }
  @supports (height: 100svh) { .hx-hero { --u: min(calc(100vw / 640), calc((100svh - 200px) / 620)); } }
  .hx-word { font-size: calc(var(--u) * 204); letter-spacing: -.035em; top: calc(var(--u) * 197.8); }
  .hx-header { left: 14px; right: 14px; top: 8px; height: 44px; }
  .hx-brand { gap: 8px; }
  .hx-logo { width: 40px; height: 40px; }
  .hx-wordmark { font-size: 12px; letter-spacing: .18em; }
  .hx-tabs { top: 50px; transform: translateX(-50%); gap: 8px; font-size: 15px; }
  .hx-tab { padding: 0 12px; }
  .hx-underline { bottom: 3px; }
  .hx-links { gap: 8px; font-size: 14px; }
  .hx-link-week, .hx-sep { display: none; }
  .hx-link { padding: 0 6px; }
  .hx-pill { padding: 0 18px; }
  .hx-value { left: 22px; right: 22px; width: auto; top: 108px; text-align: center; font-size: 14px; line-height: 1.4; }
  .hx-scrollcue { display: none; }
  .hx-order { bottom: 14px; padding: 0 16px; font-size: 13px; letter-spacing: .08em; }
  .hx-arrow { bottom: 14px; }
  .hx-prev { left: 6px; }
  .hx-next { right: 6px; }
  .hx-pause { left: 52px; }
  .hx-arrow svg { width: 24px; height: 24px; }
  .hx-pause svg { width: 20px; height: 20px; }
  /* bowl, glow, shadow, macros drop a little to use the free height under the word */
  .hx-bowl { top: calc(var(--u) * 215); }
  .hx-bowl.hx-photo { top: calc(var(--u) * 265); }
  .hx-glow, .hx-floor { margin-top: calc(var(--u) * 55); }
  .hx-macros { margin-top: calc(var(--u) * 62); }
}
@media (max-width: 360px) { .hx-wordmark { display: none; } }
@media (max-height: 520px) { .hx-value, .hx-scrollcue, .hx-tag, .hx-dish { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hx-piece-in { animation: none; }
  .hx-underline { transition: none; }
  .hx-scrollline { animation: none; transform: none; }
}
