/* ============================================================
   theme.css — Organic & Earthy design tokens + reset
   Sourced directly from design_guidelines.json
   ============================================================ */

:root {
  /* Colors */
  --background: #F9F8F6;
  --surface: #FFFFFF;
  --primary: #82937E;
  --primary-hover: #6C7A68;
  --text-main: #2C332A;
  --text-muted: #6E7A6B;
  --accent: #C79D8E;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 80rem;       /* max-w-7xl */
  --container-pad: 1.5rem;      /* px-6 */
  --container-pad-md: 3rem;     /* md:px-12 */
  --section-gap: 8rem;          /* py-32-ish */
  --radius: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 300ms;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(44, 51, 42, 0.05);
  --shadow-glass: 0 18px 50px -20px rgba(44, 51, 42, 0.30);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  margin: 0;
  line-height: 1.05;
  font-weight: 400;
}

p { margin: 0; }

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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