/* ─── DS KONGEN — Base / Reset ─── */

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy) !important;
  color: var(--text);
  font-family: var(--body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Astra sets a white .site background — reset it */
.site { background: transparent; }
.ast-container, .ast-grid-right-sidebar, .ast-grid-left-sidebar { background: transparent; }

a { color: inherit; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}

.skip-link {
  background: var(--gold); color: var(--navy);
  padding: 8px 16px;
  position: absolute; left: 0; top: -100px;
  z-index: 100000;
  font-family: var(--pixel); font-size: 10px;
}
.skip-link:focus { top: 0; }

/* ─── SCANLINE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.08) 3px, rgba(0,0,0,0.08) 4px);
  pointer-events: none;
  z-index: 9999;
}
body.no-scanlines::before { display: none; }

/* ─── SCROLL BG ─── */
#scroll-bg {
  position: fixed; inset: 0; z-index: -1;
  transition: background 1.2s cubic-bezier(0.4,0,0.2,1);
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #0e3d35 0%, #0a1628 40%, #080e1c 100%);
}
