:root {
  --radius: 0.25rem;

  --background: #fbf9f5;
  --foreground: #423d38;

  --card: #f7f4ee;
  --card-foreground: #423d38;
  --popover: #fbf9f5;
  --popover-foreground: #423d38;

  --primary: #cd8b4e;
  --primary-foreground: #fcfaf7;

  --secondary: #ede7de;
  --secondary-foreground: #4a3b32;

  --muted: #f2ece3;
  --muted-foreground: #7a7067;

  --accent: #cd8b4e;
  --accent-foreground: #fdfbf8;

  --destructive: #99262b;
  --destructive-foreground: #fdfbf8;

  --border: #e2dad0;
  --input: #ded5c9;
  --ring: #cd8b4e;

  --sand: #e6d0b9;
  --clay: #a0481c;
  --rose: #f5e4e3;
  --wine: #cd8b4e;
  --wine-deep: #a0481c;
  --cocoa: #564034;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
}

::selection {
  background-color: var(--wine);
  color: var(--primary-foreground);
}

.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.accent-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--clay);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-in {
  opacity: 1;
  transform: none;
}

.link-underline {
  position: relative;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-underline:hover::after {
  transform: scaleX(1);
}

@keyframes kenburns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.16) translate3d(0, -1.5%, 0);
  }
}

.animate-kenburns {
  animation: kenburns 24s ease-out forwards;
}

@keyframes scroll-hint {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.animate-scroll-hint {
  animation: scroll-hint 2.4s ease-in-out infinite;
}

@keyframes fade-soft {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.animate-fade-soft {
  animation: fade-soft 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}