/* ==========================================================================
   Base & Resets - BOTANICA
   ========================================================================== */

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

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

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  
  /* Subtle grain texture for organic feel */
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)" opacity="0.03"/%3E%3C/svg%3E');
}

/* Custom Selection */
::selection {
  background-color: var(--clr-forest);
  color: var(--clr-bg);
}

/* Scrollbar - Delicate */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--clr-sand);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--clr-rose);
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  color: var(--clr-forest);
}

/* Italics in headings for that magazine look */
h1 i, h2 i, h3 i {
  font-style: italic;
  font-weight: 400;
  color: var(--clr-rose);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-md);
  font-size: var(--text-base);
  color: var(--clr-text-light);
  max-width: 55ch;
}

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

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

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