/* ============================================
   ZoiStudio — Landing Page
     Base Styles
*============================================ */

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

:root {
    --cream: #FDF9F3;
    --cream-deep: #F5EDE2;
    --dark: #2D5B3D;
    --muted: #7A9E76;
    --light: #A8C4A0;
    --pale: #D4E4D2;
    --grey-border: #D8DFD2;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-bg-hover: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 8px 32px rgba(45, 91, 61, 0.08);
    --shadow-hover: 0 12px 40px rgba(45, 91, 61, 0.14);
    --transition-smooth: 0.35s cubic-bezier(0.25, 0.46, 0.4, 0.92);
   --bg-cream: #FDF9F3;
   --bg-muted: #DCE8DA;
   --pale-deep: #C8D8C4;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--dark);
  opacity: 0.88;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth),
              transform 0.8s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.35s; }
