@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

:root {
  --fj-ink: #14291f;
  --fj-leaf: #047857;
  --fj-leaf-dark: #065f46;
  --fj-cream: #f6f4ec;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--fj-cream);
  color: var(--fj-ink);
}

.fj-serif {
  font-family: 'Fraunces', Georgia, serif;
}

.fj-row {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.fj-row:hover {
  transform: translateY(-3px);
}

.fj-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.fj-accordion-panel.fj-open {
  max-height: 900px;
}

.fj-accordion-chevron {
  transition: transform 0.3s ease;
}

.fj-accordion-trigger[aria-expanded="true"] .fj-accordion-chevron {
  transform: rotate(180deg);
}

.fj-counter {
  font-variant-numeric: tabular-nums;
}

#fj-cookie-banner {
  transform: translateY(120%);
  transition: transform 0.5s ease;
}

#fj-cookie-banner.fj-visible {
  transform: translateY(0);
}

.fj-scrollbar-thin::-webkit-scrollbar {
  height: 6px;
}

.fj-scrollbar-thin::-webkit-scrollbar-thumb {
  background-color: #a7bfae;
  border-radius: 9999px;
}

.fj-tag {
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fj-row,
  .fj-accordion-panel,
  .fj-accordion-chevron,
  #fj-cookie-banner {
    transition: none;
  }
}
