:root {
  --brand-teal: #14B4B4;
  --brand-teal-dark: #0f9696;
  --brand-teal-soft: rgba(20, 180, 180, 0.08);
  --brand-teal-border: rgba(20, 180, 180, 0.22);
  --brand-gold: #E1B168;
  --text-heading: #1f2937;
  --text-body: #4b5563;
  --surface-light: #f9fafb;
  --surface-muted: #f3f4f6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Josefin Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-heading);
  background-color: var(--surface-light);
  -webkit-font-smoothing: antialiased;
}

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

/* Smooth modern marquee */
@keyframes marquee-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

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

/* Subtle entrance animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Active nav underline */
.nav-link {
  position: relative;
  padding: 0.375rem 0.25rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--brand-teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--brand-teal);
  font-weight: 600;
}

/* Modern card lift */
.modern-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.modern-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -14px rgba(17, 24, 39, 0.12), 0 4px 12px -4px rgba(20, 180, 180, 0.14);
  border-color: var(--brand-teal-border);
}

/* Accordion smooth toggle */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.accordion-icon {
  transition: transform 0.25s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
}
