/* ─────────────────────────────────────────
   KONTORE — Base Styles
   css/base.css
───────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--parch);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1;
}

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

/* ── Grain overlay ── */
#grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990; opacity: .042;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Scroll reveal ── */
.rev {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.rev.in { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }

/* ── Shared animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

@keyframes dash {
  to { stroke-dashoffset: -100; }
}

@keyframes marqueescroll {
  to { transform: translateX(-50%); }
}

@keyframes lineGrow {
  to { width: 82%; }
}
