.nav-logo {
  position: relative;
}

.nav-logo img {
  animation: nav-logo-drift 4.8s ease-in-out infinite;
  box-shadow: 0 0 0 rgba(240, 122, 26, 0);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  will-change: transform;
}

.nav-logo:hover img {
  transform: translateY(-2px) scale(1.04) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(240, 122, 26, 0.22);
  filter: saturate(1.05);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.home-ready .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

body.home-ready .hero-content > :nth-child(1) { transition-delay: 0.05s; }
body.home-ready .hero-content > :nth-child(2) { transition-delay: 0.12s; }
body.home-ready .hero-content > :nth-child(3) { transition-delay: 0.2s; }
body.home-ready .hero-content > :nth-child(4) { transition-delay: 0.28s; }

.hero-logo {
  width: min(700px, 60vw);
  height: auto;
  margin: 0 auto;
  animation: hero-logo-float 6.5s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
}

.hero-actions .btn {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
}

.pillars .container {
  display: flex;
  justify-content: center;
}

.pillars-grid {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.pillar {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.pillar h3 {
  margin-bottom: 0.65rem;
}

.pillar p {
  max-width: 24ch;
  margin: 0 auto;
}

.flavor-preview .container {
  max-width: 860px;
  position: relative;
}

.flavor-cards {
  display: flex;
  justify-content: center;
}

.flavor-card {
  width: 100%;
  max-width: 760px;
  padding: 2.2rem 2rem 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at top, rgba(240, 122, 26, 0.08), transparent 55%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.flavor-card .section-label {
  margin-bottom: 0.55rem;
}

.flavor-card h2 {
  margin-top: 0.2rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  letter-spacing: 0.03em;
}

.flavor-card .divider {
  margin: 1.15rem auto 1.8rem;
}

.flavor-intro {
  max-width: 58ch;
  margin: 0 auto 2.2rem;
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--offwhite);
}

.flavor-tag {
  display: inline-block;
  margin-bottom: 1.15rem;
  padding: 0 0.2rem 0.55rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: 1px solid rgba(240, 122, 26, 0.45);
}

.flavor-kicker {
  margin: 0 0 0.35rem;
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.flavor-card-body h4 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
}

.flavor-card-body p {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--offwhite);
}

.flavor-cta {
  margin-top: 1.65rem;
}

.flavor-cta .btn {
  min-width: 180px;
}

.story-badge img {
  width: 80%;
  max-width: 200px;
  margin: 0 auto;
}

@keyframes nav-logo-drift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes hero-logo-float {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo img,
  .hero-logo {
    animation: none;
  }

  .hero-content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    width: min(500px, 100vw);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .flavor-card {
    padding: 1.55rem 1.15rem 1.65rem;
  }
}
