/* Custom utility classes and animations that mirror the original
   Tailwind v4 @utility / @keyframes definitions from src/styles.css. */

:root {
  --brand: oklch(0.396 0.187 297.5);
  --brand-deep: oklch(0.451 0.213 299);
  --brand-bright: oklch(0.541 0.246 293);
  --brand-soft: oklch(0.968 0.014 300);
  --orange: oklch(0.72 0.191 51);
  --orange-soft: oklch(0.963 0.019 55);
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: oklch(1 0 0);
  color: oklch(0.19 0.008 275);
}

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

body {
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  letter-spacing: -0.03em;
}

:focus-visible {
  outline: 2px solid oklch(0.541 0.246 293);
  outline-offset: 2px;
}

.section-pad {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.box-shadow {
  box-shadow: 0 0.5rem 1rem oklch(0.19 0.008 275 / 0.03);
}

.box-shadow:hover {
  box-shadow: 0 0.5rem 1rem oklch(0.19 0.008 275 / 0.16);
}

@media (min-width: 1024px) {
  .section-pad {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.541 0.246 293);
}

/* Scroll-reveal: fades and lifts elements into view once, toggled by js/main.js */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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



@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.animate-soft-float {
  animation: soft-float 6s ease-in-out infinite;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-slow-spin {
  animation: slow-spin 26s linear infinite;
}
