/* ==========================================================================
   Wash N Go — Base / Reset / Typography
   ========================================================================== */

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

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, var(--fs-3xl)); }
h3 { font-size: var(--fs-lg); font-weight: 600; }

p { margin: 0 0 var(--space-2); color: var(--color-fg-muted); }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-ink);
  color: var(--color-on-ink);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-leaf);
}
.eyebrow-light { color: var(--color-mint); }

.section-head { max-width: 640px; margin-bottom: var(--space-6); }
.section-sub { font-size: var(--fs-md); max-width: 52ch; }

.fg-muted { color: var(--color-fg-muted); font-weight: 400; font-size: 0.8em; }
.fg-muted-light { color: rgba(246,245,236,0.55); font-weight: 400; font-size: 0.8em; }

section { position: relative; }

/* scroll-reveal base state (JS adds .is-visible / handles reduced-motion) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.no-js [data-reveal],
.reduced-motion [data-reveal] {
  opacity: 1;
  transform: none;
}
