/* ============================================
   ANAHATA — Base Styles & Reset
   --------------------------------------------
   Modern reset + base typography & body styles.
   Loads after variables.css.
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle paper-tint overlay across the whole site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(111, 128, 73, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(192, 137, 74, 0.04) 0%, transparent 40%);
}

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

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

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

ul,
ol {
  list-style: none;
}

/* ---- Layout helper ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  position: relative;
  z-index: 2;
}

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--accent-2);
  display: inline-block;
  transform: rotate(-2deg);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 300;
  color: var(--sage-800);
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

.section-title em {
  font-style: italic;
  color: var(--sage-600);
}

/* ---- Visually hidden (a11y) ---- */
.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;
}

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