:root {
  --berry: #b3123f;
  --berry-deep: #8e0f32;
  --berry-ink: #2b1b1f;
  --leaf: #2e7d32;
  --mist: #f3e6ea;
  --cream: #fff4f0;
  --muted: #6b5a5f;
  --white: #ffffff;
  --font-brand: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--berry-ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 85% 15%, rgb(179 18 63 / 0.28), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgb(46 125 50 / 0.12), transparent 50%),
    linear-gradient(160deg, #fff8f5 0%, #f7dde4 42%, #e8b8c4 100%);
  transform: scale(1.02);
  animation: wash-drift 18s var(--ease) infinite alternate;
}

.hero__berries {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.berry-art {
  width: min(72vw, 42rem);
  height: auto;
  margin-right: clamp(-4rem, -6vw, -1rem);
  margin-top: clamp(-2rem, -4vh, 0);
  filter: drop-shadow(0 24px 40px rgb(142 15 50 / 0.22));
  animation: berry-float 9s var(--ease) infinite alternate;
  opacity: 0;
  transform: translate3d(2rem, 1rem, 0) scale(0.98);
}

.hero.is-ready .berry-art {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.cluster--main {
  transform-origin: 320px 390px;
}

.hero.is-ready .cluster--main {
  animation: cluster-breathe 6.5s var(--ease) infinite alternate;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
  padding-bottom: clamp(1rem, 6vh, 3.5rem);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-brand);
  font-size: clamp(2.75rem, 9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--berry-deep);
  opacity: 0;
  transform: translateY(1.25rem);
}

.headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--berry-ink);
  opacity: 0;
  transform: translateY(1.25rem);
}

.lead {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  opacity: 0;
  transform: translateY(1.25rem);
}

.cta {
  opacity: 0;
  transform: translateY(1rem);
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0.85rem;
  background: var(--berry);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgb(179 18 63 / 0.28);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.cta__btn:hover {
  background: var(--berry-deep);
  transform: translateY(-1px);
}

.cta__btn:focus-visible {
  outline: 3px solid rgb(46 125 50 / 0.55);
  outline-offset: 3px;
}

.hero.is-ready .brand,
.hero.is-ready .headline,
.hero.is-ready .lead,
.hero.is-ready .cta {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.hero.is-ready .headline {
  transition-delay: 0.12s;
}

.hero.is-ready .lead {
  transition-delay: 0.22s;
}

.hero.is-ready .cta {
  transition-delay: 0.34s;
}

@keyframes wash-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes berry-float {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-1.2%, 1.6%, 0);
  }
}

@keyframes cluster-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}

@media (max-width: 720px) {
  .hero {
    align-items: flex-end;
  }

  .hero__berries {
    align-items: flex-start;
    justify-content: center;
    padding-top: 4vh;
  }

  .berry-art {
    width: min(115vw, 28rem);
    margin-right: 0;
    opacity: 0.92;
  }

  .hero__copy {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__wash,
  .berry-art,
  .cluster--main,
  .brand,
  .headline,
  .lead,
  .cta {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
