/* ==========================================================================
   Nutrivoo — Base Reset & Typography
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: 84px;
}

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

::selection {
  background: var(--emerald-100);
  color: var(--forest-900);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  line-height: 1.16;
  color: var(--ink-strong);
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

ul {
  list-style: none;
}

.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.text-white { color: #FFFFFF !important; }
.text-emerald { color: var(--emerald-600) !important; }
.text-emerald-100 { color: #D1FAE5 !important; }
.text-emerald-300 { color: var(--emerald-300) !important; }
.text-amber { color: var(--amber-400) !important; }
.bg-white { background-color: var(--bg-surface); }
.border-y {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.border-t {
  border-top: 1px solid var(--border-subtle);
}

.text-gradient-emerald {
  background: linear-gradient(125deg, #047857 0%, #10B981 55%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.is-hidden {
  display: none !important;
}

.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Icons */
.icon-svg { width: 20px; height: 20px; flex-shrink: 0; }
.icon-xs { width: 15px; height: 15px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
.icon-md { width: 22px; height: 22px; flex-shrink: 0; }

/* Editorial Photo Zoom */
.editorial-photo-wrap {
  overflow: hidden;
}
.editorial-photo-wrap img {
  transition: transform 0.6s var(--ease-out);
}
.editorial-photo-wrap:hover img {
  transform: scale(1.04);
}

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

