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

html {
  scroll-behavior: smooth;
}

@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 {
  background: var(--color-accent-green);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Continuous graffiti wall behind the entire scroll — the whole page
   reads as one wall, not stacked section blocks. */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("../assets/bg-pattern.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Thin decorative seam between sections, replacing hard borders */
.seam {
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(1.4rem, 1rem + 1.5vw, 2.5rem);
  background-image: url("../assets/checker-pink.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  z-index: 100;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-accent-green);
  color: var(--color-bg);
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast) var(--ease-out-expo);
}

.skip-link:focus {
  top: var(--space-sm);
}

:focus-visible {
  outline: 3px solid var(--color-accent-green);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

