/* ==========================================================================
   Mandy O'Brien — Standalone Production Design System & Utility CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --color-brand-sage: #2E4A3D;
  --color-brand-sage-dark: #1E332A;
  --color-brand-sage-light: #446857;
  --color-brand-cream: #FBF9F5;
  --color-brand-sand: #EFECE6;
  --color-brand-terracotta: #C87D65;
  --color-brand-terracotta-dark: #A8624C;
  --color-brand-charcoal: #1F2421;
  --color-brand-gold: #D4AF37;
}

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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-brand-cream);
  color: var(--color-brand-charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* BRAND COLORS */
.bg-brand-sage { background-color: #2E4A3D !important; }
.bg-brand-sage-dark { background-color: #1E332A !important; }
.bg-brand-sage-light { background-color: #446857 !important; }
.bg-brand-cream { background-color: #FBF9F5 !important; }
.bg-brand-sand { background-color: #EFECE6 !important; }
.bg-brand-terracotta { background-color: #C87D65 !important; }
.bg-brand-terracotta-dark { background-color: #A8624C !important; }
.bg-brand-charcoal { background-color: #1F2421 !important; }
.bg-brand-gold { background-color: #D4AF37 !important; }

.text-brand-sage { color: #2E4A3D !important; }
.text-brand-sage-dark { color: #1E332A !important; }
.text-brand-sage-light { color: #446857 !important; }
.text-brand-cream { color: #FBF9F5 !important; }
.text-brand-sand { color: #EFECE6 !important; }
.text-brand-terracotta { color: #C87D65 !important; }
.text-brand-terracotta-dark { color: #A8624C !important; }
.text-brand-charcoal { color: #1F2421 !important; }
.text-brand-gold { color: #D4AF37 !important; }

.border-brand-sage { border-color: #2E4A3D !important; }
.border-brand-sand { border-color: #EFECE6 !important; }
.border-brand-terracotta { border-color: #C87D65 !important; }

/* STANDARD COLOR UTILITIES */
.bg-white { background-color: #ffffff !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.bg-white\/90 { background-color: rgba(255, 255, 255, 0.9) !important; }
.bg-black { background-color: #000000 !important; }
.bg-stone-50 { background-color: #fafaf9 !important; }
.bg-stone-100 { background-color: #f5f5f4 !important; }
.bg-stone-200 { background-color: #e7e5e4 !important; }
.bg-stone-800 { background-color: #292524 !important; }
.bg-stone-900 { background-color: #1c1917 !important; }
.bg-stone-900\/50 { background-color: rgba(28, 25, 23, 0.5) !important; }

.text-white { color: #ffffff !important; }
.text-stone-300 { color: #d6d3d1 !important; }
.text-stone-400 { color: #a8a29e !important; }
.text-stone-500 { color: #78716c !important; }
.text-stone-600 { color: #57534e !important; }
.text-stone-700 { color: #44403c !important; }
.text-stone-800 { color: #292524 !important; }
.text-stone-900 { color: #1c1917 !important; }

.border-stone-200 { border-color: #e7e5e4 !important; }
.border-stone-200\/60 { border-color: rgba(231, 229, 228, 0.6) !important; }
.border-stone-300 { border-color: #d6d3d1 !important; }
.border-stone-700 { border-color: #44403c !important; }
.border-stone-700\/60 { border-color: rgba(68, 64, 60, 0.6) !important; }
.border-stone-800 { border-color: #292524 !important; }

/* DISPLAY & FLEXBOX & GRID */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.hidden { display: none !important; }

.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-grow { flex-grow: 1 !important; }
.shrink-0 { flex-shrink: 0 !important; }

.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.items-end { align-items: flex-end !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }
.justify-end { justify-content: flex-end !important; }
.justify-start { justify-content: flex-start !important; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-12 { gap: 3rem !important; }

.space-x-2 > * + * { margin-left: 0.5rem !important; }
.space-x-3 > * + * { margin-left: 0.75rem !important; }
.space-x-4 > * + * { margin-left: 1rem !important; }
.space-x-6 > * + * { margin-left: 1.5rem !important; }
.space-x-8 > * + * { margin-left: 2rem !important; }

.space-y-2 > * + * { margin-top: 0.5rem !important; }
.space-y-2\.5 > * + * { margin-top: 0.625rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }
.space-y-4 > * + * { margin-top: 1rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }
.space-y-8 > * + * { margin-top: 2rem !important; }

/* POSITIONING */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.fixed { position: fixed !important; }
.sticky { position: sticky !important; }
.top-0 { top: 0 !important; }
.left-0 { left: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.top-4 { top: 1rem !important; }
.left-4 { left: 1rem !important; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; !important; }
.inset-y-0 { top: 0; bottom: 0; !important; }
.z-10 { z-index: 10 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }

/* SIZING */
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.min-h-screen { min-height: 100vh !important; }
.h-20 { height: 5rem !important; }
.h-48 { height: 12rem !important; }
.h-64 { height: 16rem !important; }

.w-4 { width: 1rem !important; } .h-4 { height: 1rem !important; }
.w-5 { width: 1.25rem !important; } .h-5 { height: 1.25rem !important; }
.w-6 { width: 1.5rem !important; } .h-6 { height: 1.5rem !important; }
.w-8 { width: 2rem !important; } .h-8 { height: 2rem !important; }
.w-9 { width: 2.25rem !important; } .h-9 { height: 2.25rem !important; }
.w-10 { width: 2.5rem !important; } .h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; } .h-12 { height: 3rem !important; }
.w-16 { width: 4rem !important; } .h-16 { height: 4rem !important; }
.w-64 { width: 16rem !important; }

.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-5xl { max-width: 64rem !important; }
.max-w-6xl { max-width: 72rem !important; }
.max-w-7xl { max-width: 80rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* SPACING (PADDING & MARGIN) */
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }

.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

.pt-2 { padding-top: 0.5rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-16 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 1.5rem !important; }
.pb-12 { padding-bottom: 3rem !important; }

.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.ml-2 { margin-left: 0.5rem !important; }

/* TYPOGRAPHY */
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.text-5xl { font-size: 3rem !important; line-height: 1 !important; }
.text-6xl { font-size: 3.75rem !important; line-height: 1 !important; }

.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }

.uppercase { text-transform: uppercase !important; }
.capitalize { text-transform: capitalize !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }

.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-snug { line-height: 1.375 !important; }
.leading-normal { line-height: 1.5 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.leading-loose { line-height: 2 !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.line-clamp-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.line-clamp-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* BORDERS & SHADOWS */
.rounded-none { border-radius: 0px !important; }
.rounded-sm { border-radius: 0.125rem !important; }
.rounded-md { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

.border { border-width: 1px !important; }
.border-t { border-top-width: 1px !important; }
.border-b { border-bottom-width: 1px !important; }
.border-l { border-left-width: 1px !important; }
.border-r { border-right-width: 1px !important; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* GLASSMORPHISM & ANIMATIONS */
.glass-panel {
  background: rgba(251, 249, 245, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(239, 236, 230, 0.8) !important;
}

.glass-dark {
  background: rgba(30, 51, 42, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hover-lift:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

.hover\:bg-brand-sage-dark:hover { background-color: #1E332A !important; }
.hover\:bg-brand-terracotta:hover { background-color: #C87D65 !important; }
.hover\:bg-stone-100:hover { background-color: #f5f5f4 !important; }
.hover\:bg-stone-200\/50:hover { background-color: rgba(231, 229, 228, 0.5) !important; }

.hover\:text-white:hover { color: #ffffff !important; }
.hover\:text-brand-cream:hover { color: #FBF9F5 !important; }
.hover\:text-brand-terracotta:hover { color: #C87D65 !important; }
.hover\:underline:hover { text-decoration-line: underline !important; }

.object-cover { object-fit: cover !important; }
.overflow-hidden { overflow: hidden !important; }

/* RESPONSIVE MEDIA QUERIES */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
  .sm\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:flex-row { flex-direction: row !important; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:space-x-4 > * + * { margin-left: 1rem !important; }
  .md\:space-x-8 > * + * { margin-left: 2rem !important; }
  .md\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .md\:static { position: static !important; }
  .md\:relative { position: relative !important; }
  .md\:z-auto { z-index: auto !important; }
  .md\:w-64 { width: 16rem !important; }
  .md\:shrink-0 { flex-shrink: 0 !important; }
  .md\:translate-x-0 { transform: translateX(0) !important; }
}

@media (min-width: 1024px) {
  .lg\:px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* HERO GLASS & ANIMATED NODES (INSPIRED BY REFERENCE IMAGE) */
.hero-glass-pill {
  background: rgba(17, 29, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-node-badge {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0), 0 0 25px rgba(200, 125, 101, 0.8);
  }
}

.glow-node {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

