/**
 * BONITA & CO - BASE STYLES & RESET (PHASE 1)
 * Clean, solid Light Pink foundation (#F7B1C1) with zero multi-tone shades
 */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Lenis Hardware-Accelerated Smooth Scroll Foundation */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

html, body {
  overflow-x: clip; /* Modern CSS standard: prevents horizontal scroll without breaking position:sticky */
}

@supports not (overflow-x: clip) {
  html, body {
    overflow-x: hidden;
  }
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: var(--color-blush-base);
  background-image: none; /* Pure solid light pink - no gradients or shades */
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Hairline Haute-Couture Screen Margins Frame */
.editorial-frame {
  position: fixed;
  inset: 6px;
  pointer-events: none;
  z-index: 50;
  border: 1px solid var(--border-subtle);
  transition: opacity var(--duration-medium) var(--ease-smooth);
}

@media (min-width: 768px) {
  .editorial-frame {
    inset: 18px;
  }
}

@media (min-width: 1200px) {
  .editorial-frame {
    inset: 26px;
  }
}

/* Selection Styling */
::selection {
  background-color: var(--color-burgundy-base);
  color: #ffffff;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: var(--tracking-normal);
}

p {
  color: var(--text-secondary);
}

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

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

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

/* Accessibility: Respect 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;
  }
}
