/* Hangryology V1.4 — homepage-only, additive refinements. No baked-in UI artwork. */
#home .cinematic-home{position:relative;background:radial-gradient(ellipse 65% 22% at 84% 5%,rgba(25,123,175,.18),transparent 85%),radial-gradient(ellipse 55% 24% at 12% 40%,rgba(9,92,140,.16),transparent 88%),linear-gradient(180deg,#04182b 0%,#051b30 35%,#031629 67%,#03101f 100%)}
#home .home-hero{background:radial-gradient(ellipse 44% 85% at 78% 48%,rgba(19,116,176,.23),transparent 90%),linear-gradient(90deg,#041729 0%,#061c32 57%,#071e33 100%);border-bottom:1px solid rgba(65,178,228,.22)}
#home .home-hero:before{opacity:.28;mask-image:linear-gradient(to bottom,transparent,#000 30%,#000 70%,transparent)}
#home .hero-duo{object-fit:contain;object-position:right center;mask-image:linear-gradient(to right,transparent 0%,#000 26%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 26%);filter:drop-shadow(0 0 28px rgba(34,175,245,.13)) saturate(1.04)}
#home .hero-copy{max-width:950px}
#home .hero-copy p{color:#c9dfec}
#home .home-meter{background:radial-gradient(ellipse at 15% 55%,rgba(32,135,181,.14),transparent 55%),linear-gradient(180deg,#061f37,#051b30);border-bottom:1px solid rgba(56,160,207,.22)}
#home .meter-sidekicks{object-fit:contain;mask-image:linear-gradient(90deg,#000 70%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 70%,transparent)}
#home .meter-bar{height:19px;border-radius:100px;box-shadow:inset 0 2px 6px #0008,0 0 17px #fa812838}
#home #hangry-range{display:block;position:relative;z-index:2;touch-action:pan-y;cursor:pointer}
#home #hangry-range::-webkit-slider-thumb{width:35px;height:35px;border:4px solid #fff;background:radial-gradient(circle at 30% 25%,#ffe7b5,#ff8b39 58%,#f35a24);box-shadow:0 0 0 5px #ff8d352b,0 0 18px #ff8938a0;cursor:grab}
#home #hangry-range:active::-webkit-slider-thumb{cursor:grabbing}
#home #hangry-range::-moz-range-thumb{width:27px;height:27px;border:4px solid #fff;background:#ff8b39;box-shadow:0 0 0 5px #ff8d352b,0 0 18px #ff8938a0;cursor:grab}
#home .home-experiments{position:relative}
#home .experiment{background:linear-gradient(160deg,rgba(11,55,81,.96),rgba(4,25,44,.98));border-color:#237da8;box-shadow:0 8px 28px #0005;}
#home .experiment>img{object-fit:contain;background:radial-gradient(ellipse at center,#0b4260 0%,#092b48 48%,#06223b 75%,transparent 100%);mask-image:linear-gradient(#000 82%,transparent);-webkit-mask-image:linear-gradient(#000 82%,transparent)}
#home .experiment:hover{box-shadow:0 15px 32px #0008,0 0 20px #ff8c303b}
#home .home-how{background:linear-gradient(180deg,#04182b,#031528);border-color:rgba(56,160,207,.19)}
#home .how-mascot{object-fit:contain}
#home .home-cuisines img{object-fit:contain;max-height:none;height:auto}
#home .home-cuisines{background:radial-gradient(ellipse at center,rgba(18,89,130,.14),transparent 68%)}
@media(max-width:900px){#home .hero-duo{opacity:.68}}
@media(max-width:600px){#home .home-hero{min-height:710px}#home .hero-duo{height:390px;object-position:center bottom;opacity:.95;mask-image:linear-gradient(to top,#000 60%,transparent 100%);-webkit-mask-image:linear-gradient(to top,#000 60%,transparent 100%)}#home .home-experiments{gap:12px}#home .experiment>img{object-fit:contain}}
@media(prefers-reduced-motion:no-preference){#home .hero-duo{animation:hangry-float 7s ease-in-out infinite alternate}@keyframes hangry-float{from{transform:translateY(0)}to{transform:translateY(-8px)}}}


/* V1.4.1 — cohesive homepage, additive; no changes to restaurant search */
#home .home-hero .hero-copy{width:52%;max-width:750px;isolation:isolate}
#home .home-hero .hero-copy:before{content:"";position:absolute;inset:-65px -85px -65px -40px;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#04172cf5 0%,#04172ce8 58%,#04172c00 100%)}
#home .home-hero h1{font-size:clamp(54px,5.5vw,92px);white-space:normal;line-height:1.03;max-width:740px}
#home .hero-duo{width:57%;object-position:60% center}
#home .home-meter{overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 65% 50%,#103f6177,transparent 68%),linear-gradient(180deg,#07223a,#03182d)}
#home .meter-sidekicks{border-radius:0;object-fit:cover;object-position:15% center;mask-image:linear-gradient(to right,transparent 0%,black 10%,black 52%,transparent 100%),linear-gradient(to bottom,transparent 0%,black 15%,black 78%,transparent 100%);mask-composite:intersect;-webkit-mask-image:radial-gradient(ellipse 80% 75% at 40% 50%,black 44%,transparent 95%)}
#home .meter-labels{align-items:start;gap:6px}
#home .meter-labels .bunsen-level{font-size:inherit;opacity:.68;transform:translateY(0);transition:transform .2s,opacity .2s,filter .2s}
#home .bunsen-level img{width:clamp(52px,6.5vw,100px);height:clamp(52px,6.5vw,100px);object-fit:contain;filter:drop-shadow(0 0 6px #26bdf988)}
#home .bunsen-level small{font-size:clamp(9px,.8vw,12px);color:#ecf6ff}
#home .bunsen-level.selected{opacity:1;transform:translateY(-5px) scale(1.09)}
#home .bunsen-level.selected img{filter:drop-shadow(0 0 14px #ff8e48)}
#home .meter-inner h2{margin-bottom:32px}
#home .home-how{padding:60px clamp(90px,12vw,235px) 72px;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 55%,#0b395b7a,transparent 70%),linear-gradient(#031a2e,#03182a)}
#home .home-how .how-mascot{width:clamp(180px,15vw,290px);height:100%;max-height:none;bottom:0;object-fit:cover;opacity:.95;z-index:0;border-radius:0}
#home .home-how .how-left{left:-35px;object-position:40% 50%;-webkit-mask-image:radial-gradient(ellipse 85% 82% at 33% 60%,black 28%,transparent 95%);mask-image:radial-gradient(ellipse 85% 82% at 33% 60%,black 28%,transparent 95%)}
#home .home-how .how-right{right:-35px;object-position:60% 50%;-webkit-mask-image:radial-gradient(ellipse 85% 82% at 67% 60%,black 28%,transparent 95%);mask-image:radial-gradient(ellipse 85% 82% at 67% 60%,black 28%,transparent 95%)}
#home .home-how h2,#home .home-how .steps{position:relative;z-index:2}
#home .home-how .steps{gap:14px}
#home .home-how .steps>div{position:relative;padding:10px 3px 5px}
#home .home-how .steps i{width:43px;height:43px;box-shadow:0 0 0 7px #05314b,0 0 20px #ff8a3970}
#home .home-how .steps strong{filter:drop-shadow(0 0 10px #20c3ff66)}
#home .how-flow-line{position:absolute;left:16%;right:16%;height:3px;top:54%;z-index:1;background:linear-gradient(90deg,transparent,#16bbff 16%,#26d0ff 50%,#16bbff 84%,transparent);box-shadow:0 0 18px #20caff88}
#home .home-cuisines{max-width:none;width:100%;padding:50px 0 20px;background:linear-gradient(180deg,#03182a,#031529)}
#home .home-cuisines img{width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;border-radius:0;mask-image:linear-gradient(to right,transparent,black 6%,black 94%,transparent),linear-gradient(to bottom,transparent,black 13%,black 83%,transparent);mask-composite:intersect;-webkit-mask-image:radial-gradient(ellipse 72% 80% at center,black 72%,transparent 100%)}
#home .home-cuisines h2{margin-bottom:8px}
@media(max-width:950px){
#home .home-hero .hero-copy{width:62%}
#home .home-hero h1{font-size:clamp(47px,6.6vw,70px)}
#home .home-how{padding-inline:8%}
#home .home-how .how-mascot{opacity:.36}
}
@media(max-width:600px){
#home .home-hero .hero-copy{width:100%;padding:36px 22px}
#home .home-hero .hero-copy:before{inset:-12px -15px -35px -15px;background:linear-gradient(#04172cf2 0%,#04172cda 68%,transparent)}
#home .home-hero h1{font-size:clamp(47px,11vw,66px)}
#home .home-meter{padding:35px 12px}
#home .meter-sidekicks{display:none}
#home .meter-inner{width:100%}
#home .bunsen-level img{width:clamp(45px,15vw,72px);height:clamp(45px,15vw,72px)}
#home .bunsen-level small{font-size:8px}
#home .home-how{padding:48px 12px}
#home .home-how .how-mascot{display:none}
#home .how-flow-line{display:none}
#home .home-cuisines img{width:125%;max-width:none;margin-left:-12.5%}
}

/* V1.4.4: integrated neon laboratory sections */
#home .home-meter{background:radial-gradient(ellipse 65% 80% at 65% 65%,#1050739c,transparent 80%),linear-gradient(180deg,#061b30,#071e35 55%,#03182b);border-top:2px solid #1598c95c;border-bottom:2px solid #1598c95c}
#home .meter-labels .bunsen-level{opacity:1!important;filter:none!important;transition:transform .25s ease,filter .25s ease,opacity .25s ease}
#home .meter-labels .bunsen-level img{opacity:1!important;filter:brightness(1.3) saturate(1.15) drop-shadow(0 0 9px #20c7ff88)!important;transition:filter .25s ease,transform .25s ease}
#home .meter-labels .bunsen-level small{opacity:1!important;color:#f4faff!important;text-shadow:0 1px 6px #0baeff70;transition:color .25s ease,text-shadow .25s ease}
#home .meter-labels .bunsen-level.selected{transform:translateY(-7px) scale(1.13)!important;opacity:1!important}
#home .meter-labels .bunsen-level.selected img{filter:brightness(1.42) saturate(1.25) drop-shadow(0 0 16px #ff913a) drop-shadow(0 0 9px #31cfff)!important}
#home .meter-labels .bunsen-level.selected small{color:#ffb469!important;text-shadow:0 0 11px #ff7c2f!important}
#home .home-how{border-block:1px solid #12baff77;background:radial-gradient(ellipse at center,#12496c7c 0%,#04192c 74%),linear-gradient(180deg,#03182b,#041e33);box-shadow:inset 0 0 42px #007cbd35}
#home .home-how .how-mascot{filter:brightness(1.15) saturate(1.15) drop-shadow(0 0 18px #00bfff55)}
#home .home-how .steps i{border:1px solid #ffd4a6;box-shadow:0 0 0 7px #05314b,0 0 25px #ff8a39a0}
#home .home-how .steps strong{filter:drop-shadow(0 0 9px #19c6ff99)}
#home .home-how h2,#home .home-meter h2,#home .home-cuisines h2{position:relative;width:max-content;max-width:95%;margin-inline:auto;padding:11px clamp(20px,4vw,75px);border:2px solid #18baff;border-radius:9px 9px 18px 18px;clip-path:polygon(6% 0,94% 0,100% 40%,100% 80%,94% 100%,6% 100%,0 80%,0 40%);background:linear-gradient(180deg,#082e50ee,#04182df5);box-shadow:0 0 22px #12bdff66,inset 0 0 16px #13baff25;text-shadow:0 0 13px #2bb8ff55;z-index:3}
#home .home-cuisines{padding:48px 0 30px;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#0b385a7a,transparent 75%),#03182a;border-top:1px solid #11b5f45e}
#home .home-cuisines h2{margin-bottom:0}
#home .home-cuisines img{display:block;width:100%;max-height:none;height:auto;object-fit:contain;margin:0;opacity:1;mask-image:none!important;-webkit-mask-image:none!important}
@media(max-width:700px){#home .home-cuisines img{width:150%;max-width:none;margin-left:-25%}#home .home-how h2,#home .home-meter h2,#home .home-cuisines h2{font-size:clamp(22px,6vw,36px);padding:9px 24px}}

/* V1.4.5: dedicated illustrated How It Works stations; text stays HTML */
#home .how-lab-v145{position:relative;overflow:hidden;padding:50px clamp(20px,5vw,90px) 60px;background:radial-gradient(ellipse 85% 80% at center,#0a3656 0%,#04182c 72%),#031629;isolation:isolate}
#home .how-lab-v145:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;background:repeating-linear-gradient(90deg,transparent 0 130px,#1170a122 131px 133px,transparent 134px 270px),linear-gradient(180deg,#0bb6ff12,transparent 30%,transparent 80%,#0bb6ff17)}
#home .how-lab-v145 .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(6px,1.2vw,24px);position:relative;z-index:2;align-items:start}
#home .how-lab-v145 .how-step{min-width:0;display:flex;flex-direction:column;align-items:center;position:relative;padding:16px 2px 12px}
#home .how-lab-v145 .how-step i{position:relative;z-index:3;display:grid;place-items:center;width:43px;height:43px;border-radius:50%;font-style:normal;font-weight:900;color:#071629;background:linear-gradient(#ffc173,#ff792e);box-shadow:0 0 20px #ff812eaa}
#home .how-lab-v145 .how-step img{display:block;width:100%;height:clamp(165px,18vw,300px);object-fit:contain;filter:drop-shadow(0 0 12px #13aefa65);margin:0 auto -8px;transition:transform .3s,filter .3s}
#home .how-lab-v145 .how-step:hover img{transform:translateY(-5px);filter:drop-shadow(0 0 19px #28c7ffcc)}
#home .how-lab-v145 .how-step p{position:relative;z-index:3;color:#eff8ff;font-size:clamp(13px,1.1vw,17px);line-height:1.45;text-align:center;text-shadow:0 2px 5px #00111e;margin:0}
#home .how-lab-v145 .how-flow-line{top:56%;left:6%;right:6%;height:3px;z-index:1;box-shadow:0 0 14px #20caff}
@media(max-width:760px){#home .how-lab-v145 .steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:18px}#home .how-lab-v145 .how-step img{height:clamp(150px,32vw,230px)}#home .how-lab-v145 .how-flow-line{display:none}}
@media(max-width:420px){#home .how-lab-v145 .steps{gap:8px}#home .how-lab-v145 .how-step img{height:145px}#home .how-lab-v145 .how-step p{font-size:12px}}


/* V1.4.6: ONLY Hangry Meter. Header inlaid into the top neon border. */
#home .home-meter{
 position:relative;overflow:visible;isolation:isolate;
 margin-top:30px;padding-top:72px;
 border-top:2px solid #12b9f4;
 background:radial-gradient(ellipse 45% 85% at 8% 70%,#12577a7c,transparent 80%),
 radial-gradient(ellipse 75% 70% at 68% 55%,#0c3a597a,transparent 78%),
 linear-gradient(180deg,#05192e,#06253d 58%,#041a30);
 box-shadow:inset 0 17px 35px #01aeff12,0 -4px 25px #0baeff22;
}
#home .home-meter:before,#home .home-meter:after{
 content:"";position:absolute;top:-3px;width:clamp(15px,14vw,220px);height:3px;
 background:#18d5ff;box-shadow:0 0 13px #18d5ff,0 0 23px #ff862e70;pointer-events:none;
}
#home .home-meter:before{left:5%}#home .home-meter:after{right:5%}
#home .home-meter .meter-inner{position:relative;z-index:2}
#home .home-meter .meter-inner h2{
 position:absolute;top:-126px;left:50%;transform:translateX(-50%);
 margin:0;width:max-content;max-width:min(90vw,760px);
 padding:13px clamp(26px,4vw,68px);line-height:1.1;
 border:2px solid #20caff;border-top:2px solid #36d5ff;
 border-radius:0;clip-path:polygon(6% 0,94% 0,100% 50%,94% 100%,6% 100%,0 50%);
 background:linear-gradient(180deg,#0b3757,#06192f);
 box-shadow:0 0 22px #15baff88,inset 0 0 24px #0baeff35;
 white-space:nowrap;text-align:center;z-index:5;
}
#home .home-meter .meter-sidekicks{
 display:block;position:relative;align-self:stretch;width:26%;max-height:340px;
 object-fit:contain;object-position:center bottom;
 border:0;border-radius:0;opacity:1;
 mask-image:linear-gradient(90deg,#000 72%,transparent 100%);
 -webkit-mask-image:linear-gradient(90deg,#000 72%,transparent 100%);
 filter:brightness(1.12) saturate(1.16) drop-shadow(0 0 15px #0aaeff55);
}
#home .home-meter .meter-labels .bunsen-level img{
 filter:brightness(1.35) saturate(1.24) drop-shadow(0 0 9px #1dc9ff8a)!important;
}
#home .home-meter .meter-labels .bunsen-level.selected img{
 filter:brightness(1.5) saturate(1.32) drop-shadow(0 0 18px #ff8d3a) drop-shadow(0 0 10px #1bcaff)!important;
}
@media(max-width:900px){
 #home .home-meter{padding-top:64px;margin-top:25px}
 #home .home-meter .meter-inner h2{top:-111px;font-size:clamp(22px,3.5vw,42px)}
 #home .home-meter .meter-sidekicks{width:20%}
}
@media(max-width:600px){
 #home .home-meter{padding-top:60px;margin-top:30px}
 #home .home-meter .meter-sidekicks{display:none}
 #home .home-meter .meter-inner h2{top:-99px;font-size:clamp(19px,5vw,28px);padding:12px 25px}
 #home .home-meter .meter-inner{width:100%}
}
