/* ==========================================================
   GoMart — Home page (follows the approved FrontPage mockup)
   ========================================================== */

.home-v2 { --navy2: #1B2B55; --blue2: #2F6FB5; --gold-a: #E3C678; --gold-b: #B8913F; }
.home-v2 section { position: relative; }

/* scalloped cloud edges between sections */
.scallop { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; display: block; z-index: 4; pointer-events: none; }
.scallop.top { top: -2px; bottom: auto; }

/* ---------- HERO ---------- */
.h-hero {
  overflow: hidden; padding: 112px 0 70px;
  background:
    radial-gradient(700px 420px at 92% 6%, rgba(255, 248, 226, .95), transparent 62%),
    linear-gradient(180deg, #DDF0FC 0%, #E9F5FD 55%, #F4FAFE 100%);
}
.h-hero-inner { position: relative; z-index: 5; }
.h-kicker { display: block; font-family: var(--font-display); font-style: italic; color: #C9A95A; font-size: 1.1rem; margin-bottom: .6rem; }
.h-title {
  font-family: var(--font-body); font-weight: 700; color: var(--navy2); letter-spacing: -.02em; line-height: 1.12;
  font-size: clamp(2.2rem, 4.6vw, 4rem); margin: 0;
}
.gold-text {
  background: linear-gradient(100deg, #E6CB7E 0%, #C9A247 45%, #E9D08C 60%, #B8913F 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldSheen 6s ease-in-out infinite;
}
.h-lead { color: #2B3550; font-size: 1.02rem; line-height: 1.95; max-width: 580px; margin: 1.1rem auto 0; }
.h-btn-ghost { background: #fff; color: var(--blue2); border: 2px solid #CFE6F7; font-weight: 600; }
.h-btn-ghost:hover { background: #F2F9FE; color: var(--navy2); border-color: #9DD5F5; transform: translateY(-2px); }

/* sun: fixed position, only the shine pulses in and out */
.sun2 { position: absolute; right: 5%; top: 3%; width: 360px; height: 360px; z-index: 1; pointer-events: none; }
.sun2 .halo { position: absolute; inset: -30%; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,250,228,.95) 18%, rgba(255,240,196,.6) 34%, rgba(255,236,190,.2) 52%, transparent 70%);
  animation: sunBreathe 5s ease-in-out infinite; }
.sun2 .core { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #FFFDF4 45%, rgba(255,247,222,.9) 70%, rgba(255,244,210,0) 100%);
  box-shadow: 0 0 60px 30px rgba(255,251,236,.9); }
.sun2 .rays { position: absolute; inset: -20%; border-radius: 50%;
  -webkit-mask: radial-gradient(circle, #000 8%, rgba(0,0,0,.6) 30%, transparent 64%); mask: radial-gradient(circle, #000 8%, rgba(0,0,0,.6) 30%, transparent 64%); }
.sun2 .r1 { background: repeating-conic-gradient(from 0deg, rgba(255,238,188,.95) 0deg 2.2deg, transparent 2.2deg 10deg); animation: shineA 4.2s ease-in-out infinite, spin 120s linear infinite; }
.sun2 .r2 { background: repeating-conic-gradient(from 5deg, rgba(255,255,255,.95) 0deg 1.4deg, transparent 1.4deg 15deg); animation: shineB 3.3s ease-in-out infinite, spinBack 160s linear infinite; }
.sun2 .flare { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.8), rgba(255,240,200,0) 70%); animation: flare 5s ease-in-out infinite; }
.sun2 .f1 { width: 34px; height: 34px; left: 18%; top: 78%; }
.sun2 .f2 { width: 18px; height: 18px; left: 6%; top: 96%; animation-delay: -2.5s; }

/* flat cartoon clouds drifting and bobbing */
.h-clouds { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fcloud { position: absolute; height: auto; animation: fcDrift 16s ease-in-out infinite; will-change: transform; }
.fcloud.c2 { animation-duration: 20s; animation-delay: -6s; }
.fcloud.c3 { animation-duration: 24s; animation-delay: -12s; }
.fcloud.c4 { animation-duration: 18s; animation-delay: -3s; }
.fcloud.c5 { animation-duration: 22s; animation-delay: -9s; }
.fcloud.c6 { animation-duration: 26s; animation-delay: -15s; opacity: .8; }

/* birds: each flies its own up-right path and flaps */
.h-birds { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hbird { position: absolute; animation: hbFly var(--dur, 20s) linear infinite; animation-delay: calc(var(--dur, 20s) * -0.5); }
.hbird-in { animation: hbBob 3.6s ease-in-out infinite; }
.hbird .rig { filter: drop-shadow(0 8px 10px rgba(47,111,181,.18)); }

/* stage: storefront, ribbon, products, badges, mist */
.h-stage { position: relative; width: min(780px, 88vw); margin: 18px auto 0; aspect-ratio: 1400 / 653; }
.h-store { position: absolute; inset: 0; z-index: 2; animation: storeFloat 8s ease-in-out infinite; }
.h-store img { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-ribbon { filter: drop-shadow(0 16px 18px rgba(150,20,20,.18)); transform-origin: 50% 60%; animation: ribbonSway 7s ease-in-out infinite; will-change: transform; }
.h-prod { position: absolute; z-index: 4; pointer-events: none; }
.h-prod img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 18px rgba(27,43,85,.25)); animation: prodFloat 5.5s ease-in-out infinite; }
.hp-monster { left: -6%; top: 9%; width: 10%; } .hp-monster img { --r: 12deg; }
.hp-pepsi { left: -2.5%; top: 74%; width: 8.5%; z-index: 7; } .hp-pepsi img { --r: -14deg; animation-delay: -2s; animation-duration: 6.2s; }
.hp-takis { left: 98%; top: 48%; width: 13%; } .hp-takis img { --r: 14deg; animation-delay: -1s; animation-duration: 5s; }
.h-badge { position: absolute; z-index: 6; background: rgba(255,255,255,.92); border-radius: 14px; padding: .55rem 1.1rem .6rem 2.4rem; box-shadow: 0 16px 30px -18px rgba(27,43,85,.35); line-height: 1.35; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: floaty 6s ease-in-out infinite; }
.h-badge b { display: block; font-weight: 500; color: #111; font-size: .92rem; }
.h-badge span { font-size: .78rem; color: #222; }
.hb-1 { left: -7%; top: 58%; animation-delay: -1s; }
.hb-2 { left: 76%; top: 27%; animation-delay: -3s; }
.hb-3 { left: 73%; top: 76%; animation-delay: -4.5s; }
/* mist under the store: side banks drift apart and back, centre breathes */
.h-mist { position: absolute; left: -30%; right: -30%; bottom: -34%; height: 50%; z-index: 5; pointer-events: none; }
.mist { position: absolute; bottom: 0; aspect-ratio: 2.35; background: center / contain no-repeat; filter: blur(2px); opacity: .95; }
.m-l { left: 10%; width: 38%; bottom: -8%; background-image: url(../img/clouds/cloud-2.webp); animation: mistLeft 9s ease-in-out infinite; }
.m-r { right: 10%; width: 38%; bottom: -8%; background-image: url(../img/clouds/cloud-3.webp); animation: mistRight 9s ease-in-out infinite; }
.m-c { left: 30%; width: 40%; bottom: -22%; background-image: url(../img/clouds/cloud-1.webp); animation: mistBreathe 7s ease-in-out infinite; opacity: .9; }


/* ---------- CATEGORIES ---------- */
.h-cats { padding: 70px 0 130px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F3F9FE 45%, #fff 100%); }
.h-cats-sky { position: absolute; inset: 0; pointer-events: none; }
.hc-cloud { position: absolute; aspect-ratio: 900 / 475; background: url(../img/home/cloud-design.webp) center / contain no-repeat; opacity: .9; animation: hcDrift 20s ease-in-out infinite; }
@keyframes hcDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--dx, 30px), -8px); } }
.h-cats-head { position: relative; text-align: center; margin-bottom: 3rem; }
.h-cats-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  background: linear-gradient(100deg, #D9BA66, #B8913F 60%, #D9BA66); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }
.h-cats-head .btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
@media (max-width: 767.98px) { .h-cats-head .btn { position: static; transform: none; margin-top: 1rem; } }

/* ---------- NOODLE BAR ---------- */
.h-noodle { padding: 150px 0 160px; overflow: hidden;
  background: radial-gradient(900px 500px at 25% 60%, rgba(255,255,255,.75), transparent 70%), linear-gradient(180deg, #CFE8FA 0%, #DDEFFC 50%, #E8F4FD 100%); }
.h-sky-move { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cloud3d.soft { opacity: .85; filter: blur(3px); }
.bowl-stage { position: relative; max-width: 560px; margin: 0 auto; aspect-ratio: 1100 / 876; }
.bowl-cushion { position: absolute; left: -2%; right: 12%; width: 90%; bottom: -16%; opacity: .95; filter: blur(1.5px); animation: cushion 7s ease-in-out infinite !important; }
.bowl-float { position: absolute; inset: 0; animation: bowlFloat 6s ease-in-out infinite; transform-origin: 45% 70%; }
.bowl-img { position: absolute; inset: 0; width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(27,43,85,.22)); }
.bowl-steam { position: absolute; left: 18%; top: -10%; width: 34%; height: auto; z-index: 2; overflow: visible; }
.bowl-steam path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 40 200; filter: blur(2px); animation: steamRise 3.4s linear infinite; }
.bowl-steam path:nth-child(2) { animation-delay: -1.1s; } .bowl-steam path:nth-child(3) { animation-delay: -2.2s; }
.garnish { position: absolute; z-index: 3; filter: drop-shadow(0 8px 8px rgba(27,43,85,.2)); animation: garnish 4.6s ease-in-out infinite; }
.gn-1 { left: 22%; top: 12%; width: 8%; --r: -20deg; }
.gn-2 { left: 77%; top: 46%; width: 6%; --r: 25deg; animation-delay: -1.4s; animation-duration: 5.2s; }
.gn-3 { left: 88%; top: 58%; width: 5.5%; --r: -30deg; animation-delay: -2.6s; animation-duration: 4s; }
.gn-4 { left: 33%; top: 3%; width: 2.4%; --r: 40deg; animation-delay: -.8s; animation-duration: 3.6s; }
.h-line-kicker { display: inline-flex; align-items: center; gap: .8rem; font-family: var(--font-display); font-style: italic; font-weight: 700; color: #C9A95A; font-size: 1.35rem; margin-bottom: 1rem; }
.h-line-kicker::before { content: ""; width: 64px; height: 2px; background: #4F8FCB; }
.h-sans-title { font-family: var(--font-body); font-weight: 600; color: var(--navy2); font-size: clamp(1.9rem, 3.2vw, 2.6rem); letter-spacing: -.01em; }
.h-body { color: #1E2A44; margin-top: 1.4rem; line-height: 1.85; max-width: 520px; }
.h-rule { width: 90px; height: 2px; background: #4F8FCB; margin: 1.4rem 0 1.6rem; }
.h-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.h-checks li { display: flex; gap: .8rem; align-items: flex-start; }
.h-checks i { color: #3A87D6; font-size: 1.3rem; line-height: 1.3; }
.h-checks strong { display: block; color: #111; font-weight: 600; }
.h-checks span { color: #1E2A44; }

/* ---------- TWO GOOD REASONS ---------- */
.h-reasons { padding: 90px 0 110px; background: #fff; }
.h-kicker-sm { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-style: italic; font-weight: 600; color: #9C8045; }
.h-kicker-sm::before { content: ""; width: 30px; height: 1px; background: #D6BE85; }
.h-serif-title { font-family: var(--font-display); font-weight: 700; color: var(--navy2); font-size: clamp(2rem, 3.6vw, 2.8rem); margin: .4rem 0 0; }
.h-serif-title::after { content: ""; display: block; width: 116px; height: 1px; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, #D6BE85 0 45%, transparent 45% 55%, #D6BE85 55% 100%); }
.reason-card { position: relative; display: flex; align-items: center; min-height: 250px; border-radius: 22px; overflow: hidden; height: 100%;
  box-shadow: 0 24px 50px -32px rgba(27,43,85,.55); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.reason-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -32px rgba(27,43,85,.6); }
.reason-card.dark { background: linear-gradient(100deg, #131C44 0%, #1B2A66 55%, #243B8C 100%); color: #fff; }
.reason-card.light { background: linear-gradient(100deg, #F2F6FB 0%, #EAF2FA 55%, #DCEAF8 100%); }
.rc-text { position: relative; z-index: 2; width: 58%; padding: 2rem 0 2rem 2rem; }
.rc-text span { font-size: .95rem; }
.rc-text h3 { font-family: var(--font-body); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.7rem); margin: .5rem 0 .8rem; }
.rc-text p { margin: 0; font-size: .95rem; line-height: 1.6; }
.reason-card.dark .rc-text h3, .reason-card.dark .rc-text p, .reason-card.dark .rc-text span { color: #fff; }
.reason-card.light .rc-text h3 { color: #10182E; } .reason-card.light .rc-text p, .reason-card.light .rc-text span { color: #1E2A44; }
.rc-img { position: absolute; right: 0; top: 0; height: 100%; width: 48%; object-fit: cover; object-position: right center;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 28%); mask: linear-gradient(90deg, transparent 0%, #000 28%);
  transition: transform .8s var(--ease); }
.reason-card:hover .rc-img { transform: scale(1.05); }
@media (max-width: 575.98px) { .rc-text { width: 100%; padding: 1.6rem 1.4rem 11rem; } .rc-img { top: auto; bottom: 0; width: 100%; height: 55%; -webkit-mask: linear-gradient(180deg, transparent, #000 40%); mask: linear-gradient(180deg, transparent, #000 40%); } }

/* ---------- STATS ---------- */
.h-stats { padding: 170px 0 190px; overflow: hidden; background: linear-gradient(180deg, #CFE8FA 0%, #DCEEFB 55%, #E9F5FD 100%); }
.stats-panel { position: relative; border-radius: 22px; padding: 2.6rem 1.5rem; max-width: 1140px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(240,248,255,.5)); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 60px -40px rgba(27,43,85,.45); }
.plane-trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.stats-row { position: relative; display: flex; align-items: center; justify-content: space-around; gap: 1rem; flex-wrap: wrap; }
.stat2 { text-align: center; min-width: 170px; flex: 1; padding: .6rem; }
.s-ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; display: inline-grid; place-items: center; font-size: 1.25rem; color: #1E5FBF;
  box-shadow: 0 10px 20px -12px rgba(27,43,85,.45); margin-bottom: .6rem; }
.stat2:nth-child(3) .s-ic { color: #2E8CF0; }
.s-num { font-family: var(--font-display); font-weight: 700; color: #1A3E8C; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; }
.s-lab { color: #5A6784; margin-top: .3rem; }
.st-spark { width: 16px; color: #E6C672; animation: twinkle 3s ease-in-out infinite; }
.st-spark svg { width: 100%; display: block; }
.st-monster { position: absolute; left: -1.5%; top: 16%; width: clamp(110px, 12vw, 190px); z-index: 4; animation: canShake 2.8s ease-in-out infinite; transform-origin: 50% 80%; }
.st-monster img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 22px 20px rgba(27,43,85,.3)); }
.st-cushion { position: absolute !important; left: -40%; width: 170%; bottom: -30%; z-index: 2; animation: cushion 6s ease-in-out infinite !important; }
.drop { position: absolute; z-index: 3; width: 12px; height: 26px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(180deg, #F6D86E, #D9A93A); box-shadow: inset -2px -3px 4px rgba(0,0,0,.12); animation: drop 2.8s ease-out infinite; }
.d1 { left: 44%; top: 2%; transform: rotate(-20deg); } .d2 { left: 58%; top: -4%; animation-delay: .25s; } .d3 { left: 70%; top: 6%; animation-delay: .5s; }
.st-takis { position: absolute; right: -2%; top: 52%; width: clamp(120px, 11vw, 170px); z-index: 4; filter: blur(1.2px); }
.st-takis img { width: 100%; height: auto; display: block; --r: -18deg; animation: prodFloat 5s ease-in-out infinite; filter: drop-shadow(0 16px 16px rgba(27,43,85,.3)); }
.st-leaf { position: absolute; z-index: 5; pointer-events: none; animation: leafSway 7s ease-in-out infinite; }
.lf-a { right: 0; top: 30px; width: clamp(90px, 9vw, 150px); transform-origin: 100% 0; }
.lf-b { left: 0; bottom: 60px; width: clamp(160px, 18vw, 280px); transform-origin: 0 100%; animation-delay: -2s; }
.lf-c { right: 0; bottom: 50px; width: clamp(130px, 13vw, 200px); transform-origin: 100% 100%; animation-delay: -4s; }
.st-plane { position: absolute; left: 0; top: 0; width: clamp(90px, 9vw, 130px); z-index: 6; offset-rotate: 0deg; offset-distance: 0%; transition: offset-distance .15s linear; pointer-events: none; }
.st-plane img { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 14px rgba(27,43,85,.25)); animation: planeWobble 3s ease-in-out infinite; }
@media (max-width: 991.98px) {
  .h-stats { padding: 150px 0 170px; }
  .st-spark { display: none; }
  .stat2 { flex: 0 0 45%; min-width: 0; }
  .st-monster { top: 6%; width: 90px; } .st-takis { top: auto; bottom: 90px; width: 90px; } .lf-b { width: 140px; }
}

/* ---------- Keyframes ---------- */
@keyframes goldSheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes sunBreathe { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes shineA { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
@keyframes shineB { 0%, 100% { opacity: .85; } 50% { opacity: .2; } }
@keyframes spinBack { to { transform: rotate(-360deg); } }
@keyframes flare { 0%, 100% { opacity: .2; transform: scale(.7); } 50% { opacity: .9; transform: scale(1.15); } }
@keyframes fcDrift { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(22px, -6px); } 50% { transform: translate(40px, 2px); } 75% { transform: translate(16px, 6px); } }
@keyframes hbFly {
  0%   { transform: translate(-22vw, 20vh); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate(22vw, -20vh); opacity: 0; }
}
@keyframes hbBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes storeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ribbonSway {
  0%, 100% { transform: skewX(0deg) scale(1, 1) translateY(0); }
  25%      { transform: skewX(-.8deg) scale(1.005, .995) translateY(-2px); }
  50%      { transform: skewX(.4deg) scale(.998, 1.01) translateY(1px); }
  75%      { transform: skewX(.9deg) scale(1.006, .995) translateY(-1px); }
}
@keyframes mistLeft { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-9%); } }
@keyframes mistRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(9%); } }
@keyframes mistBreathe { 0%, 100% { transform: translateY(0) scale(1); opacity: .8; } 50% { transform: translateY(-6%) scale(1.05); opacity: 1; } }
@keyframes bowlFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes cushion { 0%, 100% { transform: translateX(0) scale(1); } 50% { transform: translateX(3%) scale(1.04); } }
@keyframes garnish {
  0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); }
  50%      { transform: translate(6px, -16px) rotate(calc(var(--r, 0deg) * -1)); }
}
@keyframes steamRise { 0% { stroke-dashoffset: 240; opacity: 0; } 30% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes canShake {
  0%, 60%, 100% { transform: rotate(-14deg) translateY(0); }
  64% { transform: rotate(-8deg) translateY(-6px); }
  68% { transform: rotate(-19deg) translateY(-2px); }
  72% { transform: rotate(-9deg) translateY(-5px); }
  76% { transform: rotate(-17deg) translateY(0); }
  80% { transform: rotate(-12deg); }
  30% { transform: rotate(-12deg) translateY(-10px); }
}
@keyframes drop { 0%, 58% { opacity: 0; transform: translate(0, 20px) scale(.4); } 66% { opacity: 1; } 90% { opacity: 1; transform: translate(10px, -30px) scale(1) rotate(20deg); } 100% { opacity: 0; transform: translate(14px, -24px) scale(.8); } }
@keyframes leafSway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(4deg); } }
@keyframes planeWobble { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-6px) rotate(-3deg); } }

@media (prefers-reduced-motion: reduce) {
  .hbird { animation: none; }
}

/* ---------- Small screens ---------- */
.scallop { width: max(100%, 1100px); left: 50%; right: auto; translate: -50% 0; }
@media (max-width: 767.98px) {
  .h-hero { padding-top: 100px; padding-bottom: 50px; }
  .h-badge { display: none; }
  .h-stage { width: 96vw; margin-top: 30px; }
  .hp-monster { left: -1%; top: 0; width: 12%; } .hp-pepsi { left: 3%; width: 10%; } .hp-takis { left: 86%; width: 14%; top: 55%; }
  .sun2 { width: 220px; height: 220px; right: -40px; top: 60px; }
  .fcloud.c2, .fcloud.c5 { display: none; }
  .h-noodle { padding: 120px 0 130px; }
  .bowl-stage { max-width: 380px; }
  .h-cats { padding-bottom: 110px; }
}

/* ---------- v3: design clouds, Pepsi mist, GPU ribbon, lifelike birds ---------- */
.fcloud { filter: none; }

/* ribbon: the WebGL canvas takes the still image's place */
.st-ribbon-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.st-ribbon.is-replaced { visibility: hidden; }

/* soft mist rolling over the lower half of the Pepsi can, as in the design */
.hp-pepsi img { -webkit-mask: linear-gradient(180deg, #000 45%, rgba(0,0,0,.35) 78%, transparent 100%); mask: linear-gradient(180deg, #000 45%, rgba(0,0,0,.35) 78%, transparent 100%); }
.pepsi-mist { position: absolute; left: -9%; top: 86%; width: 24%; height: 34%; z-index: 8; pointer-events: none; }
.pepsi-mist span { position: absolute; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95) 0%, rgba(250,253,255,.75) 45%, rgba(245,250,255,0) 72%); }
.pm1 { left: 0; top: 10%; width: 70%; height: 70%; animation: mistPuffA 7s ease-in-out infinite; }
.pm2 { left: 30%; top: 0; width: 60%; height: 80%; animation: mistPuffB 8.5s ease-in-out infinite; }
.pm3 { left: 12%; top: 38%; width: 80%; height: 62%; animation: mistPuffA 9.5s ease-in-out infinite reverse; }
@keyframes mistPuffA { 0%, 100% { transform: translate(0, 0) scale(1); opacity: .9; } 50% { transform: translate(-12%, -6%) scale(1.12); opacity: 1; } }
@keyframes mistPuffB { 0%, 100% { transform: translate(0, 0) scale(1.05); opacity: .8; } 50% { transform: translate(10%, -4%) scale(.95); opacity: 1; } }

/* birds: JS drives the flight path; wings do a few strokes, then glide */
.hbird.js-fly { animation: none; will-change: transform, opacity; }
.hbird.js-fly .hbird-in { animation: none; }
.hbird .rig { animation-name: bodyGlide; animation-duration: var(--cyc, 2.6s); animation-timing-function: ease-in-out; }
.hbird .rig .wing.near { animation-name: strokeGlideNear; animation-duration: var(--cyc, 2.6s); animation-timing-function: ease-in-out; }
.hbird .rig .wing.far  { animation-name: strokeGlideFar;  animation-duration: var(--cyc, 2.6s); animation-timing-function: ease-in-out; }
@keyframes strokeGlideNear {
  0%   { transform: rotate(5deg) scaleY(1.08); }
  8%   { transform: rotate(-9deg) scaleY(.2); }
  17%  { transform: rotate(5deg) scaleY(1.08); }
  25%  { transform: rotate(-9deg) scaleY(.18); }
  34%  { transform: rotate(5deg) scaleY(1.06); }
  42%  { transform: rotate(-8deg) scaleY(.24); }
  52%  { transform: rotate(1deg) scaleY(.92); }
  76%  { transform: rotate(-1deg) scaleY(.86); }
  100% { transform: rotate(5deg) scaleY(1.08); }
}
@keyframes strokeGlideFar {
  0%   { transform: rotate(-3deg) scaleY(1.05); }
  8%   { transform: rotate(6deg) scaleY(.42); }
  17%  { transform: rotate(-3deg) scaleY(1.05); }
  25%  { transform: rotate(6deg) scaleY(.4); }
  34%  { transform: rotate(-3deg) scaleY(1.04); }
  42%  { transform: rotate(5deg) scaleY(.46); }
  52%  { transform: rotate(0deg) scaleY(.9); }
  76%  { transform: rotate(1deg) scaleY(.86); }
  100% { transform: rotate(-3deg) scaleY(1.05); }
}
@keyframes bodyGlide {           /* lifts on each downstroke, sinks slightly while gliding */
  0%   { transform: translateY(2px); }
  9%   { transform: translateY(-3px); }
  17%  { transform: translateY(1px); }
  26%  { transform: translateY(-4px); }
  34%  { transform: translateY(0); }
  43%  { transform: translateY(-5px); }
  75%  { transform: translateY(1px) rotate(1.5deg); }
  100% { transform: translateY(2px); }
}

/* ---------- v4: no grey haze ---------- */
/* Pepsi sits in mist: no drop shadow (it was shadowing the invisible haze) */
.hp-pepsi img { filter: none; }
/* soft background clouds + cushions use the design's own cloud (no shaded grey undersides) */
.home-v2 .cloud3d.soft, .home-v2 .bowl-cushion, .home-v2 .st-cushion {
  background-image: url(../img/home/cloud-design.webp) !important; aspect-ratio: 900 / 475;
}
.home-v2 .cloud3d.soft { opacity: .7; filter: blur(2px); }
.home-v2 .bowl-cushion { filter: blur(3px); opacity: .9; }
.bowl-img { filter: drop-shadow(0 26px 28px rgba(27,43,85,.12)); }
/* mist under the store: pure white, soft-edged */
.mist { background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,.98) 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 70%) !important; filter: blur(6px); aspect-ratio: 2.6; }
.m-l { width: 44%; } .m-r { width: 44%; } .m-c { width: 52%; left: 24%; bottom: -14%; }

/* ==========================================================
   Noodle bar v2 — built on the design's own sky; bowl, garnish
   and text sit at the design's positions (1400 x 728 artboard)
   ========================================================== */
.h-noodle2 { position: relative; overflow: hidden; aspect-ratio: 1400 / 728;
  background: #D6ECFB url(../img/home/noodle-bg.jpg) center / 100% 100% no-repeat; }
/* slow drifting mist over the sky so the background never sits still */
.nb-sky { position: absolute; inset: 9% 0 9% 0; pointer-events: none; z-index: 1; }
.nb-wisp { position: absolute; border-radius: 50%; filter: blur(18px);
  background: radial-gradient(ellipse at center, rgba(255,255,255,.75), rgba(255,255,255,.35) 45%, rgba(255,255,255,0) 70%); }
.w1 { left: -10%; top: 8%;  width: 38%; height: 34%; animation: wispA 38s ease-in-out infinite; }
.w2 { left: 48%;  top: 30%; width: 44%; height: 40%; animation: wispB 46s ease-in-out infinite; opacity: .8; }
.w3 { left: 10%;  top: 58%; width: 46%; height: 36%; animation: wispA 52s ease-in-out infinite reverse; opacity: .9; }
@keyframes wispA { 0%, 100% { transform: translateX(0) scale(1); } 50% { transform: translateX(18%) scale(1.08); } }
@keyframes wispB { 0%, 100% { transform: translateX(0) scale(1.05); } 50% { transform: translateX(-16%) scale(.95); } }

/* bowl: exact design placement; floats on two out-of-step motions so it never looks looped */
.nb-bowl { position: absolute; left: 14.5%; top: 28.9%; width: 34%; z-index: 3; }
.nb-bob { animation: nbBob 6.8s cubic-bezier(.45,.05,.55,.95) infinite; will-change: transform; }
.nb-sway { transform-origin: 46% 78%; animation: nbSway 9.4s cubic-bezier(.45,.05,.55,.95) infinite; }
.nb-sway img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(40,70,110,.14)); }
/* soft shadow on the cloud: tightens and darkens as the bowl sinks, fades as it lifts */
.nb-shadow { position: absolute; left: 14%; right: 26%; bottom: -4%; height: 12%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(70,110,160,.28), rgba(70,110,160,0) 70%); filter: blur(6px);
  animation: nbShadow 6.8s cubic-bezier(.45,.05,.55,.95) infinite; }
/* a wisp of cloud drifting in front of the bowl's base */
.nb-front-mist { position: absolute; left: -8%; bottom: -12%; width: 70%; height: 30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.9), rgba(255,255,255,.45) 45%, rgba(255,255,255,0) 72%); filter: blur(10px);
  animation: frontMist 11s ease-in-out infinite; }
@keyframes nbBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3.2%); } }
@keyframes nbSway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.6deg); } }
@keyframes nbShadow { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.82); opacity: .55; } }
@keyframes frontMist { 0%, 100% { transform: translateX(0); opacity: .85; } 50% { transform: translateX(10%); opacity: 1; } }

/* garnish pieces tumble slowly around the bowl (design positions) */
.nb-g { position: absolute; z-index: 4; height: auto; filter: drop-shadow(0 6px 6px rgba(40,70,110,.18)); animation: nbFlake 5.6s ease-in-out infinite; }
.nb-g.g1 { left: 22%;    top: 37.7%; width: 2.35%; --r: -24deg; }
.nb-g.g2 { left: 38.45%; top: 50.9%; width: 2.1%;  --r: 18deg; animation-duration: 6.4s; animation-delay: -2s; }
.nb-g.g3 { left: 42.15%; top: 55.4%; width: 2.15%; --r: -30deg; animation-duration: 4.9s; animation-delay: -3.2s; }
.nb-g.g4 { left: 25%;    top: 33.6%; width: .7%;   --r: 40deg; animation-duration: 4.2s; animation-delay: -1s; }
@keyframes nbFlake {
  0%, 100% { transform: translate(0, 0) rotate(var(--r)); }
  33%      { transform: translate(8%, -38%) rotate(calc(var(--r) + 14deg)); }
  66%      { transform: translate(-6%, -16%) rotate(calc(var(--r) - 10deg)); }
}

/* text: design column (starts at 56.8% across) */
.nb-text { position: absolute; left: 56.7%; top: 27.5%; width: 38%; z-index: 5; }
.nb-text .h-body { font-size: clamp(.85rem, 1.05vw, 1.02rem); }
.nb-text .h-sans-title { font-size: clamp(1.6rem, 2.75vw, 2.6rem); white-space: nowrap; }
.nb-text .h-checks { gap: clamp(.6rem, 1.2vw, 1.1rem); }
.nb-text .h-checks strong, .nb-text .h-checks span { font-size: clamp(.82rem, 1vw, 1rem); }

/* narrower screens: stack bowl above text, keep the design sky */
@media (max-width: 991.98px) {
  .h-noodle2 { aspect-ratio: auto; background-size: cover; background-position: 30% center; padding: 110px 0 120px; }
  .nb-bowl { position: relative; left: auto; top: auto; width: min(460px, 82vw); margin: 0 auto; }
  .nb-g { display: none; }
  .nb-text { position: relative; left: auto; top: auto; width: auto; margin: 40px 20px 0; }
  .nb-text .h-sans-title { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .nb-bob, .nb-sway, .nb-shadow, .nb-g, .nb-wisp, .nb-front-mist { animation: none; } }
/* noodle v2 fine-tuning to the design */
.nb-front-mist { left: -12%; bottom: -16%; width: 52%; height: 22%; opacity: .55; }
@keyframes frontMist { 0%, 100% { transform: translateX(0); opacity: .45; } 50% { transform: translateX(12%); opacity: .65; } }
@media (min-width: 992px) {
  .nb-text { width: 40%; }
  .nb-text .h-sans-title { font-size: clamp(1.5rem, 2.45vw, 2.35rem); }
  .nb-text .h-body { font-size: clamp(.8rem, 1vw, .98rem); max-width: none; }
  .nb-text .h-checks strong, .nb-text .h-checks span { font-size: clamp(.8rem, .98vw, .98rem); }
}
/* noodle v3: clean edges, no shadows or haze */
.nb-bowl { left: 14.39%; top: 28.9%; width: 33.76%; }
.nb-sway img { filter: none; }
@keyframes nbBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.2%); } }
@keyframes nbSway { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1.1deg); } }

/* ==========================================================
   Stats v2 — the design's own sky, leaves, glass panel and
   cloud bands; moving pieces at the design's positions
   (2400 x 936 artboard)
   ========================================================== */
.h-stats2 { position: relative; overflow: hidden; aspect-ratio: 2400 / 936;
  background: #DDEEFB url(../img/home/stats-bg.jpg) center / 100% 100% no-repeat; }
.s2-sky { inset: 12% 0 14% 0; }

/* numbers, icons, dividers — design layout */
.s2-stats { position: absolute; inset: 0; z-index: 3; }
.s2-item { position: absolute; top: 31.5%; width: 17%; transform: translateX(-50%); text-align: center; }
.s2-ic { display: inline-grid; place-items: center; width: 3.3vw; max-width: 50px; min-width: 38px; aspect-ratio: 1; border-radius: 12px; background: #fff;
  color: #1E5FBF; font-size: clamp(1rem, 1.45vw, 1.35rem); box-shadow: 0 10px 20px -12px rgba(27,43,85,.4); }
.s2-item:nth-child(2) .s2-ic { color: #2E7FF0; } .s2-item:nth-child(3) .s2-ic { color: #2E7FF0; }
.s2-num { font-family: var(--font-display); font-weight: 700; color: #183C8C; font-size: clamp(1.8rem, 3.75vw, 3.6rem); line-height: 1.1; margin-top: .9vw; letter-spacing: -.01em; }
.s2-lab { color: #5B6782; font-size: clamp(.8rem, 1.2vw, 1.15rem); margin-top: .35vw; }
.s2-div { position: absolute; top: 36%; height: 22%; width: 1px; background: linear-gradient(180deg, transparent, rgba(160,180,205,.55), transparent); }
.s2-spark { position: absolute; top: 46%; width: 1.05vw; min-width: 12px; transform: translateX(-50%); color: #E6C672; animation: twinkle 3.2s ease-in-out infinite; }
.s2-spark:nth-of-type(2n) { animation-delay: -1.1s; }
.s2-spark svg { width: 100%; display: block; }

/* Monster: floats and gives a little shake now and then */
.s2-monster { position: absolute; z-index: 4; transform-origin: 40% 85%; animation: monsterFloat 5.2s ease-in-out infinite; }
.s2-monster img { width: 100%; height: auto; display: block; animation: monsterShake 5.2s ease-in-out infinite; transform-origin: 40% 85%; }
@keyframes monsterFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3.5%); } }
@keyframes monsterShake {
  0%, 62%, 100% { transform: rotate(0deg); }
  66% { transform: rotate(-2.4deg); } 70% { transform: rotate(2deg); } 74% { transform: rotate(-1.6deg); }
  78% { transform: rotate(1.2deg); } 82% { transform: rotate(-.6deg); } 86% { transform: rotate(0deg); }
}
/* splash drops pop up off the can, in time with the shake */
.s2-drops { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.s2-drop { position: absolute; height: auto; animation: dropPop 5.2s ease-out infinite; }
.s2-drop.dr2 { animation-delay: .08s; } .s2-drop.dr3 { animation-delay: .16s; } .s2-drop.dr4 { animation-delay: .04s; }
@keyframes dropPop {
  0%, 60%   { transform: translate(0, 40%) scale(.85); opacity: .85; }
  72%       { transform: translate(8%, -55%) scale(1.05) rotate(8deg); opacity: 1; }
  88%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

/* Takis: gentle float and tilt, soft like the design */
.s2-takis { position: absolute; z-index: 4; transform-origin: 60% 60%; animation: takisFloat 6.4s ease-in-out infinite; }
.s2-takis img { width: 100%; height: auto; display: block; }
@keyframes takisFloat { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 35% { transform: translate(-2%, -5%) rotate(-3deg); } 70% { transform: translate(1%, -2%) rotate(2deg); } }

/* front leaf sits over the Takis, swaying */
.s2-leaf { position: absolute; z-index: 6; height: auto; transform-origin: 100% 100%; animation: leafSway 7s ease-in-out infinite; pointer-events: none; }

/* plane: flies up the design's dotted trail as the section scrolls into view */
.s2-plane { position: absolute; left: 0; top: 0; width: 8.08%; z-index: 5; offset-rotate: 0deg; offset-distance: 0%; pointer-events: none; transition: offset-distance .15s linear; }
.s2-plane img { width: 100%; height: auto; display: block; animation: planeWobble 3s ease-in-out infinite; }

/* narrower screens: taller section, 2 x 2 stats grid */
@media (max-width: 991.98px) {
  .h-stats2 { aspect-ratio: auto; background-size: cover; background-position: center; padding: 120px 16px 130px; }
  .s2-stats { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem .5rem;
    background: rgba(255,255,255,.55); border-radius: 20px; padding: 1.6rem .6rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .s2-item { position: static; transform: none; width: auto; }
  .s2-ic { width: 40px; }
  .s2-num { margin-top: .5rem; } .s2-lab { margin-top: .2rem; }
  .s2-div, .s2-spark, .s2-drops, .s2-leaf { display: none; }
  .s2-monster { width: 70px !important; top: 60px !important; left: -6px !important; }
  .s2-takis { width: 80px !important; top: auto !important; bottom: 70px; left: auto !important; right: -6px; }
  .s2-plane { display: none; }
}
@media (prefers-reduced-motion: reduce) { .s2-monster, .s2-monster img, .s2-drop, .s2-takis, .s2-leaf { animation: none; } }
@media (min-width: 992px) {
  .s2-ic { font-size: 1.75vw; border-radius: 14px; }
  .s2-lab { margin-top: .1vw; font-size: 1.14vw; }
  .s2-spark { width: 1.35vw; }
}

/* stats v3: even splash strokes, cloud in front of the can, centred stars */
.s2-monster { overflow: visible; }
.s2-pop { position: absolute; left: 52%; top: -30%; width: 62%; height: auto; overflow: visible; pointer-events: none; }
.s2-pop .pl { stroke: url(#popGold); stroke-width: 9; stroke-linecap: round; fill: none; filter: drop-shadow(0 2px 2px rgba(150,110,20,.25)); }
.s2-pop g { animation: popBurst 5.2s ease-out infinite; }
@keyframes popBurst {                      /* flicks outward in time with the can's shake */
  0%, 60%  { transform: scale(1); opacity: 1; }
  66%      { transform: scale(1.18); opacity: 1; }
  72%      { transform: scale(.92); }
  80%, 100% { transform: scale(1); opacity: 1; }
}
.s2-cloudfront { position: absolute; z-index: 5; height: auto; pointer-events: none; }

/* stars: same size, centred on each divider at the numbers' height, shimmering together */
.s2-spark { top: 47%; width: 1.3vw; min-width: 12px; transform: translate(-50%, -50%); animation: none; }
.s2-spark svg { animation: starShimmer 3.6s ease-in-out infinite; transform-origin: 50% 50%; }
@keyframes starShimmer { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
.s2-div { transform: translateX(-50%); }
@media (max-width: 991.98px) { .s2-cloudfront { display: none; } }

/* stats v4: clean product cut-outs matched to the design, glossy drops, twinkling stars on the bars */
.s2-monster img { transform: rotate(9deg); transform-origin: 40% 85%; filter: drop-shadow(0 16px 18px rgba(27,43,85,.28)); animation: monsterShake4 5.2s ease-in-out infinite; }
@keyframes monsterShake4 {
  0%, 62%, 100% { transform: rotate(9deg); }
  66% { transform: rotate(6.6deg); } 70% { transform: rotate(11deg); } 74% { transform: rotate(7.4deg); }
  78% { transform: rotate(10.2deg); } 82% { transform: rotate(8.4deg); } 86% { transform: rotate(9deg); }
}
.s2-pop { left: 44%; top: -17%; width: 64%; }
.s2-pop .dp { filter: drop-shadow(0 2px 2px rgba(140,100,20,.28)); }
.s2-pop .dp-all { animation: popBurst 5.2s ease-out infinite; }
.s2-pop g:not(.dp-all) { animation: none; }
.s2-takis img { transform: rotate(-24deg); filter: blur(1.1px) drop-shadow(0 14px 14px rgba(27,43,85,.25)); }
/* stars: centred on the bars, original twinkle kept */
.s2-spark svg { animation: twinkle 3s ease-in-out infinite; }
.s2-spark:nth-of-type(2n) svg { animation-delay: -1.1s; }
/* v4 alignment to the design */
.s2-monster img { transform: rotate(22deg); }
@keyframes monsterShake4 {
  0%, 62%, 100% { transform: rotate(22deg); }
  66% { transform: rotate(19.6deg); } 70% { transform: rotate(24deg); } 74% { transform: rotate(20.4deg); }
  78% { transform: rotate(23.2deg); } 82% { transform: rotate(21.4deg); } 86% { transform: rotate(22deg); }
}
.s2-pop { left: 58%; top: -13%; width: 60%; }
.s2-takis img { transform: rotate(-22deg); filter: blur(1.6px) drop-shadow(0 14px 14px rgba(27,43,85,.22)); }
.s2-monster img { transform-origin: 45% 100%; }
.s2-pop { left: 56%; top: -18%; width: 54%; }
.s2-pop { left: 63%; top: -15%; width: 54%; }
/* v5: can matched to the design by overlay */
.s2-monster img { transform: rotate(25deg); animation: monsterShake5 5.2s ease-in-out infinite; }
@keyframes monsterShake5 {
  0%, 62%, 100% { transform: rotate(25deg); }
  66% { transform: rotate(22.6deg); } 70% { transform: rotate(27deg); } 74% { transform: rotate(23.4deg); }
  78% { transform: rotate(26.2deg); } 82% { transform: rotate(24.4deg); } 86% { transform: rotate(25deg); }
}
.s2-pop { left: 102%; top: -21%; width: 76%; }
.s2-takis img { transform: rotate(-17deg); }

/* v6: no shadow on the can; cloud over the Takis like the design; background clouds drift across */
.s2-monster img { filter: none; }
.s2-takis img { filter: blur(1.6px); }
.s2-tkcloud { position: absolute; z-index: 5; height: auto; pointer-events: none; }
.s2-drift { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 7%, #000 15%, #000 84%, transparent 90%);
          mask-image: linear-gradient(90deg, transparent 7%, #000 15%, #000 84%, transparent 90%); }
.s2-lane { position: absolute; left: 0; right: 0; overflow: hidden; }
.s2-lane.top { top: 12%; height: 22%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 55%, transparent 100%); }
.s2-lane.bot { top: 63%; height: 23%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 40%, #000 70%, transparent 100%); }
.s2-track { position: absolute; left: 0; width: 100%; animation: s2Drift 70s linear infinite; will-change: transform; transform: translate3d(-25%,0,0); }
.s2-cl { display: block; background: center / 100% 100% no-repeat; }
.t1 .s2-cl { background-image: url(../img/home/st-cloud-a.webp); aspect-ratio: 1000 / 400; width: 20%; opacity: .75; }
.t2 .s2-cl { background-image: url(../img/home/st-puff-a.webp);  aspect-ratio: 420 / 240;  width: 9%;  opacity: .8; }
.t3 .s2-cl { background-image: url(../img/home/st-cloud-b.webp); aspect-ratio: 900 / 380; width: 21%; opacity: .8; }
.t4 .s2-cl { background-image: url(../img/home/st-puff-b.webp);  aspect-ratio: 520 / 260; width: 10%; opacity: .8; }
.s2-track.t1 { top: -8%;  animation-duration: 80s; animation-delay: -20s; }
.s2-track.t2 { top: 18%;  animation-duration: 60s; animation-delay: -44s; }
.s2-track.t3 { top: 0%;   animation-duration: 90s; animation-delay: -35s; }
.s2-track.t4 { top: 30%;  animation-duration: 66s; animation-delay: -8s; }
@keyframes s2Drift { from { transform: translate3d(-25%,0,0); } to { transform: translate3d(105%,0,0); } }
.s2-sky .nb-wisp { background: radial-gradient(ellipse at center, rgba(255,255,255,.85), rgba(255,255,255,.4) 45%, rgba(255,255,255,0) 70%); }
.s2-sky .w1 { animation-duration: 26s; } .s2-sky .w2 { animation-duration: 32s; } .s2-sky .w3 { animation-duration: 36s; }
@media (max-width: 991.98px) { .s2-tkcloud { display: none; } }
@media (prefers-reduced-motion: reduce) { .s2-track { animation: none; } }

/* v7: the design's own Takis, bobbing gently under a still cloud */
.s2-takis { transform-origin: 100% 50%; animation: takisBob 6.4s ease-in-out infinite; }
.s2-takis img { transform: none; filter: none; }
@keyframes takisBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4%) rotate(-1.2deg); } }

/* noodle bowl rests in the cloud: the cloud's own puffs lap over the bowl's base, a soft shadow
   sits where it presses in, and the bowl rocks gently instead of hovering */
.nb-cloudfront { position: absolute; left: 6%; top: 54%; width: 52%; height: auto; z-index: 4; pointer-events: none;
  animation: nbCloudBreathe 7.5s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes nbCloudBreathe { 0%, 100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(.25%, -.5%, 0) scale(1.012); } }
.nb-rest-shadow { position: absolute; z-index: 2; left: 17%; top: 66.5%; width: 25%; height: 11%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(96,124,160,.42), rgba(96,124,160,.18) 45%, rgba(96,124,160,0) 72%); filter: blur(8px);
  animation: nbRestShadow 7.5s ease-in-out infinite; }
@keyframes nbRestShadow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .75; transform: scale(.95); } }
@media (min-width: 992px) {
  .nb-bowl { top: 30.2%; }
  .nb-bob { animation: nbRest 7.5s ease-in-out infinite; }
  .nb-sway { transform-origin: 44% 92%; animation: nbRock 9.5s ease-in-out infinite; }
}
@keyframes nbRest { 0%, 100% { transform: translate3d(0, .6%, 0); } 50% { transform: translate3d(0, -.9%, 0); } }
@keyframes nbRock { 0%, 100% { transform: rotate(-.9deg); } 50% { transform: rotate(1deg); } }
@media (max-width: 991.98px) { .nb-cloudfront, .nb-rest-shadow { display: none; } }
@media (prefers-reduced-motion: reduce) { .nb-cloudfront, .nb-rest-shadow { animation: none; } }
/* bowl sits in the same light as the sky: a touch softer and cooler, with a faint bright haze around its edge */
.nb-sway img { filter: saturate(.95) brightness(1.02) contrast(.98) drop-shadow(0 0 10px rgba(255,255,255,.35)); }

/* steam: soft wisps curl up from the hot noodles, drift sideways, thin out and fade */
.nb-sway { position: relative; }
.nb-steam { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.nb-wisp-s { position: absolute; bottom: 56%; width: 7%; height: 40%; overflow: visible; opacity: 0;
  filter: blur(7px); transform-origin: 50% 100%; animation: nbSteam 5.2s ease-in-out infinite; will-change: transform, opacity; }
.nb-wisp-s.s1 { left: 22%; animation-delay: 0s; }
.nb-wisp-s.s2 { left: 33%; height: 46%; animation-delay: -1.4s; animation-duration: 6s; }
.nb-wisp-s.s3 { left: 43%; height: 38%; animation-delay: -2.7s; animation-duration: 5.6s; }
.nb-wisp-s.s4 { left: 28%; width: 5.5%; height: 34%; animation-delay: -3.6s; animation-duration: 4.8s; }
.nb-wisp-s.s5 { left: 38%; width: 6%; height: 42%; animation-delay: -4.4s; animation-duration: 6.4s; }
@keyframes nbSteam {
  0%   { opacity: 0;   transform: translate3d(0, 18%, 0) scale(.7, .55) skewX(0deg); }
  18%  { opacity: .85; }
  45%  { opacity: .7;  transform: translate3d(6%, -18%, 0) scale(1, .95) skewX(-6deg); }
  75%  { opacity: .35; transform: translate3d(-8%, -48%, 0) scale(1.35, 1.2) skewX(7deg); }
  100% { opacity: 0;   transform: translate3d(10%, -78%, 0) scale(1.7, 1.35) skewX(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .nb-wisp-s { animation: none; opacity: .45; } }
/* steam, made readable against the bright sky: denser white core with a faint cool edge */
.nb-wisp-s { bottom: 50%; width: 9.5%; height: 46%; filter: blur(5px) drop-shadow(0 0 6px rgba(120,155,200,.55)); }
.nb-wisp-s path { stroke-width: 22; }
.nb-wisp-s.s2 { height: 54%; } .nb-wisp-s.s3 { height: 44%; } .nb-wisp-s.s4 { width: 7.5%; height: 40%; } .nb-wisp-s.s5 { width: 8.5%; height: 50%; }
@keyframes nbSteam {
  0%   { opacity: 0;   transform: translate3d(0, 16%, 0) scale(.7, .5) skewX(0deg); }
  16%  { opacity: 1; }
  45%  { opacity: .9;  transform: translate3d(7%, -16%, 0) scale(1, .95) skewX(-7deg); }
  75%  { opacity: .5;  transform: translate3d(-9%, -44%, 0) scale(1.35, 1.2) skewX(8deg); }
  100% { opacity: 0;   transform: translate3d(12%, -72%, 0) scale(1.75, 1.35) skewX(-5deg); }
}
/* realistic steam canvas (replaces the drawn wisps) */
canvas.nb-steam { position: absolute; left: 6%; top: -48%; width: 70%; height: 122%; inset: auto; pointer-events: none; z-index: 2; filter: blur(1.5px); }
canvas.nb-steam { left: 6%; top: -48%; }

/* phone: tighten the empty space between the categories and the noodle bar clouds */
@media (max-width: 575.98px) { .h-cats { padding-bottom: 40px; } }

/* ---------- phones & tablets: keep the design's pieces — badges, a big bowl, its garnish and the cloud it rests in ---------- */
@media (max-width: 991.98px) {
  /* hero badges, small, around the storefront as on the wide layout */
  .h-badge { display: block; border-radius: 10px; padding: .32rem .7rem .36rem; line-height: 1.3; }
  .h-badge b { font-size: .74rem; } .h-badge span { font-size: .64rem; }
  .hb-1 { left: 3%; top: 43%; } .hb-2 { left: 66%; top: 4%; } .hb-3 { left: 60%; top: 86%; }

  /* noodle bar: the bowl at a proper size, garnish tumbling round it, resting in its cloud */
  .h-noodle2 { --B: min(460px, 88vw); --T: 110px; }
  .nb-bowl { position: relative; left: auto; top: auto; width: var(--B); margin: 0 auto; }
  .nb-g { display: block; }
  .nb-g.g1 { left: calc(50% - var(--B) / 2 + .225 * var(--B)); top: calc(var(--T) + .135 * var(--B)); width: calc(.0696 * var(--B)); }
  .nb-g.g2 { left: calc(50% - var(--B) / 2 + .713 * var(--B)); top: calc(var(--T) + .34 * var(--B));  width: calc(.0622 * var(--B)); }
  .nb-g.g3 { left: calc(50% - var(--B) / 2 + .822 * var(--B)); top: calc(var(--T) + .41 * var(--B));  width: calc(.0637 * var(--B)); }
  .nb-g.g4 { left: calc(50% - var(--B) / 2 + .314 * var(--B)); top: calc(var(--T) + .074 * var(--B)); width: calc(.0207 * var(--B)); }
  .nb-cloudfront { display: block; left: calc(50% - var(--B) / 2 - .249 * var(--B)); top: calc(var(--T) + .388 * var(--B)); width: calc(1.54 * var(--B)); }
  .nb-text { margin-top: 28px; }
}
/* stats on phones: the monster rests in its cloud, the Takis in its own, leaves frame the panel and the plane flies over, as in the design */
@media (max-width: 991.98px) {
  .h-stats2 .s2-cloudfront { display: block; left: -34px !important; top: 104px !important; width: 140px !important; }
  .h-stats2 .s2-tkcloud { left: auto !important; right: -12px; top: auto !important; bottom: 46px; width: 64px !important; }
  .h-stats2 .s2-leaf { display: block; left: auto !important; right: -26px; top: auto !important; bottom: 6px; width: 132px !important; }
  .h-stats2::before { content: ""; position: absolute; z-index: 6; left: -48px; bottom: 24px; width: 118px; aspect-ratio: 1; pointer-events: none;
    background: url(../img/home/st2-leaf.webp) center / contain no-repeat; transform: scaleX(-1) rotate(-30deg); filter: blur(2px); opacity: .9; animation: leafSwayL 8s ease-in-out infinite; }
  @keyframes leafSwayL { 0%, 100% { transform: scaleX(-1) rotate(-30deg); } 50% { transform: scaleX(-1) rotate(-24deg); } }
  .h-stats2 .s2-plane { display: block; offset-path: none !important; left: auto; right: 14px; top: 54px; width: 64px; transform: rotate(-8deg); }
}
