/* =========================================================
   InHate — Korn Tribute
   Dark / industrial / brutalist aesthetic
   ========================================================= */

:root {
  --bg: #0a0908;
  --bg-2: #131110;
  --bg-3: #1c1916;
  --ink: #efece6;
  --ink-dim: #8a857c;
  --ink-faint: #4a463f;
  --rust: #b54023;       /* blood / rust accent */
  --bone: #d6cfbf;       /* warm off-white */
  --acid: #b8b03a;       /* sickly yellow */
  --line: rgba(239,236,230,0.08);
  --line-strong: rgba(239,236,230,0.16);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* GRAIN OVERLAY ------------------------------------------------ */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.18;
  mix-blend-mode: overlay;
}

/* SCANLINES ---------------------------------------------------- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 99;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0) 4px
  );
  opacity: 0.4;
}

/* SELECTION */
::selection { background: var(--rust); color: var(--ink); }

/* TYPOGRAPHY --------------------------------------------------- */
.display {
  font-family: 'Big Shoulders Stencil Display', 'Oswald', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.85;
  text-transform: uppercase;
}

.serif-distress {
  font-family: 'UnifrakturCook', 'Cinzel', serif;
  font-weight: 700;
}

.mono { font-family: 'JetBrains Mono', monospace; }

h1, h2, h3, h4 { font-family: 'Big Shoulders Stencil Display', sans-serif; font-weight: 900; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.005em; }

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

/* NAV ---------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(to bottom, rgba(10,9,8,0.95), rgba(10,9,8,0.7) 60%, transparent);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Big Shoulders Stencil Display', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.nav__brand img { height: 34px; }
.nav__links { display: flex; gap: 28px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.nav__links a { transition: color .2s, transform .2s; position: relative; padding: 4px 0; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--rust); transition: width .25s;
}
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--rust); }

.nav__cta {
  font-family: 'Big Shoulders Stencil Display', sans-serif;
  font-weight: 900; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--ink); color: var(--ink);
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--ink); color: var(--bg); }

/* COMMON ------------------------------------------------------- */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--rust);
}

.section { padding: 120px 28px; position: relative; }
.section--alt { background: var(--bg-2); }
.container { max-width: 1280px; margin: 0 auto; }

.divider {
  display: flex; align-items: center; gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint);
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-strong);
}

/* MARQUEE ------------------------------------------------------ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__track {
  display: flex; gap: 48px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-family: 'Big Shoulders Stencil Display', sans-serif;
  font-weight: 900;
  font-size: 44px;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee__track .dot {
  width: 12px; height: 12px; background: var(--rust); border-radius: 50%;
  display: inline-block;
}
.marquee__track .ghost { color: transparent; -webkit-text-stroke: 1px var(--ink-faint); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* FOOTER ------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 28px 40px;
  background: #050403;
}
.footer__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer__col h4 { font-size: 12px; letter-spacing: 0.25em; color: var(--ink-dim); margin-bottom: 18px; font-family: 'JetBrains Mono', monospace; font-weight: 500; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer__col a:hover { color: var(--rust); }
.footer__brand img { height: 110px; opacity: 0.85; }
.footer__brand p { color: var(--ink-dim); font-size: 12px; line-height: 1.6; max-width: 280px; margin-top: 16px; }
.footer__bottom {
  max-width: 1280px; margin: 60px auto 0;
  display: flex; justify-content: space-between; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-faint); letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

/* UTILS -------------------------------------------------------- */
.glow-rust { text-shadow: 0 0 24px rgba(181,64,35,0.35); }
.text-rust { color: var(--rust); }
.text-bone { color: var(--bone); }
.text-dim { color: var(--ink-dim); }
.text-acid { color: var(--acid); }

/* tag chip */
.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
}

/* btn */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Big Shoulders Stencil Display', sans-serif;
  font-weight: 900; font-size: 16px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: all .2s;
  cursor: pointer;
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--bg); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--rust); }
.btn--rust { background: var(--rust); border-color: var(--rust); color: var(--ink); }
.btn--rust:hover { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 0 var(--rust); }
.btn__arrow { font-size: 18px; transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* glitch ------------------------------------------------------- */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
}
.glitch::before {
  color: var(--rust);
  transform: translate(2px, 0);
  mix-blend-mode: screen;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  opacity: 0.7;
}
.glitch::after {
  color: var(--acid);
  transform: translate(-2px, 0);
  mix-blend-mode: screen;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  opacity: 0.6;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .marquee__track { font-size: 32px; }
}
