/* Bloom Rush — vine nav, garden beds, windowbox gallery */

:root {
  --meadow: #f4fbf0;
  --meadow-deep: #e2f4dc;
  --cream: #fff9f2;
  --ink: #2a3d2e;
  --muted: #5a6f5e;
  --leaf: #6bcb5c;
  --leaf-dark: #4a9e42;
  --sun: #f5c542;
  --tulip: #f48fb1;
  --soil: #c4a574;
  --cloud: #ffffff;
  --shadow: 0 20px 44px rgba(74, 158, 66, 0.14);
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--meadow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--cloud);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.meadow-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(107, 203, 92, 0.25), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 8%, rgba(245, 197, 66, 0.2), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(244, 143, 177, 0.12), transparent 55%),
    linear-gradient(180deg, var(--meadow) 0%, var(--cream) 40%, var(--meadow-deep) 100%);
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg,
.btn i {
  width: 1.2rem;
  height: 1.2rem;
}

.btn--leaf {
  background: linear-gradient(180deg, #8ee07a 0%, var(--leaf) 100%);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(107, 203, 92, 0.35);
}

.btn--leaf:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107, 203, 92, 0.42);
}

.btn--petal {
  background: var(--cloud);
  color: var(--leaf-dark);
  border: 2px solid rgba(107, 203, 92, 0.25);
  box-shadow: 0 6px 18px rgba(42, 61, 46, 0.06);
}

.btn--petal:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 203, 92, 0.5);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 0.85rem 1.45rem;
  font-size: 1rem;
}

.btn--xl {
  padding: 1rem 1.65rem;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

/* Vine navigation */
.vine-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 251, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 203, 92, 0.15);
  transition: box-shadow 0.25s ease;
}

.vine-nav.is-scrolled {
  box-shadow: var(--shadow);
}

.vine-nav__arch {
  display: block;
  width: 100%;
  height: 14px;
  opacity: 0.75;
}

.vine-nav__bar {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vine-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
}

.vine-nav__brand img {
  border-radius: 0.85rem;
  box-shadow: 0 4px 14px rgba(107, 203, 92, 0.3);
}

.vine-nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

.vine-nav__links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.92rem;
}

.vine-nav__links a:hover {
  color: var(--leaf-dark);
}

.vine-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.vine-nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.75rem;
  background: var(--cloud);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(42, 61, 46, 0.08);
}

.vine-nav__burger span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0 auto;
  background: var(--leaf-dark);
  border-radius: 2px;
}

.nav-sheet {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 99;
  padding: 1.25rem;
  background: var(--cloud);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.nav-sheet[hidden] {
  display: none !important;
}

.nav-sheet a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--meadow-deep);
}

/* Hero */
.hero__banner {
  max-width: 68rem;
  margin: 1rem auto 0;
  padding: 0 1.25rem;
}

.hero__banner img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 3px solid var(--cloud);
}

.hero__plot {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.hero__kicker {
  font-weight: 600;
  color: var(--leaf-dark);
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 5vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero h1 span {
  color: var(--leaf-dark);
}

.hero__lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 34rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero__phone {
  position: relative;
  margin: 0;
  max-width: min(16.5rem, 88vw);
  margin-inline: auto;
}

.hero__phone img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
  object-fit: contain;
  border: 4px solid var(--cloud);
}

.hero__spark {
  position: absolute;
  width: 2rem;
  height: 2rem;
  z-index: 2;
  background: radial-gradient(circle, var(--sun) 30%, transparent 70%);
  opacity: 0.85;
  animation: sparkle 2.5s ease-in-out infinite;
}

.hero__spark--a {
  top: 8%;
  right: -4%;
}

.hero__spark--b {
  bottom: 12%;
  left: -6%;
  animation-delay: 1.1s;
}

@keyframes sparkle {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}

.eyebrow {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--leaf-dark);
  margin: 0 0 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  margin: 0;
  font-weight: 700;
}

.section-head h2 span {
  color: var(--sun);
}

.section-head__lead {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Garden bed features */
.garden-beds {
  position: relative;
  padding: 2.5rem 0 3.5rem;
}

.garden-beds__soil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  height: 5rem;
  background: linear-gradient(180deg, transparent, rgba(196, 165, 116, 0.35));
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  pointer-events: none;
}

.garden-beds__row {
  position: relative;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.15rem;
}

.sprout-card {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 12px 32px rgba(42, 61, 46, 0.07);
  border: 2px solid rgba(107, 203, 92, 0.15);
}

.sprout-card--lift {
  transform: translateY(-4px);
}

.sprout-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--meadow);
  color: var(--leaf-dark);
  margin-bottom: 0.75rem;
  border: 2px solid rgba(107, 203, 92, 0.3);
}

.sprout-card__icon--sun {
  background: #fff8e1;
  color: #e6a800;
  border-color: rgba(245, 197, 66, 0.45);
}

.sprout-card__icon--pink {
  background: #fff0f5;
  color: #e91e8c;
  border-color: rgba(244, 143, 177, 0.5);
}

.sprout-card__icon--gold {
  background: var(--cream);
  color: var(--soil);
  border-color: rgba(196, 165, 116, 0.45);
}

.sprout-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.sprout-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.sprout-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Windowbox gallery */
.windowbox {
  padding: 1rem 0 3.5rem;
}

.windowbox__rail {
  display: flex;
  gap: 1.35rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.25rem 1.75rem;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 1.25rem;
}

.pot-shot {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(11.5rem, 72vw);
}

.pot-shot__pot {
  width: 4.5rem;
  height: 1.25rem;
  background: linear-gradient(180deg, #d4956a, var(--soil));
  border-radius: 0 0 0.65rem 0.65rem;
  margin-bottom: -2px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 2;
}

.pot-shot__frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--cloud);
  border-radius: 1rem;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(107, 203, 92, 0.2);
}

.pot-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
}

.pot-shot--tall {
  transform: translateY(-8px);
}

/* Download */
.download {
  padding: 1.5rem 1.25rem 3.5rem;
}

.download__planter {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 1.65rem;
  background: var(--cloud);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(107, 203, 92, 0.18);
}

.download__icon {
  margin: 0 auto 1rem;
  border-radius: 1.1rem;
}

.download h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  margin: 0 0 0.65rem;
}

.download__lead {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.download__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer {
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(107, 203, 92, 0.15);
}

.footer__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__brand img {
  border-radius: 0.5rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.15rem;
}

.footer__links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--leaf-dark);
  text-decoration: none;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 61, 46, 0.5);
}

.modal__panel {
  position: relative;
  max-width: 22rem;
  width: 100%;
  padding: 2rem 1.65rem;
  background: var(--cloud);
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(42, 61, 46, 0.28);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: var(--meadow);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--leaf-dark);
}

.modal__bloom {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--sun), var(--leaf));
}

.modal__panel h2 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
}

.modal__panel p {
  color: var(--muted);
  margin: 0 0 1.15rem;
  font-size: 0.96rem;
}

@media (min-width: 640px) {
  .garden-beds__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .vine-nav__links {
    display: flex;
  }

  .vine-nav__actions {
    margin-left: 0;
  }

  .vine-nav__burger {
    display: none;
  }

  .nav-sheet {
    display: none !important;
  }

  .hero__plot {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .hero__phone {
    margin-inline: 0;
    justify-self: end;
  }

  .pot-shot {
    width: 12rem;
  }

  .download__actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (min-width: 1024px) {
  .garden-beds__row {
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
  }

  .sprout-card--lift {
    transform: translateY(-10px);
  }

  .windowbox__rail {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__spark {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
