/* Bloom Fortune — glasshouse nav, vase hero, petal grid, conservatory shelf */

:root {
  --lavender: #f3e8ff;
  --lavender-deep: #e9d5ff;
  --sky: #bae6fd;
  --sky-deep: #7dd3fc;
  --magenta: #a21caf;
  --magenta-soft: #d946ef;
  --orange: #fb923c;
  --ink: #3b0764;
  --ink-soft: rgba(59, 7, 100, 0.72);
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 16px 40px rgba(88, 28, 135, 0.12);
  --radius: 22px;
  --radius-pill: 999px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: linear-gradient(165deg, var(--lavender) 0%, #fdf2f8 40%, #ecfeff 100%);
  overflow-x: hidden;
}

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

a {
  color: var(--magenta);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

.garden-mist {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.95), rgba(186, 230, 253, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 -8px 20px rgba(162, 28, 175, 0.08), 0 12px 32px rgba(59, 7, 100, 0.08);
  animation: drift 9s ease-in-out infinite;
}

.bubble--1 {
  width: 120px;
  height: 120px;
  top: 12%;
  left: 8%;
}

.bubble--2 {
  width: 72px;
  height: 72px;
  top: 22%;
  right: 12%;
  animation-delay: -2s;
}

.bubble--3 {
  width: 96px;
  height: 96px;
  bottom: 18%;
  left: 5%;
  animation-delay: -4s;
}

.bubble--4 {
  width: 56px;
  height: 56px;
  bottom: 30%;
  right: 8%;
  animation-delay: -6s;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-14px) scale(1.03);
  }
}

/* Glasshouse nav */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem 0;
}

.glass-nav__arc {
  max-width: 1120px;
  margin: 0 auto;
  height: 14px;
  border: 2px solid rgba(162, 28, 175, 0.25);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), transparent);
}

.glass-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1rem;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease;
}

.glass-nav.is-scrolled .glass-nav__inner {
  box-shadow: 0 20px 48px rgba(88, 28, 135, 0.16);
}

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

.glass-nav__brand img {
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(186, 230, 253, 0.8);
}

.glass-nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  margin-right: 0.35rem;
}

.glass-nav__links a {
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.glass-nav__links a:hover {
  background: rgba(217, 70, 239, 0.12);
  color: var(--magenta);
  text-decoration: none;
}

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

.glass-nav__links ~ .glass-nav__actions {
  margin-left: 0;
}

.glass-nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(162, 28, 175, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.glass-nav__burger span {
  display: block;
  height: 2px;
  margin: 0 10px;
  background: var(--ink);
}

@media (min-width: 880px) {
  .glass-nav__links {
    display: flex;
  }
  .glass-nav__burger {
    display: none;
  }
}

.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 5.5rem 1.25rem 2rem;
  background: rgba(243, 232, 255, 0.97);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  backdrop-filter: blur(8px);
}

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

.nav-sheet a {
  font-weight: 700;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--lavender-deep);
  border-radius: 14px;
  color: var(--ink);
  text-decoration: none;
}

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

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

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

.btn--lg {
  font-size: 1rem;
  padding: 0.78rem 1.35rem;
}

.btn--xl {
  font-size: 1.05rem;
  padding: 0.92rem 1.6rem;
}

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

.btn--magenta {
  background: linear-gradient(135deg, var(--magenta-soft), var(--magenta));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(162, 28, 175, 0.35);
}

.btn--sky {
  background: linear-gradient(135deg, var(--sky-deep), #38bdf8);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.35);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.85);
  color: var(--magenta);
  border: 2px solid rgba(162, 28, 175, 0.25);
  box-shadow: 0 6px 20px rgba(59, 7, 100, 0.08);
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero__banner {
  margin-top: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.hero__banner img {
  width: 100%;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.hero__layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: 1.05fr 0.9fr;
  }
}

.hero__copy {
  padding: 1.5rem 1.35rem;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero__kicker {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--magenta);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

.hero h1 span {
  color: var(--magenta-soft);
  font-style: italic;
}

.hero__lead {
  margin: 0 0 1.15rem;
  color: var(--ink-soft);
}

.hero__vases {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(162, 28, 175, 0.25);
  width: fit-content;
}

.hero__vase {
  display: flex;
  gap: 4px;
  padding: 6px 10px 4px;
  background: linear-gradient(180deg, #fff, #f5f3ff);
  border: 2px solid var(--lavender-deep);
  border-radius: 0 0 12px 12px;
  border-top: 3px solid var(--orange);
}

.hero__bloom {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fbcfe8, #ec4899);
}

.hero__bloom--alt {
  background: radial-gradient(circle at 30% 30%, #ddd6fe, #8b5cf6);
}

.hero__vases-eq {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--magenta);
}

.hero__vases-arrow {
  width: 18px;
  height: 18px;
  color: var(--magenta-soft);
}

.hero__bouquet {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, var(--sky));
  border: 2px solid rgba(56, 189, 248, 0.5);
  color: var(--magenta);
}

.hero__bouquet svg {
  width: 20px;
  height: 20px;
}

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

.hero__phone {
  position: relative;
  margin: 0 auto;
  max-width: 290px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero__phone-bubble {
  position: absolute;
  inset: -12px;
  border-radius: 36px;
  border: 2px solid rgba(186, 230, 253, 0.6);
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.4), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

.hero__phone img {
  width: 100%;
  border-radius: 22px;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0f172a;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-head .eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--magenta-soft);
  margin: 0 0 0.45rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  margin: 0;
  line-height: 1.15;
}

.section-head h2 span {
  color: var(--magenta);
  font-style: italic;
}

.section-head__lead {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.petal-grid {
  margin-top: 4.5rem;
}

.petal-grid__cells {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .petal-grid__cells {
    grid-template-columns: repeat(2, 1fr);
  }
}

.petal-card {
  padding: 1.35rem 1.25rem;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(88, 28, 135, 0.07);
  backdrop-filter: blur(10px);
  clip-path: polygon(0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px));
}

.petal-card--accent {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 243, 199, 0.35));
  border-color: rgba(251, 146, 60, 0.35);
}

.petal-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--lavender-deep), var(--sky));
  color: var(--magenta);
}

.petal-card__icon svg {
  width: 24px;
  height: 24px;
}

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

.petal-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.conservatory {
  margin-top: 4.5rem;
}

.conservatory__shelf {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  border-bottom: 4px solid rgba(162, 28, 175, 0.15);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45));
}

.conservatory__frame {
  flex: 0 0 min(68vw, 200px);
  margin: 0;
  scroll-snap-align: center;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  border: 2px solid rgba(186, 230, 253, 0.8);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

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

.conservatory__frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 12px;
  background: #0f172a;
}

@media (min-width: 960px) {
  .conservatory__shelf {
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
  }
  .conservatory__frame {
    flex: 0 0 180px;
  }
}

.download {
  margin-top: 4.5rem;
}

.download__greenhouse {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass);
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px 28px 120px 120px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.download__icon {
  margin: 0 auto 1rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.6);
}

.download__greenhouse h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.35rem;
}

.download__tag {
  font-weight: 800;
  color: var(--magenta);
  margin: 0 0 0.35rem;
}

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

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

.footer {
  margin-top: 3rem;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid var(--lavender-deep);
}

.footer__inner {
  max-width: 1120px;
  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__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer__links a {
  font-weight: 700;
  font-size: 0.92rem;
}

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

.modal[hidden] {
  display: none;
}

.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(59, 7, 100, 0.45);
}

.modal__panel {
  position: relative;
  max-width: 400px;
  width: 100%;
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--lavender-deep);
  text-align: center;
  box-shadow: 0 24px 60px rgba(88, 28, 135, 0.2);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--lavender);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__rose {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fecdd3, #e11d48);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.modal__panel p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}
