body {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.8;
}

/* ─── Noise/grain texture overlay for richness ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Typography — readability first ─── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--accent);
  text-shadow: 0 0 30px rgba(240, 160, 48, 0.2);
  margin-bottom: 0.3em;
}

h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--highlight);
}

p {
  margin-bottom: 1.1em;
  line-height: 1.8;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.015em;
}

strong {
  color: var(--accent);
  font-weight: 700;
}

em {
  font-style: italic;
}

/* ─── Focus & selection ─── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: rgba(240, 160, 48, 0.3);
  color: var(--text-primary);
}

/* ─── Skip link ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* ─── Utility classes ─── */
.accent-text { color: var(--accent); }
.highlight-text { color: var(--highlight); }
.subtext { color: var(--accent-secondary); font-size: 0.9rem; }

.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;
}

/* ─── Section icons ─── */
.section__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  opacity: 0.7;
}

.section__icon svg {
  filter: drop-shadow(0 0 12px rgba(240, 160, 48, 0.3));
}

/* ─── Section header images (generated graphics) ─── */
.section__header-img {
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 20px rgba(240, 160, 48, 0.4));
}

/* ─── Verify card icons ─── */
.verify-card__icon {
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0.8;
}

.verify-card__icon svg {
  filter: drop-shadow(0 0 8px rgba(240, 160, 48, 0.25));
}

.verify-card__icon img {
  filter: drop-shadow(0 0 12px rgba(240, 160, 48, 0.35));
}

/* ─── Clay icon amber tinting ─── */
.icon--clay {
  filter: brightness(0.75) sepia(1) hue-rotate(5deg) saturate(3) drop-shadow(0 0 12px rgba(240, 160, 48, 0.4));
}

.section__header-img.icon--clay {
  filter: brightness(0.75) sepia(1) hue-rotate(5deg) saturate(3) drop-shadow(0 0 20px rgba(240, 160, 48, 0.5));
}

/* ─── Mascot images ─── */
.mascot-img {
  filter: sepia(0.15) saturate(1.3) brightness(0.95) hue-rotate(-5deg)
          drop-shadow(0 0 30px rgba(240, 160, 48, 0.3));
  transition: transform var(--transition-med), filter var(--transition-med);
}

.mascot-img:hover {
  transform: scale(1.03) translateY(-4px);
  filter: sepia(0.1) saturate(1.4) brightness(1) hue-rotate(-5deg)
          drop-shadow(0 0 40px rgba(240, 160, 48, 0.45));
}

/* Section mascots (centered above content) */
.section-mascot {
  max-width: 380px;
  margin: 0 auto;
  display: block;
}

/* ─── Scroll-triggered fade-in animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
