@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg-primary: #FDFBF7;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #F4EFE6;
  --color-primary-crust: #8B5A2B;
  --color-primary-espresso: #261B14;
  --color-secondary-terracotta: #C86446;
  --color-accent-sage: #5C6B57;
  --color-border: #E8DFD3;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-primary-espresso);
}

.font-serif {
  font-family: 'Fraunces', Georgia, serif;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #F4EFE6;
}

::-webkit-scrollbar-thumb {
  background: #D8CCC0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8B5A2B;
}

/* Organic textures and utilities */
.bg-grain {
  background-image: radial-gradient(rgba(38, 27, 20, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Interactive transitions */
button, a {
  transition: all 0.2s ease-in-out;
}

