@font-face {
  font-family: "Nunito Sans Local";
  src: local("Nunito Sans"), local("Arial");
  font-display: swap;
}

@font-face {
  font-family: "Lora Local";
  src: local("Lora"), local("Georgia");
  font-display: swap;
}

:root {
  --radius: 1rem;
  --background: #f5f0e0;
  --foreground: #064e3b;
  --cream: #f5f0e0;
  --card: #ffffff;
  --primary: #064e3b;
  --primary-foreground: #f5f0e0;
  --leaf: #0d7a5f;
  --earth: #d4b45c;
  --secondary: #ece6d3;
  --muted-foreground: #4a6b5a;
  --accent: #d4b45c;
  --accent-strong: #846014;
  --border: rgba(6, 78, 59, 0.14);
  --input: rgba(6, 78, 59, 0.18);
  --danger: #b42318;
  --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgba(6, 78, 59, 0.25);
  --shadow-lift: 0 10px 40px -12px rgba(6, 78, 59, 0.35);
  --font-sans: "Nunito Sans Local", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Lora Local", Georgia, ui-serif, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-synthesis-style: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

em,
i,
cite {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

strong {
  color: var(--foreground);
}

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 80;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--accent);
  color: var(--foreground);
  padding: 0.75rem 1rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
