/* ============================================================
   WeHide POS — Luxury Cloche Reveal (signature hero)
   Cream + Orange · No chef · Michelin-style dome
   ============================================================ */

:root {
  --orange: #FF7A00;
  --orange-mid: #FFA726;
  --gold: #FFC857;
  --white: #FFFFFF;
  --cream: #FFF8F2;
  --text: #2D2D2D;
  --muted: #6B7280;
  --green: #22C55E;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 122, 0, 0.14);
  --shadow: 0 20px 50px rgba(255, 122, 0, 0.12);
  --shadow-soft: 0 10px 28px rgba(45, 45, 45, 0.07);
  --font: "Poppins", system-ui, sans-serif;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---------- Ambient ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(255, 167, 38, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 15% 70%, rgba(255, 122, 0, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 30% at 90% 60%, rgba(255, 200, 87, 0.14), transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF8F2 50%, #FFF3E8 100%);
}

.aurora {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.5; animation: drift 24s ease-in-out infinite; will-change: transform;
}
.a1 { width: 48vmax; height: 40vmax; left: -10%; top: -15%; background: radial-gradient(circle, rgba(255,122,0,.35), transparent 70%); }
.a2 { width: 38vmax; height: 34vmax; right: -8%; top: 20%; background: radial-gradient(circle, rgba(255,200,87,.38), transparent 70%); animation-delay: -8s; animation-duration: 28s; }
.a3 { width: 42vmax; height: 36vmax; left: 35%; bottom: -18%; background: radial-gradient(circle, rgba(255,167,38,.25), transparent 70%); animation-delay: -14s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, 3%) scale(1.06); }
}

.spotlight-global {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 55%;
  background: radial-gradient(ellipse at top, rgba(255,200,87,.2), transparent 70%);
  pointer-events: none;
}

.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(255, 210, 170, 0.15) 100%);
}

.dust {
  position: fixed; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none;
}

.bg-icons {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.bg-ico {
  position: absolute;
  color: #E8944A;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  animation: floatFood ease-in-out infinite;
  will-change: transform;
  filter: blur(0.2px);
}
.bg-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes floatFood {
  0%, 100% {
    transform: translate(-50%, -50%) translate(0, 0) rotate(var(--rot, 0deg));
  }
  50% {
    transform:
      translate(-50%, -50%)
      translate(var(--drift-x, 8px), var(--drift-y, -16px))
      rotate(calc(var(--rot, 0deg) + var(--spin, 6deg)));
  }
}

/* ---------- Page ---------- */
.page {
  position: relative; z-index: 10;
  width: min(1180px, 94vw);
  height: 100%;
  height: 100dvh;
  margin: 0 auto;
  padding: clamp(0.5rem, 1.8vh, 1.25rem) 0 clamp(0.4rem, 1.4vh, 1rem);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: clamp(0.35rem, 1vh, 0.75rem);
  overflow: hidden;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.9);
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  max-width: 580px;
  flex-shrink: 0;
  transition: transform 0.15s ease-out;
}

.logo-wrap {
  position: relative; display: inline-flex; margin-bottom: clamp(0.35rem, 1vh, 0.75rem);
  animation: logoFloat 5s ease-in-out infinite; cursor: pointer;
}
.logo-glow {
  position: absolute; inset: -20% -10%;
  background: radial-gradient(ellipse, rgba(255,122,0,.4), rgba(255,200,87,.2), transparent 70%);
  filter: blur(22px); animation: glowPulse 3s ease-in-out infinite; pointer-events: none;
}
.logo-wrap.boost .logo-glow { filter: blur(30px) brightness(1.3); }
.logo {
  position: relative; width: clamp(110px, 18vw, 160px); height: auto;
  filter: drop-shadow(0 8px 22px rgba(255,122,0,.28));
  transition: filter 0.3s, transform 0.3s;
}
.logo-wrap:hover .logo {
  filter: drop-shadow(0 12px 30px rgba(255,122,0,.48));
  transform: scale(1.03);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.headline {
  font-size: clamp(1.35rem, 3.8vw, 2.1rem);
  font-weight: 700; letter-spacing: -0.03em; color: var(--text);
  margin-bottom: 0.65rem;
}

.status-line {
  font-size: clamp(1rem, 2.6vw, 1.4rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--orange);
  margin-bottom: clamp(0.25rem, 0.8vh, 0.5rem);
}

.subhead {
  font-size: clamp(0.78rem, 1.5vw, 0.92rem);
  color: var(--muted); line-height: 1.5;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.subhead.is-swap {
  opacity: 0; transform: translateY(6px);
}

/* ---------- Hero — open on cream, no white box ---------- */
.hero-stage {
  position: relative;
  width: min(720px, 100%);
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(58vh, 520px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  overflow: visible;
  transition: transform 0.15s ease-out;
}
.hero-stage:hover { box-shadow: none; }

.hero-fx {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}

.soft-spotlight {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 460px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(255,200,87,.35), transparent 65%);
  animation: spotBreath 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes spotBreath {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* Success banner — floating text only */
.success-banner {
  display: none;
}

/* Energy ring */
.energy-ring {
  position: absolute; left: 50%; bottom: 28%;
  width: 40px; height: 40px; margin-left: -20px;
  border-radius: 50%;
  border: 2px solid rgba(255,122,0,.6);
  box-shadow: 0 0 20px rgba(255,200,87,.5);
  opacity: 0; pointer-events: none; z-index: 5;
}
.energy-ring.fire {
  animation: ringExpand 1.2s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes ringExpand {
  0% { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(8); opacity: 0; }
}

/* Light rays */
.light-rays {
  position: absolute; left: 50%; bottom: 28%;
  width: 2px; height: 2px; opacity: 0; z-index: 4;
}
.light-rays.on { opacity: 1; }
.light-rays span {
  position: absolute; left: 0; top: 0;
  width: 3px; height: 160px;
  background: linear-gradient(to top, rgba(255,200,87,.55), transparent);
  transform-origin: bottom center;
  opacity: 0;
}
.light-rays.on span { animation: rayFan 1.8s ease-out forwards; }
.light-rays span:nth-child(1) { transform: rotate(-40deg); animation-delay: 0s; }
.light-rays span:nth-child(2) { transform: rotate(-20deg); animation-delay: .05s; }
.light-rays span:nth-child(3) { transform: rotate(0deg); animation-delay: .1s; }
.light-rays span:nth-child(4) { transform: rotate(20deg); animation-delay: .05s; }
.light-rays span:nth-child(5) { transform: rotate(40deg); animation-delay: 0s; }

@keyframes rayFan {
  0% { opacity: 0; height: 40px; }
  40% { opacity: 0.8; }
  100% { opacity: 0; height: 200px; }
}

/* Sparkles / confetti */
.sparkle-layer, .confetti-layer, .fly-ings {
  position: absolute; inset: 0; z-index: 15; pointer-events: none;
}

.spark {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--orange);
  animation: sparkOut 0.9s ease-out forwards;
}
.spark.star {
  width: 9px; height: 9px; background: transparent; box-shadow: none;
}
.spark.star::before, .spark.star::after {
  content: ""; position: absolute; background: var(--orange);
  box-shadow: 0 0 6px var(--gold);
}
.spark.star::before { width: 2px; height: 100%; left: 50%; transform: translateX(-50%); }
.spark.star::after { height: 2px; width: 100%; top: 50%; transform: translateY(-50%); }

@keyframes sparkOut {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--sx), var(--sy)) scale(0); opacity: 0; }
}

.confetti {
  position: absolute; width: 6px; height: 8px; border-radius: 1px;
  animation: confettiFall 1.6s ease-out forwards;
  opacity: 0.9;
}
@keyframes confettiFall {
  0% { transform: translate(0,0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--cx), var(--cy)) rotate(var(--cr)); opacity: 0; }
}

/* Flying ingredients */
.fly-ing {
  position: absolute; width: 36px; height: 36px;
  left: 50%; top: 50%; margin: -18px 0 0 -18px;
  z-index: 18;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.12));
  animation: flyCurve 0.95s cubic-bezier(.22,.7,.2,1) forwards;
  --from-x: 0px; --from-y: 0px; --mid-x: 0px; --mid-y: 0px;
}
.fly-ing svg { width: 100%; height: 100%; display: block; }

@keyframes flyCurve {
  0% {
    transform: translate(var(--from-x), var(--from-y)) scale(0.4) rotate(-20deg);
    opacity: 0;
  }
  15% { opacity: 1; }
  55% {
    transform: translate(var(--mid-x), var(--mid-y)) scale(1.05) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: translate(0px, 20px) scale(0.35) rotate(25deg);
    opacity: 0;
  }
}

/* ---------- Cloche world ---------- */
.cloche-world {
  position: relative; z-index: 10;
  width: min(420px, 70vw, 52vh);
  height: min(420px, 70vw, 52vh);
  display: flex; align-items: flex-end; justify-content: center;
}

.cloche-world.is-revealed .plate {
  width: 88%;
}

/* Plate */
.plate {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  width: 72%; height: 12%; z-index: 3;
  transition: width 0.5s ease;
}
.plate-glow {
  position: absolute; left: 5%; right: 5%; bottom: -6px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,122,0,.45), transparent 70%);
  filter: blur(10px);
  opacity: 0.55;
  transition: opacity 0.5s, transform 0.5s;
  animation: plateBreath 3.5s ease-in-out infinite;
}
.plate.glow-up .plate-glow {
  opacity: 1; transform: scale(1.15);
  background: radial-gradient(ellipse, rgba(255,122,0,.7), rgba(255,200,87,.4), transparent 70%);
}
@keyframes plateBreath {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.7; }
}
.plate-rim {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(180deg, #FFE0A8, #FF7A00 55%, #C96A00);
  box-shadow: 0 0 28px rgba(255,122,0,.3), var(--shadow-soft);
}
.plate-surface {
  position: absolute; left: 5%; right: 5%; top: 4px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFFFF, #FFF4E6);
  border: 1px solid rgba(255,122,0,.12);
}
.plate-shadow {
  position: absolute; left: 12%; right: 12%; bottom: -16px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45,45,45,.18), transparent 70%);
  filter: blur(4px);
}

/* Steam */
.steam {
  position: absolute; bottom: 16%; left: 50%; transform: translateX(-50%);
  width: 70%; height: 28%; z-index: 6; pointer-events: none;
  transition: opacity 0.4s;
}
.steam.hidden { opacity: 0; }
.steam.intense span { animation-duration: 1.3s; filter: blur(5px) brightness(1.15); }
.steam.react span { animation-duration: 1.6s; opacity: 1; }
.steam span {
  position: absolute; bottom: 0; width: 24px; height: 55px;
  background: radial-gradient(ellipse, rgba(255,255,255,.6), rgba(255,167,38,.18), transparent 70%);
  border-radius: 50%; filter: blur(5px);
  animation: steamRise 3s ease-out infinite;
}
.steam span:nth-child(1) { left: 8%; }
.steam span:nth-child(2) { left: 24%; animation-delay: .4s; width: 30px; }
.steam span:nth-child(3) { left: 40%; animation-delay: .9s; }
.steam span:nth-child(4) { left: 55%; animation-delay: .2s; width: 28px; }
.steam span:nth-child(5) { left: 70%; animation-delay: 1.1s; }
.steam span:nth-child(6) { left: 82%; animation-delay: .6s; width: 20px; }

@keyframes steamRise {
  0% { transform: translateY(0) scaleX(0.7); opacity: 0; }
  25% { opacity: 0.75; }
  100% { transform: translateY(-90px) scaleX(1.4); opacity: 0; }
}

/* POS reveal — sits cleanly on the serving plate */
.pos-reveal {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%) translateY(24px) scale(0.86);
  width: min(300px, 82%);
  opacity: 0;
  z-index: 8;
  pointer-events: none;
  visibility: hidden;
}
.pos-reveal.visible {
  visibility: visible;
  animation: posIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pos-reveal.hide {
  visibility: visible;
  animation: posOut 0.55s ease forwards;
}

@keyframes posIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(28px) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}
@keyframes posOut {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px) scale(0.9);
  }
}

.pos-halo {
  position: absolute; inset: -32%; z-index: 0;
  background: radial-gradient(ellipse, rgba(255,122,0,.42), rgba(255,200,87,.18), transparent 70%);
  filter: blur(20px); opacity: 0;
  pointer-events: none;
}
.pos-reveal.visible .pos-halo {
  opacity: 1; animation: glowBreath 2.2s ease-in-out infinite;
}
@keyframes glowBreath {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.08); }
}

/* Orbiting food accents */
.pos-orbit {
  position: absolute; inset: -18% -12%; z-index: 0; pointer-events: none;
  opacity: 0;
}
.pos-reveal.visible .pos-orbit {
  animation: orbitFade 0.6s ease 0.25s forwards;
}
@keyframes orbitFade {
  to { opacity: 1; }
}
.orbit-ico {
  position: absolute;
  width: 22px; height: 22px;
  color: var(--orange);
  opacity: 0.55;
  filter: drop-shadow(0 4px 8px rgba(255,122,0,.25));
  animation: orbitBob 3.2s ease-in-out infinite;
}
.orbit-ico svg { width: 100%; height: 100%; display: block; }
.orbit-ico.o1 { left: -4%; top: 18%; animation-delay: 0s; }
.orbit-ico.o2 { right: -6%; top: 28%; animation-delay: -0.7s; }
.orbit-ico.o3 { left: 6%; bottom: 8%; animation-delay: -1.4s; }
.orbit-ico.o4 { right: 4%; bottom: 14%; animation-delay: -2.1s; }
@keyframes orbitBob {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

.pos-card {
  position: relative; z-index: 1;
  text-align: center;
  border-radius: 24px;
  padding: 1.1rem 1.2rem 1.15rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
  border: 1px solid rgba(255, 122, 0, 0.16);
  box-shadow:
    0 22px 50px rgba(255, 122, 0, 0.2),
    0 8px 20px rgba(45, 45, 45, 0.06),
    inset 0 1px 0 rgba(255,255,255,.95);
  overflow: hidden;
}
.pos-card::before {
  content: "";
  position: absolute; top: 0; left: 10%; right: 10%; height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--gold), var(--orange), transparent);
  opacity: 0.85;
}

/* Cooking illustration */
.cook-visual {
  position: relative;
  width: 88px; height: 72px;
  margin: 0.15rem auto 0.7rem;
}
.cook-glow {
  position: absolute; inset: 10% 5% 0;
  background: radial-gradient(ellipse, rgba(255,122,0,.35), transparent 70%);
  filter: blur(10px);
  animation: cookGlow 2s ease-in-out infinite;
}
@keyframes cookGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
.cook-svg {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(255,122,0,.28));
}
.cook-steam path {
  stroke-dasharray: 28;
  animation: steamDraw 2.4s ease-in-out infinite;
}
.cook-steam path:nth-child(2) { animation-delay: .35s; }
.cook-steam path:nth-child(3) { animation-delay: .7s; }
@keyframes steamDraw {
  0%, 100% { opacity: 0.25; transform: translateY(4px); }
  50% { opacity: 0.95; transform: translateY(-4px); }
}
.cook-sparkles circle {
  animation: sparkleTwinkle 1.8s ease-in-out infinite;
}
.cook-sparkles circle:nth-child(2) { animation-delay: .3s; }
.cook-sparkles circle:nth-child(3) { animation-delay: .6s; }
.cook-sparkles circle:nth-child(4) { animation-delay: .9s; }
@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.25); }
}

.pos-top {
  margin-bottom: 0.55rem;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  flex-wrap: wrap;
}
.pos-live {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 700; color: var(--orange);
}
.pos-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.7); animation: pulse 1.3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.maint-badge {
  font-size: 0.58rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--orange);
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid rgba(255, 122, 0, 0.25);
  padding: 0.28rem 0.65rem; border-radius: 999px;
}

.maint-status { display: none; }

.maint-title {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -0.025em; line-height: 1.25;
  margin-bottom: 0.4rem;
}
.maint-desc {
  font-size: 0.76rem; color: var(--muted); line-height: 1.5;
  max-width: 28ch; margin: 0 auto;
}

.cook-dots {
  display: flex; justify-content: center; gap: 0.35rem;
  margin-top: 0.75rem;
}
.cook-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange);
  opacity: 0.3;
  animation: dotPulse 1.2s ease-in-out infinite;
}
.cook-dots span:nth-child(2) { animation-delay: .2s; }
.cook-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.maint-pulse { display: none; }

/* Cloche — hero size */
.cloche {
  position: absolute; bottom: 8%; left: 50%;
  width: 88%;
  height: auto;
  aspect-ratio: 520 / 440;
  transform: translateX(-50%);
  z-index: 12;
  transform-origin: 50% 92%;
  will-change: transform, opacity, filter;
  cursor: pointer;
  transition: filter 0.35s;
}
.cloche:hover { filter: brightness(1.06) drop-shadow(0 0 28px rgba(255,122,0,.35)); }
.cloche-svg { width: 100%; height: 100%; display: block; overflow: visible; }

.reflect-band {
  animation: reflectSlide 5s ease-in-out infinite;
}
@keyframes reflectSlide {
  0%, 100% { opacity: 0.2; transform: translateX(-10px); }
  50% { opacity: 0.55; transform: translateX(20px); }
}

/* States */
.cloche.is-idle { animation: clocheFloat 3s ease-in-out infinite; }
@keyframes clocheFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

.cloche.is-vibrate { animation: clocheVibe 0.12s linear 8; }
@keyframes clocheVibe {
  0%, 100% { transform: translateX(-50%) translateY(0) rotate(0); }
  25% { transform: translateX(calc(-50% - 1.5px)) rotate(-0.6deg); }
  75% { transform: translateX(calc(-50% + 1.5px)) rotate(0.6deg); }
}

/* Lift fully away so the card is the clear focus */
.cloche.is-lift { animation: clocheLift 1.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes clocheLift {
  0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
  60% { transform: translateX(-50%) translateY(-28vh) scale(0.96); opacity: 0.55; }
  100% { transform: translateX(-50%) translateY(-42vh) scale(0.88); opacity: 0; visibility: hidden; }
}

.cloche.is-lower { animation: clocheLower 1.1s cubic-bezier(0.33, 1, 0.68, 1) forwards; }
@keyframes clocheLower {
  0% { transform: translateX(-50%) translateY(-42vh) scale(0.88); opacity: 0; visibility: visible; }
  100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; visibility: visible; }
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.2rem; margin-top: 0;
}
.thanks { font-size: clamp(0.75rem, 1.5vh, 0.88rem); color: var(--muted); }
.serving { font-size: clamp(0.72rem, 1.4vh, 0.84rem); color: var(--orange); font-weight: 500; }
.copy { font-size: clamp(0.62rem, 1.2vh, 0.7rem); color: #9CA3AF; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero-stage { width: 100%; max-height: min(52vh, 380px); }
  .cloche-world {
    width: min(320px, 78vw, 46vh);
    height: min(320px, 78vw, 46vh);
  }
  .status-line { font-size: clamp(0.95rem, 4.5vw, 1.15rem); }
}

@media (max-height: 700px) {
  .logo { width: clamp(96px, 14vw, 130px); }
  .hero-stage { max-height: min(54vh, 360px); }
  .cloche-world {
    width: min(340px, 58vw, 46vh);
    height: min(340px, 58vw, 46vh);
  }
}

@media (max-height: 560px) {
  .page { padding: 0.35rem 0 0.3rem; gap: 0.25rem; }
  .logo-wrap { margin-bottom: 0.25rem; }
  .status-line { margin-bottom: 0.15rem; font-size: 0.95rem; }
  .subhead { font-size: 0.75rem; }
  .hero-stage { max-height: 48vh; }
  .cloche-world {
    width: min(260px, 50vw, 40vh);
    height: min(260px, 50vw, 40vh);
  }
  .footer .copy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
