/* ============================================
   Bowl6610 Design System v1.0 — Base
   Reset, typography, utilities
   ============================================ */

/* === Reset ===
   Minimal — only box-sizing. Elementor provides its own normalize
   and handles all page content styling. Don't fight it.
*/
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* === Typography ===
   Scoped to theme chrome (header, footer) and non-Elementor pages.
   Elementor pages handle their own heading/text/link/image styles.
*/
.bowl-header,
.bowl-footer,
.page-container--standard {
  /* Reset within theme elements only */
}

.bowl-header a,
.bowl-footer a {
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

/* Non-Elementor fallback pages get theme typography */
.page-container--standard h1,
.page-container--standard h2,
.page-container--standard h3 {
  font-family: var(--font-serif);
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
}

.page-container--standard h1 { font-size: var(--text-3xl); line-height: 1.12; }
.page-container--standard h2 { font-size: var(--text-2xl); }
.page-container--standard h3 { font-size: var(--text-xl); }

.page-container--standard p {
  margin-bottom: 1em;
}

.page-container--standard p:last-child {
  margin-bottom: 0;
}

.page-container--standard a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.page-container--standard a:hover {
  color: var(--plum);
}

/* Elementor text widget inline links — underline for a11y distinguishability */
.elementor-widget-text-editor a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-container--standard img {
  max-width: 100%;
  height: auto;
}

.page-container--standard ul,
.page-container--standard ol {
  margin-left: 1.5em;
}

strong {
  font-weight: 600;
}

/* === Utility Classes === */
.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;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap--narrow {
  max-width: var(--max-w-narrow);
}

.text-center { text-align: center; }

/* Eyebrow label — small caps above section headings */
.bowl-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.bowl-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--plum);
  flex-shrink: 0;
}

/* === Focus Styles === */
:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}

/* === Selection === */
::selection {
  background: var(--plum-pale);
  color: var(--charcoal);
}

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