/* Lavscapes Pro Max Design System */
/* Fonts loaded via non-render-blocking <link> in HTML */

:root {
  /* Semantic Color Tokens */
  --primary-50: #fdf2f8;
  --primary-100: #fce7f3;
  --primary-500: #e86db5; /* Brand Pink */
  --primary-600: #db4b9c;
  --primary-900: #831843;
  
  --surface-50: #fdfbf9; /* Off-white background */
  --surface-100: #f4f1ee; /* Subtle gray/brown for cards */
  --surface-800: #372a24; /* Brand Charcoal */
  --surface-900: #281d18;
  
  --text-main: #372a24;
  --text-muted: #786b65;
  --text-light: #ffffff;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(55, 42, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(55, 42, 36, 0.08);
  --shadow-lg: 0 20px 40px rgba(55, 42, 36, 0.12);
  --shadow-glow: 0 8px 32px rgba(232, 109, 181, 0.25);
  
  /* Motion / Animations */
  --transition-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease-out;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  background-color: var(--surface-50);
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-50);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { margin-bottom: var(--space-4); font-size: 1.125rem; color: var(--text-muted); }

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--primary-500);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-500); }
.bg-dark { background-color: var(--surface-800); color: var(--text-light); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p { color: var(--text-light); }

.section-padding { padding: var(--space-16) 0; }

/* Interactive Elements (Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  text-align: center;
  gap: var(--space-2);
}

.btn-primary {
  background-color: var(--primary-600);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: var(--primary-600);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-dark {
  background-color: var(--surface-800);
  color: var(--text-light);
}
.btn-dark:hover {
  background-color: var(--surface-900);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Navigation - Glassmorphism */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 249, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(55, 42, 36, 0.05);
  padding: var(--space-4) 0;
  transition: all var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--surface-800);
}
.logo span { color: var(--primary-500); }

.nav-links {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-muted);
  position: relative;
  padding: var(--space-1) 0;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--surface-800);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-500);
  transition: width var(--transition-smooth);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--surface-800);
  color: var(--text-light);
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  margin-bottom: var(--space-6);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  z-index: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
}

.hero-bg.active {
  opacity: 0.6;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: var(--space-6);
  animation: slideUpFade 0.8s var(--transition-smooth) backwards;
}
.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
  animation: slideUpFade 0.8s var(--transition-smooth) 0.2s backwards;
}
.hero .btn {
  animation: slideUpFade 0.8s var(--transition-smooth) 0.4s backwards;
}

/* Bento Grid Services */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.bento-item {
  background: var(--surface-100);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  position: relative;
  transition: transform var(--transition-spring), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

/* Specific Grid Placements */
.bento-maintenance { grid-column: span 8; }
.bento-softscaping { grid-column: span 4; }
.bento-hardscaping { grid-column: span 12; display: flex; flex-direction: row; align-items: center; }

.bento-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.bento-maintenance .bento-img {
  border-radius: 0 120px 0 120px;
}
.bento-softscaping .bento-img {
  border-radius: 120px 0 120px 0;
}
.bento-hardscaping .bento-img {
  width: 50%;
  height: 320px;
  border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%; /* Vertical leaf */
}

.bento-item:hover .bento-img {
  transform: scale(1.02);
}

.bento-content {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-2);
}
.bento-content p {
  margin-bottom: var(--space-6);
}

/* About Split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
  pointer-events: none;
}
.about-image {
  width: 100%;
  height: auto;
  display: block;
}
.feature-list {
  list-style: none;
  margin-bottom: var(--space-8);
}
.feature-list li {
  position: relative;
  padding-left: var(--space-8);
  margin-bottom: var(--space-4);
  font-weight: 500;
  color: var(--text-main);
}
.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-500);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Forms */
.contact-section {
  position: relative;
  overflow: hidden;
}

/* Decorative organic blobs */
.contact-section::before,
.contact-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.contact-section::before {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(232, 109, 181, 0.15) 0%, rgba(232, 109, 181, 0.05) 50%, transparent 70%);
  top: -80px;
  left: -100px;
}
.contact-section::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 109, 181, 0.12) 0%, rgba(232, 109, 181, 0.04) 50%, transparent 70%);
  bottom: -60px;
  right: -60px;
}

.contact-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.contact-blob-1 {
  width: 200px;
  height: 200px;
  top: 20%;
  right: 5%;
  background: radial-gradient(circle, rgba(232, 109, 181, 0.1) 0%, transparent 70%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.contact-blob-2 {
  width: 160px;
  height: 160px;
  bottom: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(55, 42, 36, 0.06) 0%, transparent 70%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}
.contact-blob-3 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 35%;
  background: radial-gradient(circle, rgba(232, 109, 181, 0.08) 0%, transparent 70%);
  border-radius: 50% 50% 40% 60% / 40% 60% 40% 60%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-8);
  position: relative;
  z-index: 1;
  align-items: stretch;
}
.contact-info-card {
  background: linear-gradient(135deg, rgba(55, 42, 36, 0.88) 0%, rgba(55, 42, 36, 0.75) 100%), url('./assets/contact-card-bg.webp') center / cover no-repeat;
  color: var(--text-light);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Subtle glow inside the card */
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(232, 109, 181, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.contact-info-card h2, .contact-info-card h3 { color: var(--text-light); }
.contact-info-card p { color: rgba(255,255,255,0.8); }
.contact-info-card a { color: var(--primary-500); font-weight: 600; }
.contact-info-card a:hover { color: var(--primary-100); }

.contact-form-card {
  background: #ffffff;
  color: var(--text-main);
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  align-self: stretch;
}

.form-group {
  margin-bottom: var(--space-6);
  position: relative;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-main);
}
.form-control {
  width: 100%;
  padding: 16px 20px;
  background: var(--surface-100);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  color-scheme: light;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-smooth);
}
.form-control:hover {
  background: #ebe7e4;
}
.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px var(--primary-100);
}
textarea.form-control {
  min-height: 160px;
  resize: vertical;
}
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23786b65' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
select.form-control option {
  background-color: #ffffff;
  color: var(--text-main);
}


/* Footer */
.footer {
  background-color: var(--surface-900);
  color: rgba(255,255,255,0.85);
  padding: var(--space-12) 0 var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  margin-bottom: var(--space-6);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: var(--space-3);
}
.footer-links a {
  color: rgba(255,255,255,0.85);
}
.footer-links a:hover {
  color: var(--primary-500);
}
.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

/* Animations */
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Trust Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  padding: var(--space-12) 0;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
}
.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Instagram Feed Grid */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.insta-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.insta-item:hover img {
  transform: scale(1.08);
}
.insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(55,42,36,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.insta-item:hover::after {
  opacity: 1;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--primary-500);
  color: var(--text-light);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  z-index: 2000;
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-4);
}

/* Hamburger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 10001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--surface-800);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}
.nav-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* Footer SVG Icons */
.footer-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: var(--space-2);
  flex-shrink: 0;
}
.footer-links li {
  display: flex;
  align-items: center;
}

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

/* Team Slideshow */
.team-section-bg {
  background-color: var(--surface-100);
  background-image:
    radial-gradient(circle at 10% 30%, rgba(232, 109, 181, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(232, 109, 181, 0.06) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 10 Q50 30 40 50 Q30 30 40 10Z' fill='none' stroke='%23e86db5' stroke-width='0.5' opacity='0.08'/%3E%3Cpath d='M20 50 Q30 60 25 75 Q15 60 20 50Z' fill='none' stroke='%23372a24' stroke-width='0.5' opacity='0.05'/%3E%3Cpath d='M60 45 Q70 55 65 70 Q55 55 60 45Z' fill='none' stroke='%23372a24' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
}

.team-composition {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-slideshow {
  position: relative;
  width: 55%;
  aspect-ratio: 3 / 4;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--surface-50);
  z-index: 2;
  flex-shrink: 0;
}

.team-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.team-slideshow img.active {
  opacity: 1;
}

/* Decorative flanking leaves */
.team-leaf {
  position: absolute;
  overflow: hidden;
  border: 6px solid var(--surface-50);
  box-shadow: var(--shadow-md);
  z-index: 1;
  transition: transform var(--transition-smooth);
}
.team-leaf:hover {
  transform: scale(1.04);
}
.team-leaf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-leaf-left {
  left: -2%;
  top: 35%;
  width: 28%;
  height: 45%;
  border-radius: 0 80% 0 80%;
}

.team-leaf-right {
  right: -2%;
  top: 20%;
  width: 28%;
  height: 50%;
  border-radius: 80% 0 80% 0;
}

.team-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.team-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary-500);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-smooth);
  padding: 0;
}

.team-dot.active {
  background: var(--primary-500);
  transform: scale(1.2);
}

.team-dot:hover {
  background: var(--primary-100);
}


/* Responsive Overrides */
@media (max-width: 1024px) {
  .bento-hardscaping { flex-direction: column; }
  .bento-hardscaping .bento-img { width: 100%; height: 280px; }
  .bento-maintenance, .bento-softscaping, .bento-hardscaping { grid-column: span 12; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
  }

  /* When menu is open â€” navbar becomes fullscreen overlay */
  body.nav-open .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: rgba(253, 251, 249, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    animation: fadeIn 0.3s ease-out;
  }

  body.nav-open .nav-container {
    flex-direction: column;
    height: 100%;
    padding-top: var(--space-6);
  }

  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    gap: var(--space-8);
  }

  .nav-links a {
    font-size: 1.5rem;
    padding: var(--space-3) var(--space-6);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .about-split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-padding { padding: var(--space-12) 0; }
  .hero { min-height: 50vh; border-radius: 0; margin-bottom: var(--space-6); }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero p { font-size: 1rem; }

  .leaf-cluster, .leaf-duo, .leaf-single-large { max-width: 100%; margin-bottom: var(--space-8); }

  .team-leaf { display: none; }
  .team-slideshow { width: 80%; }

  .contact-info-card { padding: var(--space-8); }

  /* Contact form 2-col to 1-col */
  .form-row-2col { grid-template-columns: 1fr !important; }

  .btn { padding: 14px 24px; font-size: 1rem; min-height: 44px; }
  .stats-bar { grid-template-columns: 1fr; gap: var(--space-8); padding: var(--space-8) 0; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { gap: var(--space-8); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-4); }
  .hero { min-height: 45vh; }
  .bento-img { height: 220px; }
  .bento-content h3 { font-size: 1.4rem; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* Styled Image Group (Leaf Cluster) matching inspiration */
.leaf-cluster {
  position: relative;
  width: 100%;
  max-width: 750px;
  aspect-ratio: 5 / 4;
  margin: 0 auto;
  container-type: size;
}

.leaf-shape {
  position: absolute;
  overflow: hidden;
  border: 6px solid var(--surface-50);
  box-shadow: var(--shadow-lg);
  background-color: var(--surface-100);
  transition: transform var(--transition-smooth);
}

.leaf-shape:hover {
  transform: scale(1.03);
}

.leaf-shape img {
  position: absolute;
  width: 100cqw;
  height: 100cqh;
  object-fit: cover;
  pointer-events: none;
}

.leaf-left {
  left: 0;
  top: 30cqh;
  width: 40cqw;
  height: 50cqh;
  border-radius: 0 100% 0 100%;
  z-index: 2;
}
.leaf-left img { left: 0; top: -30cqh; }

.leaf-center {
  left: 25cqw;
  top: 0;
  width: 40cqw;
  height: 70cqh;
  border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%;
  z-index: 1;
}
.leaf-center img { left: -25cqw; top: 0; }

.leaf-right {
  right: 0;
  top: 15cqh;
  width: 48cqw;
  height: 65cqh;
  border-radius: 100% 0 100% 0;
  z-index: 3;
}
.leaf-right img { right: 0; top: -15cqh; }

/* 2-Leaf Duo Style */
.leaf-duo {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  container-type: size;
}
.leaf-duo .leaf-shape {
  position: absolute;
  overflow: hidden;
  border: 6px solid var(--surface-50);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-smooth);
}
.leaf-duo .leaf-shape:hover {
  transform: scale(1.03);
  z-index: 10;
}
.leaf-duo .leaf-shape img {
  position: absolute;
  width: 100cqw;
  height: 100cqh;
  object-fit: cover;
  pointer-events: none;
}
.leaf-duo-1 {
  left: 0;
  top: 10cqh;
  width: 60cqw;
  height: 80cqh;
  border-radius: 100% 0 100% 0;
  z-index: 2;
}
.leaf-duo-1 img { left: 0; top: -10cqh; }

.leaf-duo-2 {
  right: 0;
  top: 25cqh;
  width: 50cqw;
  height: 65cqh;
  border-radius: 0 100% 0 100%;
  z-index: 1;
}
.leaf-duo-2 img { right: 0; top: -25cqh; }

/* Single Large Leaf Style */
.leaf-single-large {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%; /* Upward pointing egg/leaf */
  overflow: hidden;
  border: 8px solid var(--surface-50);
  box-shadow: var(--shadow-lg);
}
.leaf-single-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}
.leaf-single-large:hover img {
  transform: scale(1.05);
}

/* Grass Shape Dividers */
.divider-grass-light {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M 0,100 L 0,90 Q 6.0,81.2 8.9,61.2 Q 10.9,81.2 20.1,86.2 Q 19.3,59.8 36.4,39.8 Q 38.8,59.8 36.1,88.3 Q 31.7,30.2 21.0,10.2 Q 22.8,30.2 44.1,93.8 Q 42.5,65.4 31.4,45.4 Q 33.2,65.4 55.2,90.4 Q 53.3,32.6 48.5,12.6 Q 50.2,32.6 65.8,91.6 Q 67.5,70.4 76.8,50.4 Q 79.7,70.4 88.2,93.3 Q 81.4,36.4 93.1,16.4 Q 94.8,36.4 93.2,90.8 Q 90.0,59.4 85.7,39.4 Q 86.8,59.4 98.1,92.7 Q 99.3,53.8 110.8,33.8 Q 112.7,53.8 112.9,86.1 Q 108.5,72.8 116.1,52.8 Q 117.2,72.8 116.3,90.3 Q 119.5,65.9 136.3,45.9 Q 138.8,65.9 137.5,88.3 Q 134.2,61.4 140.0,41.4 Q 142.4,61.4 150.6,87.3 Q 149.4,81.1 149.1,61.1 Q 151.9,81.1 168.5,94.2 Q 165.1,47.4 179.5,27.4 Q 182.0,47.4 182.7,91.9 Q 177.9,88.7 192.6,68.7 Q 194.3,88.7 190.2,94.3 Q 191.9,55.7 195.0,35.7 Q 198.0,55.7 212.4,90.5 Q 208.8,83.3 207.0,63.3 Q 209.7,83.3 227.6,93.1 Q 225.8,53.4 233.3,33.4 Q 236.3,53.4 246.8,93.3 Q 238.8,80.3 230.1,60.3 Q 231.5,80.3 248.1,92.1 Q 250.8,72.9 258.9,52.9 Q 261.5,72.9 269.4,94.7 Q 262.4,87.6 272.5,67.6 Q 273.7,87.6 270.9,94.4 Q 269.8,30.8 277.2,10.8 Q 278.5,30.8 278.7,88.9 Q 279.9,57.5 272.8,37.5 Q 274.9,57.5 294.3,86.3 Q 294.2,89.7 298.1,69.7 Q 300.8,89.7 313.3,88.6 Q 309.3,73.1 318.8,53.1 Q 321.1,73.1 325.3,91.4 Q 322.3,85.3 318.0,65.3 Q 320.1,85.3 336.7,86.9 Q 333.1,30.9 327.8,10.9 Q 329.3,30.9 343.7,88.8 Q 344.7,37.4 344.9,17.4 Q 347.3,37.4 361.2,91.9 Q 357.1,42.3 365.6,22.3 Q 367.4,42.3 369.6,88.0 Q 371.0,73.7 376.0,53.7 Q 378.8,73.7 390.8,89.2 Q 386.7,52.5 378.0,32.5 Q 380.4,52.5 403.5,87.8 Q 398.7,73.2 413.3,53.2 Q 414.9,73.2 409.9,87.1 Q 411.1,78.6 401.8,58.6 Q 404.3,78.6 428.8,87.6 Q 426.4,48.9 432.0,28.9 Q 434.6,48.9 444.3,86.7 Q 441.4,62.2 438.7,42.2 Q 441.2,62.2 458.4,91.2 Q 457.3,55.4 452.5,35.4 Q 455.3,55.4 477.6,87.6 Q 471.8,56.7 482.3,36.7 Q 484.2,56.7 485.3,85.5 Q 485.3,50.0 482.9,30.0 Q 485.5,50.0 503.3,91.9 Q 498.0,55.6 506.7,35.6 Q 508.3,55.6 509.5,94.3 Q 509.5,42.5 506.4,22.5 Q 508.6,42.5 525.0,93.6 Q 524.2,88.7 534.8,68.7 Q 537.4,88.7 543.0,92.3 Q 539.4,87.9 537.5,67.9 Q 539.9,87.9 556.0,95.0 Q 551.2,73.7 560.0,53.7 Q 561.6,73.7 562.1,88.1 Q 561.4,34.6 577.2,14.6 Q 579.1,34.6 574.4,93.0 Q 575.5,40.4 578.4,20.4 Q 581.2,40.4 595.4,88.9 Q 592.7,65.0 596.0,45.0 Q 598.8,65.0 612.8,91.0 Q 606.6,63.2 610.4,43.2 Q 612.1,63.2 619.0,94.2 Q 615.3,71.1 618.4,51.1 Q 619.5,71.1 623.2,93.5 Q 622.4,37.0 620.1,17.0 Q 621.4,37.0 631.0,86.2 Q 633.4,80.4 624.3,60.4 Q 626.8,80.4 650.7,88.4 Q 643.8,59.1 646.1,39.1 Q 647.1,59.1 650.9,89.4 Q 652.4,88.4 666.3,68.4 Q 668.1,88.4 665.2,91.1 Q 663.2,40.1 673.2,20.1 Q 675.0,40.1 675.8,87.8 Q 672.6,81.2 676.6,61.2 Q 677.9,81.2 681.9,87.0 Q 681.2,59.8 691.5,39.8 Q 693.0,59.8 691.9,88.6 Q 690.3,75.8 697.5,55.8 Q 699.0,75.8 700.7,90.2 Q 698.5,48.3 688.6,28.3 Q 689.8,48.3 707.2,92.7 Q 707.0,59.2 723.7,39.2 Q 725.3,59.2 718.1,88.4 Q 715.3,50.2 723.1,30.2 Q 724.3,50.2 723.7,94.9 Q 722.2,36.2 723.3,16.2 Q 724.4,36.2 729.9,89.3 Q 730.5,47.9 720.8,27.9 Q 722.5,47.9 742.0,93.6 Q 743.2,41.4 747.1,21.4 Q 749.7,41.4 761.2,89.8 Q 759.8,45.0 758.8,25.0 Q 761.8,45.0 780.4,87.5 Q 775.4,71.3 786.1,51.3 Q 788.4,71.3 791.3,86.1 Q 786.7,59.8 781.8,39.8 Q 783.3,59.8 797.2,92.1 Q 797.2,52.9 798.3,32.9 Q 800.3,52.9 811.1,93.5 Q 810.0,74.4 802.0,54.4 Q 804.3,74.4 826.1,94.9 Q 822.8,59.4 839.9,39.4 Q 841.8,59.4 836.5,86.1 Q 834.2,59.8 843.0,39.8 Q 844.8,59.8 846.9,92.7 Q 842.8,89.3 833.2,69.3 Q 834.3,89.3 850.3,87.5 Q 849.7,34.3 841.3,14.3 Q 842.5,34.3 858.3,94.4 Q 859.1,42.7 855.6,22.7 Q 857.6,42.7 872.6,91.7 Q 868.2,33.3 856.1,13.3 Q 857.2,33.3 876.0,86.9 Q 875.7,45.2 873.4,25.2 Q 874.8,45.2 885.3,85.3 Q 886.6,89.0 879.7,69.0 Q 882.0,89.0 902.3,87.4 Q 900.6,42.3 910.1,22.3 Q 912.6,42.3 917.6,90.8 Q 913.9,86.9 922.8,66.9 Q 924.8,86.9 927.8,87.9 Q 926.1,63.8 919.3,43.8 Q 921.3,63.8 940.6,85.2 Q 939.8,47.0 942.9,27.0 Q 945.4,47.0 957.2,87.1 Q 952.3,33.8 967.7,13.8 Q 969.4,33.8 964.3,92.2 Q 961.6,72.9 970.8,52.9 Q 972.2,72.9 971.4,86.2 Q 970.4,73.4 966.3,53.4 Q 967.8,73.4 981.0,93.1 Q 982.8,37.5 997.9,17.5 Q 1000.5,37.5 1001.1,93.4 Q 999.2,70.7 996.4,50.7 Q 999.3,70.7 1019.1,89.5 Q 1012.2,45.5 1005.1,25.5 Q 1006.6,45.5 1022.6,90.8 Q 1022.9,59.8 1025.9,39.8 Q 1028.0,59.8 1037.4,89.3 Q 1032.3,41.2 1041.4,21.2 Q 1042.5,41.2 1039.6,94.8 Q 1039.3,84.9 1039.6,64.9 Q 1040.9,84.9 1048.3,90.3 Q 1046.2,66.1 1054.3,46.1 Q 1055.4,66.1 1053.5,86.7 Q 1052.3,70.7 1061.1,50.7 Q 1062.1,70.7 1059.4,89.6 Q 1060.1,52.0 1049.2,32.0 Q 1050.8,52.0 1071.3,86.4 Q 1073.0,33.8 1075.0,13.8 Q 1077.7,33.8 1091.9,92.6 Q 1090.1,84.1 1102.1,64.1 Q 1105.0,84.1 1110.9,91.2 Q 1107.9,75.1 1122.0,55.1 Q 1125.0,75.1 1128.8,85.1 Q 1125.6,47.1 1137.7,27.1 Q 1140.7,47.1 1146.1,91.6 Q 1141.2,70.6 1134.7,50.6 Q 1137.0,70.6 1157.1,90.9 Q 1155.4,75.3 1174.7,55.3 Q 1177.2,75.3 1172.8,92.2 Q 1169.0,47.2 1185.0,27.2 Q 1187.1,47.2 1183.4,88.5 Q 1179.1,79.7 1173.0,59.7 Q 1174.3,79.7 1188.3,94.1 Q 1189.9,59.9 1185.8,39.9 Q 1188.1,59.9 1205.8,94.2 L 1200,90 L 1200,100 Z" fill="%23fdfbf9"/></svg>');
  background-size: 1200px 100%;
  background-repeat: repeat-x;
  z-index: 10;
}

.divider-grass-dark {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M 0,100 L 0,90 Q 6.0,81.2 8.9,61.2 Q 10.9,81.2 20.1,86.2 Q 19.3,59.8 36.4,39.8 Q 38.8,59.8 36.1,88.3 Q 31.7,30.2 21.0,10.2 Q 22.8,30.2 44.1,93.8 Q 42.5,65.4 31.4,45.4 Q 33.2,65.4 55.2,90.4 Q 53.3,32.6 48.5,12.6 Q 50.2,32.6 65.8,91.6 Q 67.5,70.4 76.8,50.4 Q 79.7,70.4 88.2,93.3 Q 81.4,36.4 93.1,16.4 Q 94.8,36.4 93.2,90.8 Q 90.0,59.4 85.7,39.4 Q 86.8,59.4 98.1,92.7 Q 99.3,53.8 110.8,33.8 Q 112.7,53.8 112.9,86.1 Q 108.5,72.8 116.1,52.8 Q 117.2,72.8 116.3,90.3 Q 119.5,65.9 136.3,45.9 Q 138.8,65.9 137.5,88.3 Q 134.2,61.4 140.0,41.4 Q 142.4,61.4 150.6,87.3 Q 149.4,81.1 149.1,61.1 Q 151.9,81.1 168.5,94.2 Q 165.1,47.4 179.5,27.4 Q 182.0,47.4 182.7,91.9 Q 177.9,88.7 192.6,68.7 Q 194.3,88.7 190.2,94.3 Q 191.9,55.7 195.0,35.7 Q 198.0,55.7 212.4,90.5 Q 208.8,83.3 207.0,63.3 Q 209.7,83.3 227.6,93.1 Q 225.8,53.4 233.3,33.4 Q 236.3,53.4 246.8,93.3 Q 238.8,80.3 230.1,60.3 Q 231.5,80.3 248.1,92.1 Q 250.8,72.9 258.9,52.9 Q 261.5,72.9 269.4,94.7 Q 262.4,87.6 272.5,67.6 Q 273.7,87.6 270.9,94.4 Q 269.8,30.8 277.2,10.8 Q 278.5,30.8 278.7,88.9 Q 279.9,57.5 272.8,37.5 Q 274.9,57.5 294.3,86.3 Q 294.2,89.7 298.1,69.7 Q 300.8,89.7 313.3,88.6 Q 309.3,73.1 318.8,53.1 Q 321.1,73.1 325.3,91.4 Q 322.3,85.3 318.0,65.3 Q 320.1,85.3 336.7,86.9 Q 333.1,30.9 327.8,10.9 Q 329.3,30.9 343.7,88.8 Q 344.7,37.4 344.9,17.4 Q 347.3,37.4 361.2,91.9 Q 357.1,42.3 365.6,22.3 Q 367.4,42.3 369.6,88.0 Q 371.0,73.7 376.0,53.7 Q 378.8,73.7 390.8,89.2 Q 386.7,52.5 378.0,32.5 Q 380.4,52.5 403.5,87.8 Q 398.7,73.2 413.3,53.2 Q 414.9,73.2 409.9,87.1 Q 411.1,78.6 401.8,58.6 Q 404.3,78.6 428.8,87.6 Q 426.4,48.9 432.0,28.9 Q 434.6,48.9 444.3,86.7 Q 441.4,62.2 438.7,42.2 Q 441.2,62.2 458.4,91.2 Q 457.3,55.4 452.5,35.4 Q 455.3,55.4 477.6,87.6 Q 471.8,56.7 482.3,36.7 Q 484.2,56.7 485.3,85.5 Q 485.3,50.0 482.9,30.0 Q 485.5,50.0 503.3,91.9 Q 498.0,55.6 506.7,35.6 Q 508.3,55.6 509.5,94.3 Q 509.5,42.5 506.4,22.5 Q 508.6,42.5 525.0,93.6 Q 524.2,88.7 534.8,68.7 Q 537.4,88.7 543.0,92.3 Q 539.4,87.9 537.5,67.9 Q 539.9,87.9 556.0,95.0 Q 551.2,73.7 560.0,53.7 Q 561.6,73.7 562.1,88.1 Q 561.4,34.6 577.2,14.6 Q 579.1,34.6 574.4,93.0 Q 575.5,40.4 578.4,20.4 Q 581.2,40.4 595.4,88.9 Q 592.7,65.0 596.0,45.0 Q 598.8,65.0 612.8,91.0 Q 606.6,63.2 610.4,43.2 Q 612.1,63.2 619.0,94.2 Q 615.3,71.1 618.4,51.1 Q 619.5,71.1 623.2,93.5 Q 622.4,37.0 620.1,17.0 Q 621.4,37.0 631.0,86.2 Q 633.4,80.4 624.3,60.4 Q 626.8,80.4 650.7,88.4 Q 643.8,59.1 646.1,39.1 Q 647.1,59.1 650.9,89.4 Q 652.4,88.4 666.3,68.4 Q 668.1,88.4 665.2,91.1 Q 663.2,40.1 673.2,20.1 Q 675.0,40.1 675.8,87.8 Q 672.6,81.2 676.6,61.2 Q 677.9,81.2 681.9,87.0 Q 681.2,59.8 691.5,39.8 Q 693.0,59.8 691.9,88.6 Q 690.3,75.8 697.5,55.8 Q 699.0,75.8 700.7,90.2 Q 698.5,48.3 688.6,28.3 Q 689.8,48.3 707.2,92.7 Q 707.0,59.2 723.7,39.2 Q 725.3,59.2 718.1,88.4 Q 715.3,50.2 723.1,30.2 Q 724.3,50.2 723.7,94.9 Q 722.2,36.2 723.3,16.2 Q 724.4,36.2 729.9,89.3 Q 730.5,47.9 720.8,27.9 Q 722.5,47.9 742.0,93.6 Q 743.2,41.4 747.1,21.4 Q 749.7,41.4 761.2,89.8 Q 759.8,45.0 758.8,25.0 Q 761.8,45.0 780.4,87.5 Q 775.4,71.3 786.1,51.3 Q 788.4,71.3 791.3,86.1 Q 786.7,59.8 781.8,39.8 Q 783.3,59.8 797.2,92.1 Q 797.2,52.9 798.3,32.9 Q 800.3,52.9 811.1,93.5 Q 810.0,74.4 802.0,54.4 Q 804.3,74.4 826.1,94.9 Q 822.8,59.4 839.9,39.4 Q 841.8,59.4 836.5,86.1 Q 834.2,59.8 843.0,39.8 Q 844.8,59.8 846.9,92.7 Q 842.8,89.3 833.2,69.3 Q 834.3,89.3 850.3,87.5 Q 849.7,34.3 841.3,14.3 Q 842.5,34.3 858.3,94.4 Q 859.1,42.7 855.6,22.7 Q 857.6,42.7 872.6,91.7 Q 868.2,33.3 856.1,13.3 Q 857.2,33.3 876.0,86.9 Q 875.7,45.2 873.4,25.2 Q 874.8,45.2 885.3,85.3 Q 886.6,89.0 879.7,69.0 Q 882.0,89.0 902.3,87.4 Q 900.6,42.3 910.1,22.3 Q 912.6,42.3 917.6,90.8 Q 913.9,86.9 922.8,66.9 Q 924.8,86.9 927.8,87.9 Q 926.1,63.8 919.3,43.8 Q 921.3,63.8 940.6,85.2 Q 939.8,47.0 942.9,27.0 Q 945.4,47.0 957.2,87.1 Q 952.3,33.8 967.7,13.8 Q 969.4,33.8 964.3,92.2 Q 961.6,72.9 970.8,52.9 Q 972.2,72.9 971.4,86.2 Q 970.4,73.4 966.3,53.4 Q 967.8,73.4 981.0,93.1 Q 982.8,37.5 997.9,17.5 Q 1000.5,37.5 1001.1,93.4 Q 999.2,70.7 996.4,50.7 Q 999.3,70.7 1019.1,89.5 Q 1012.2,45.5 1005.1,25.5 Q 1006.6,45.5 1022.6,90.8 Q 1022.9,59.8 1025.9,39.8 Q 1028.0,59.8 1037.4,89.3 Q 1032.3,41.2 1041.4,21.2 Q 1042.5,41.2 1039.6,94.8 Q 1039.3,84.9 1039.6,64.9 Q 1040.9,84.9 1048.3,90.3 Q 1046.2,66.1 1054.3,46.1 Q 1055.4,66.1 1053.5,86.7 Q 1052.3,70.7 1061.1,50.7 Q 1062.1,70.7 1059.4,89.6 Q 1060.1,52.0 1049.2,32.0 Q 1050.8,52.0 1071.3,86.4 Q 1073.0,33.8 1075.0,13.8 Q 1077.7,33.8 1091.9,92.6 Q 1090.1,84.1 1102.1,64.1 Q 1105.0,84.1 1110.9,91.2 Q 1107.9,75.1 1122.0,55.1 Q 1125.0,75.1 1128.8,85.1 Q 1125.6,47.1 1137.7,27.1 Q 1140.7,47.1 1146.1,91.6 Q 1141.2,70.6 1134.7,50.6 Q 1137.0,70.6 1157.1,90.9 Q 1155.4,75.3 1174.7,55.3 Q 1177.2,75.3 1172.8,92.2 Q 1169.0,47.2 1185.0,27.2 Q 1187.1,47.2 1183.4,88.5 Q 1179.1,79.7 1173.0,59.7 Q 1174.3,79.7 1188.3,94.1 Q 1189.9,59.9 1185.8,39.9 Q 1188.1,59.9 1205.8,94.2 L 1200,90 L 1200,100 Z" fill="%23372a24"/></svg>');
  background-size: 1200px 100%;
  background-repeat: repeat-x;
  z-index: 10;
}

.divider-grass-light-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 100" preserveAspectRatio="none"><path d="M 0,100 L 0,90 Q 6.0,81.2 8.9,61.2 Q 10.9,81.2 20.1,86.2 Q 19.3,59.8 36.4,39.8 Q 38.8,59.8 36.1,88.3 Q 31.7,30.2 21.0,10.2 Q 22.8,30.2 44.1,93.8 Q 42.5,65.4 31.4,45.4 Q 33.2,65.4 55.2,90.4 Q 53.3,32.6 48.5,12.6 Q 50.2,32.6 65.8,91.6 Q 67.5,70.4 76.8,50.4 Q 79.7,70.4 88.2,93.3 Q 81.4,36.4 93.1,16.4 Q 94.8,36.4 93.2,90.8 Q 90.0,59.4 85.7,39.4 Q 86.8,59.4 98.1,92.7 Q 99.3,53.8 110.8,33.8 Q 112.7,53.8 112.9,86.1 Q 108.5,72.8 116.1,52.8 Q 117.2,72.8 116.3,90.3 Q 119.5,65.9 136.3,45.9 Q 138.8,65.9 137.5,88.3 Q 134.2,61.4 140.0,41.4 Q 142.4,61.4 150.6,87.3 Q 149.4,81.1 149.1,61.1 Q 151.9,81.1 168.5,94.2 Q 165.1,47.4 179.5,27.4 Q 182.0,47.4 182.7,91.9 Q 177.9,88.7 192.6,68.7 Q 194.3,88.7 190.2,94.3 Q 191.9,55.7 195.0,35.7 Q 198.0,55.7 212.4,90.5 Q 208.8,83.3 207.0,63.3 Q 209.7,83.3 227.6,93.1 Q 225.8,53.4 233.3,33.4 Q 236.3,53.4 246.8,93.3 Q 238.8,80.3 230.1,60.3 Q 231.5,80.3 248.1,92.1 Q 250.8,72.9 258.9,52.9 Q 261.5,72.9 269.4,94.7 Q 262.4,87.6 272.5,67.6 Q 273.7,87.6 270.9,94.4 Q 269.8,30.8 277.2,10.8 Q 278.5,30.8 278.7,88.9 Q 279.9,57.5 272.8,37.5 Q 274.9,57.5 294.3,86.3 Q 294.2,89.7 298.1,69.7 Q 300.8,89.7 313.3,88.6 Q 309.3,73.1 318.8,53.1 Q 321.1,73.1 325.3,91.4 Q 322.3,85.3 318.0,65.3 Q 320.1,85.3 336.7,86.9 Q 333.1,30.9 327.8,10.9 Q 329.3,30.9 343.7,88.8 Q 344.7,37.4 344.9,17.4 Q 347.3,37.4 361.2,91.9 Q 357.1,42.3 365.6,22.3 Q 367.4,42.3 369.6,88.0 Q 371.0,73.7 376.0,53.7 Q 378.8,73.7 390.8,89.2 Q 386.7,52.5 378.0,32.5 Q 380.4,52.5 403.5,87.8 Q 398.7,73.2 413.3,53.2 Q 414.9,73.2 409.9,87.1 Q 411.1,78.6 401.8,58.6 Q 404.3,78.6 428.8,87.6 Q 426.4,48.9 432.0,28.9 Q 434.6,48.9 444.3,86.7 Q 441.4,62.2 438.7,42.2 Q 441.2,62.2 458.4,91.2 Q 457.3,55.4 452.5,35.4 Q 455.3,55.4 477.6,87.6 Q 471.8,56.7 482.3,36.7 Q 484.2,56.7 485.3,85.5 Q 485.3,50.0 482.9,30.0 Q 485.5,50.0 503.3,91.9 Q 498.0,55.6 506.7,35.6 Q 508.3,55.6 509.5,94.3 Q 509.5,42.5 506.4,22.5 Q 508.6,42.5 525.0,93.6 Q 524.2,88.7 534.8,68.7 Q 537.4,88.7 543.0,92.3 Q 539.4,87.9 537.5,67.9 Q 539.9,87.9 556.0,95.0 Q 551.2,73.7 560.0,53.7 Q 561.6,73.7 562.1,88.1 Q 561.4,34.6 577.2,14.6 Q 579.1,34.6 574.4,93.0 Q 575.5,40.4 578.4,20.4 Q 581.2,40.4 595.4,88.9 Q 592.7,65.0 596.0,45.0 Q 598.8,65.0 612.8,91.0 Q 606.6,63.2 610.4,43.2 Q 612.1,63.2 619.0,94.2 Q 615.3,71.1 618.4,51.1 Q 619.5,71.1 623.2,93.5 Q 622.4,37.0 620.1,17.0 Q 621.4,37.0 631.0,86.2 Q 633.4,80.4 624.3,60.4 Q 626.8,80.4 650.7,88.4 Q 643.8,59.1 646.1,39.1 Q 647.1,59.1 650.9,89.4 Q 652.4,88.4 666.3,68.4 Q 668.1,88.4 665.2,91.1 Q 663.2,40.1 673.2,20.1 Q 675.0,40.1 675.8,87.8 Q 672.6,81.2 676.6,61.2 Q 677.9,81.2 681.9,87.0 Q 681.2,59.8 691.5,39.8 Q 693.0,59.8 691.9,88.6 Q 690.3,75.8 697.5,55.8 Q 699.0,75.8 700.7,90.2 Q 698.5,48.3 688.6,28.3 Q 689.8,48.3 707.2,92.7 Q 707.0,59.2 723.7,39.2 Q 725.3,59.2 718.1,88.4 Q 715.3,50.2 723.1,30.2 Q 724.3,50.2 723.7,94.9 Q 722.2,36.2 723.3,16.2 Q 724.4,36.2 729.9,89.3 Q 730.5,47.9 720.8,27.9 Q 722.5,47.9 742.0,93.6 Q 743.2,41.4 747.1,21.4 Q 749.7,41.4 761.2,89.8 Q 759.8,45.0 758.8,25.0 Q 761.8,45.0 780.4,87.5 Q 775.4,71.3 786.1,51.3 Q 788.4,71.3 791.3,86.1 Q 786.7,59.8 781.8,39.8 Q 783.3,59.8 797.2,92.1 Q 797.2,52.9 798.3,32.9 Q 800.3,52.9 811.1,93.5 Q 810.0,74.4 802.0,54.4 Q 804.3,74.4 826.1,94.9 Q 822.8,59.4 839.9,39.4 Q 841.8,59.4 836.5,86.1 Q 834.2,59.8 843.0,39.8 Q 844.8,59.8 846.9,92.7 Q 842.8,89.3 833.2,69.3 Q 834.3,89.3 850.3,87.5 Q 849.7,34.3 841.3,14.3 Q 842.5,34.3 858.3,94.4 Q 859.1,42.7 855.6,22.7 Q 857.6,42.7 872.6,91.7 Q 868.2,33.3 856.1,13.3 Q 857.2,33.3 876.0,86.9 Q 875.7,45.2 873.4,25.2 Q 874.8,45.2 885.3,85.3 Q 886.6,89.0 879.7,69.0 Q 882.0,89.0 902.3,87.4 Q 900.6,42.3 910.1,22.3 Q 912.6,42.3 917.6,90.8 Q 913.9,86.9 922.8,66.9 Q 924.8,86.9 927.8,87.9 Q 926.1,63.8 919.3,43.8 Q 921.3,63.8 940.6,85.2 Q 939.8,47.0 942.9,27.0 Q 945.4,47.0 957.2,87.1 Q 952.3,33.8 967.7,13.8 Q 969.4,33.8 964.3,92.2 Q 961.6,72.9 970.8,52.9 Q 972.2,72.9 971.4,86.2 Q 970.4,73.4 966.3,53.4 Q 967.8,73.4 981.0,93.1 Q 982.8,37.5 997.9,17.5 Q 1000.5,37.5 1001.1,93.4 Q 999.2,70.7 996.4,50.7 Q 999.3,70.7 1019.1,89.5 Q 1012.2,45.5 1005.1,25.5 Q 1006.6,45.5 1022.6,90.8 Q 1022.9,59.8 1025.9,39.8 Q 1028.0,59.8 1037.4,89.3 Q 1032.3,41.2 1041.4,21.2 Q 1042.5,41.2 1039.6,94.8 Q 1039.3,84.9 1039.6,64.9 Q 1040.9,84.9 1048.3,90.3 Q 1046.2,66.1 1054.3,46.1 Q 1055.4,66.1 1053.5,86.7 Q 1052.3,70.7 1061.1,50.7 Q 1062.1,70.7 1059.4,89.6 Q 1060.1,52.0 1049.2,32.0 Q 1050.8,52.0 1071.3,86.4 Q 1073.0,33.8 1075.0,13.8 Q 1077.7,33.8 1091.9,92.6 Q 1090.1,84.1 1102.1,64.1 Q 1105.0,84.1 1110.9,91.2 Q 1107.9,75.1 1122.0,55.1 Q 1125.0,75.1 1128.8,85.1 Q 1125.6,47.1 1137.7,27.1 Q 1140.7,47.1 1146.1,91.6 Q 1141.2,70.6 1134.7,50.6 Q 1137.0,70.6 1157.1,90.9 Q 1155.4,75.3 1174.7,55.3 Q 1177.2,75.3 1172.8,92.2 Q 1169.0,47.2 1185.0,27.2 Q 1187.1,47.2 1183.4,88.5 Q 1179.1,79.7 1173.0,59.7 Q 1174.3,79.7 1188.3,94.1 Q 1189.9,59.9 1185.8,39.9 Q 1188.1,59.9 1205.8,94.2 L 1200,90 L 1200,100 Z" fill="%23fdfbf9"/></svg>');
  background-size: 1200px 100%;
  background-repeat: repeat-x;
  transform: rotate(180deg);
  z-index: 10;
}

/* ============================================
   UI/UX PRO MAX â€” ANIMATION SYSTEM
   Priority 7: Animation (MEDIUM)
   
   Rules enforced:
   âœ“ duration-timing: 150-300ms micro, â‰¤400ms complex
   âœ“ transform-performance: transform/opacity ONLY
   âœ“ easing: ease-out enter, ease-in exit
   âœ“ spring-physics: cubic-bezier(0.175, 0.885, 0.32, 1.275)
   âœ“ stagger-sequence: 30-50ms per item
   âœ“ exit-faster-than-enter: exit ~70% of enter
   âœ“ scale-feedback: 0.95-1.05 on press
   âœ“ motion-meaning: every animation = cause-effect
   âœ“ reduced-motion: respects prefers-reduced-motion
   âœ“ layout-shift-avoid: no CLS from animations
   ============================================ */

/* --- MOTION TOKENS --- */
:root {
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-enter: cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-exit: cubic-bezier(0.4, 0.0, 1, 1);
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);
  --dur-micro: 200ms;
  --dur-enter: 500ms;
  --dur-exit: 350ms;
  --dur-complex: 600ms;
}

/* --- KEYFRAMES --- */
@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeftFade {
  from { opacity: 0; transform: translateX(-36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRightFade {
  from { opacity: 0; transform: translateX(36px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(232, 109, 181, 0.18); transform: scale(1); }
  50%      { box-shadow: 0 4px 28px rgba(232, 109, 181, 0.35); transform: scale(1.02); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- SCROLL REVEAL (IntersectionObserver driven) --- */

/* Base: fade up â€” hierarchy-motion rule (enter from below = deeper) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 
    opacity var(--dur-enter) var(--ease-enter),
    transform var(--dur-enter) var(--ease-spring);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left â€” spatial continuity for images */
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: 
    opacity var(--dur-enter) var(--ease-enter),
    transform var(--dur-enter) var(--ease-spring);
  will-change: opacity, transform;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: 
    opacity var(--dur-enter) var(--ease-enter),
    transform var(--dur-enter) var(--ease-spring);
  will-change: opacity, transform;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in â€” for cards, CTA blocks (pop emphasis) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: 
    opacity var(--dur-enter) var(--ease-enter),
    transform var(--dur-enter) var(--ease-spring);
  will-change: opacity, transform;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Fade only â€” minimal, for text */
.reveal-fade {
  opacity: 0;
  transition: opacity var(--dur-enter) var(--ease-enter);
  will-change: opacity;
}
.reveal-fade.visible {
  opacity: 1;
}

/* --- STAGGER DELAYS (50ms per item â€” MD stagger-sequence rule) --- */
.stagger-1 { transition-delay: 50ms; }
.stagger-2 { transition-delay: 100ms; }
.stagger-3 { transition-delay: 150ms; }
.stagger-4 { transition-delay: 200ms; }
.stagger-5 { transition-delay: 250ms; }
.stagger-6 { transition-delay: 300ms; }
.stagger-7 { transition-delay: 350ms; }
.stagger-8 { transition-delay: 400ms; }

/* --- HERO TEXT ENTRANCE (spring-physics, stagger-sequence) --- */
.hero-content h1 {
  animation: slideUpFade 650ms var(--ease-spring) backwards;
}
.hero-content p {
  animation: slideUpFade 600ms var(--ease-spring) 120ms backwards;
}
.hero-content .btn {
  animation: slideUpFade 500ms var(--ease-spring) 240ms backwards;
}

/* --- NAVBAR MORPH (state-transition: smooth, not snap) --- */
.navbar {
  transition: 
    box-shadow var(--dur-micro) var(--ease-standard),
    background var(--dur-micro) var(--ease-standard);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(55, 42, 36, 0.06);
  background: rgba(253, 251, 249, 0.96);
}

/* --- NAV LINK UNDERLINE (motion-meaning: shows active state) --- */
@media (min-width: 769px) {
  .nav-links a {
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    border-radius: 1px;
    transition: width 250ms var(--ease-spring), left 250ms var(--ease-spring);
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    width: 100%;
    left: 0;
  }
}

/* --- CTA BUTTON: Pulse glow + scale-feedback on press --- */
.btn-primary {
  animation: pulseGlow 3.5s ease-in-out infinite;
  transition: transform var(--dur-micro) var(--ease-spring);
}
.btn-primary:hover {
  animation: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active {
  transform: scale(0.96);
  animation: none;
}

/* --- ALL BUTTONS: scale-feedback (0.95-1.05 per spec) --- */
.btn {
  transition: 
    transform var(--dur-micro) var(--ease-spring),
    box-shadow var(--dur-micro) var(--ease-standard),
    background var(--dur-micro) var(--ease-standard);
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.96);
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  animation: none;
  transform: none !important;
}

/* --- BENTO CARDS: spring hover + scale-feedback --- */
.bento-item {
  transition: 
    transform 350ms var(--ease-spring),
    box-shadow 250ms var(--ease-standard);
}
.bento-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.bento-item:active {
  transform: scale(0.97);
}

/* --- STAT BAR: numbers emphasis --- */
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}
.stat-item {
  transition: transform 300ms var(--ease-spring);
}
.stat-item:hover {
  transform: scale(1.05);
}

/* --- INSTAGRAM GRID: playful hover (spring + rotate) --- */
.insta-item {
  transition: 
    transform 300ms var(--ease-spring),
    box-shadow var(--dur-micro) var(--ease-standard);
}
.insta-item:hover {
  transform: scale(1.04) rotate(-1.5deg);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.insta-item:active {
  transform: scale(0.97) rotate(0deg);
}

/* --- LEAF SHAPES: hover scale --- */
.leaf-shape {
  transition: transform 300ms var(--ease-spring);
}
.leaf-shape:hover {
  transform: scale(1.04);
  z-index: 10;
}

/* --- TEAM SLIDESHOW: crossfade (fade-crossfade rule) --- */
.team-slideshow img {
  transition: opacity 800ms var(--ease-standard);
}

/* --- FOOTER LINKS: slide-right on hover --- */
.footer-links a {
  transition: 
    transform var(--dur-micro) var(--ease-enter),
    color var(--dur-micro) var(--ease-standard);
  display: inline-block;
}
.footer-links a:hover {
  transform: translateX(4px);
  color: var(--primary-500);
}

/* --- CONTACT FORM: focus glow (state-transition: smooth) --- */
.form-control {
  transition: 
    border-color var(--dur-micro) var(--ease-standard),
    box-shadow var(--dur-micro) var(--ease-standard);
}
.form-control:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(232, 109, 181, 0.15);
  outline: none;
}

/* --- CARD HOVER: info/form cards --- */
.contact-info-card,
.contact-form-card {
  transition: 
    transform 300ms var(--ease-spring),
    box-shadow 250ms var(--ease-standard);
}
.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- SERVICE CARDS on services page --- */
.service-detail {
  transition: 
    transform 300ms var(--ease-spring),
    box-shadow 250ms var(--ease-standard);
}

/* --- ABOUT PAGE: story split --- */
.about-split > *:first-child {
  transition: 
    opacity var(--dur-enter) var(--ease-enter),
    transform var(--dur-enter) var(--ease-spring);
}

/* --- LOADING SHIMMER (for async content) --- */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--surface-100) 25%,
    var(--surface-50) 50%,
    var(--surface-100) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* --- DECORATIVE FLOAT (botanical) --- */
.float-anim {
  animation: floatSoft 5s ease-in-out infinite;
}

/* --- HERO IMAGE CROSSFADE --- */
.hero {
  overflow: hidden;
}
.hero-bg {
  transition: opacity 1.2s var(--ease-standard);
}

/* ============================================
   REDUCED MOTION â€” CRITICAL (Priority 1)
   Respects prefers-reduced-motion (WCAG 2.3.3)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-fade {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .hero-bg {
    transition: none !important;
  }
}

