/* ===================================
   STASIA McGEHEE LANDSCAPE DESIGN
   Base Styles & Typography
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  /* Earth-toned palette with golden California light */
  --sage: #7A8B6F;
  --sage-light: #9BAF8E;
  --sage-dark: #5A6B4F;
  --earth: #8B7355;
  --earth-light: #C4A882;
  --earth-dark: #6B5340;
  --sand: #E8DFD0;
  --sand-light: #F5F0E8;
  --cream: #FAF7F2;
  --charcoal: #2C2C2C;
  --charcoal-light: #4A4A4A;
  --warm-white: #FEFCF9;
  --gold: #C9A96E;
  --gold-light: #E4D5B0;
  --terracotta: #C2785C;
  --moss: #4A5D3E;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --content-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  max-width: 60ch;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--sage);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

@keyframes gentlePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ===================================
   GRAIN / TEXTURE OVERLAY
   =================================== */

body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}
