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

:root {
  --cream: #FAF7F2;
  --cream-dark: #F2EDE4;
  --espresso: #1C1209;
  --terra: #C4622D;
  --gold: #C9963A;
  --sage: #6B7C5E;
  --stone: #8C7B6B;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--espresso);
}

.display {
  font-family: 'Cormorant Garamond', serif;
}

/* Background Grain Overlay */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Webkit scrollbar adjustments */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Animations */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-text-1 { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero-text-2 { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }
.hero-text-3 { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.hero-text-4 { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero-text-5 { animation: heroIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }

.float-card {
  animation: float 5s ease-in-out infinite;
}

.ticker-track {
  animation: ticker 32s linear infinite;
  display: flex;
  width: max-content;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.gold-shimmer {
  background: linear-gradient(90deg, var(--gold) 0%, #f3c26d 45%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 18, 9, 0.85) 0%, rgba(28, 18, 9, 0.15) 60%, transparent 100%);
}

/* Scroll reveal helper classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}
