:root {
  --color-primary: #4A3728;
  --color-secondary: #9C8B7A;
  --color-accent: #E07B54;
  --color-bg-light: #FFFAF7;
  --color-bg-alt: #FFF5F0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

::selection {
  background-color: #E07B54;
  color: white;
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

*:focus-visible {
  outline: 2px solid #E07B54;
  outline-offset: 2px;
}

.btn-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.text-gradient {
  background: linear-gradient(135deg, #4A3728, #E07B54);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blob-gradient {
  background: radial-gradient(circle, #E07B54 0%, transparent 70%);
  filter: blur(60px);
}

input:focus, textarea:focus, select:focus {
  border-color: #E07B54;
  box-shadow: 0 0 0 3px #E07B5420;
}

#site-header {
  will-change: transform;
}

body {
  background:
    radial-gradient(900px 500px at 12% 12%, rgba(224, 123, 84, 0.12), transparent 60%),
    radial-gradient(700px 420px at 88% 22%, rgba(156, 139, 122, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(255, 250, 247, 1) 0%, rgba(255, 255, 255, 1) 38%);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll,
  .animate-fade-in,
  .animate-fade-in-up,
  .btn-hover-lift,
  .card-hover {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}