/* WRAITH — site styles */
:root {
  --ink: #0a0708;
  --ember: #160c0d;
  --char: #1f1314;
  --blood: #c1272d;
  --blood-deep: #8b1e1e;
  --blood-glow: #ff3a3a;
  --bone: #e8dcc4;
  --bone-dim: #c9bd9f;
  --dust: #a89880;
  --rust: #6b3a2a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--bone);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
  cursor: crosshair;
}

/* Custom crosshair cursor — drawn via SVG */
body {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='none' stroke='%23c1272d' stroke-width='1.5'/><line x1='12' y1='2' x2='12' y2='8' stroke='%23c1272d' stroke-width='1.5'/><line x1='12' y1='16' x2='12' y2='22' stroke='%23c1272d' stroke-width='1.5'/><line x1='2' y1='12' x2='8' y2='12' stroke='%23c1272d' stroke-width='1.5'/><line x1='16' y1='12' x2='22' y2='12' stroke='%23c1272d' stroke-width='1.5'/><circle cx='12' cy='12' r='1' fill='%23c1272d'/></svg>") 12 12, crosshair;
}

::selection { background: var(--blood); color: var(--bone); }

/* ──── Film grain overlay ──── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/></svg>");
  animation: grain 0.4s steps(4) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* Vignette */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.85) 100%);
}

/* Scanline */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 98;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.08) 3px,
    transparent 4px
  );
  opacity: 0.5;
}

/* ──── NAV ──── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(10,7,8,0.92), rgba(10,7,8,0.4));
  border-bottom: 1px solid rgba(193,39,45,0.2);
}
.nav__brand {
  font-family: 'Rye', serif;
  font-size: 28px;
  letter-spacing: 0.15em;
  color: var(--blood);
  text-shadow: 0 0 20px rgba(193,39,45,0.5);
  position: relative;
}
.nav__brand::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--blood);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 12px var(--blood-glow);
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1; transform: scale(1.2); }
}
.nav__links {
  display: flex;
  gap: 38px;
  list-style: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--bone-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav__links a:hover { color: var(--blood); }
.nav__links a::before {
  content: '[';
  margin-right: 6px;
  opacity: 0;
  color: var(--blood);
  transition: opacity 0.2s;
}
.nav__links a::after {
  content: ']';
  margin-left: 6px;
  opacity: 0;
  color: var(--blood);
  transition: opacity 0.2s;
}
.nav__links a:hover::before, .nav__links a:hover::after { opacity: 1; }
.nav__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--blood-deep);
  padding: 10px 20px;
  border: 1px solid var(--blood);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}
.nav__cta:hover {
  background: var(--blood);
  box-shadow: 0 0 24px rgba(193,39,45,0.6);
}

/* ──── HERO ──── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

/* Hero background — animated blood mist */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 30%, rgba(193,39,45,0.18), transparent 60%),
    radial-gradient(ellipse 70% 60% at 70% 70%, rgba(139,30,30,0.22), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ember) 50%, var(--ink) 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ─── Hero gunslinger silhouette ─── */
.gunslinger {
  position: absolute;
  right: -2vw;
  bottom: 0;
  height: 92%;
  width: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
  filter: drop-shadow(-20px 0 60px rgba(193,39,45,0.35))
          drop-shadow(0 0 40px rgba(0,0,0,0.6));
  animation: gunslingerSway 6s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes gunslingerSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-0.4deg); }
}
.gunslinger__muzzle {
  transform-origin: 132px 188px;
  animation: muzzle 3.4s ease-in-out infinite;
}
@keyframes muzzle {
  0%, 88%, 100% { opacity: 0; transform: scale(0.4); }
  90%           { opacity: 1; transform: scale(1.4); }
  92%           { opacity: 0.6; transform: scale(2); }
  95%           { opacity: 0; transform: scale(2.2); }
}
@media (max-width: 1100px) {
  .gunslinger { opacity: 0.25; }
}

/* hero typography */
.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1400px;
  width: 100%;
}

.hero__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 32px;
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(193,39,45,0.35);
  background: rgba(193,39,45,0.08);
}
.hero__eyebrow span.dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--blood);
  border-radius: 50%;
  margin-right: 10px;
  animation: pulse 1.4s ease-in-out infinite;
}

.hero__title {
  font-family: 'Rye', serif;
  font-size: clamp(96px, 18vw, 280px);
  line-height: 0.92;
  color: var(--blood);
  letter-spacing: 0.04em;
  text-shadow:
    0 0 1px var(--blood),
    0 0 30px rgba(193,39,45,0.5),
    0 0 80px rgba(193,39,45,0.25);
  position: relative;
  margin-bottom: 24px;
  filter: contrast(1.1);
}

/* Glitch layers behind the title */
.hero__title::before,
.hero__title::after {
  content: 'WRAITH';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__title::before {
  color: var(--blood-glow);
  mix-blend-mode: screen;
  animation: glitchA 4s infinite steps(1);
}
.hero__title::after {
  color: #00d9ff;
  mix-blend-mode: screen;
  animation: glitchB 4s infinite steps(1);
  opacity: 0.45;
}
@keyframes glitchA {
  0%, 90%, 100% { transform: translate(0,0); opacity: 0; }
  91% { transform: translate(-3px, 1px); opacity: 0.7; }
  93% { transform: translate(2px, -2px); opacity: 0.5; }
  95% { transform: translate(-1px, 1px); opacity: 0.7; }
}
@keyframes glitchB {
  0%, 88%, 100% { transform: translate(0,0); opacity: 0; }
  89% { transform: translate(2px, -1px); opacity: 0.4; }
  92% { transform: translate(-2px, 2px); opacity: 0.4; }
  94% { transform: translate(1px, -1px); opacity: 0.4; }
}

.hero__subtitle {
  font-family: 'Rye', serif;
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 12px;
}
.hero__tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 1.3vw, 20px);
  color: var(--dust);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  border: none;
  transition: all 0.25s;
}
.btn--primary {
  background: var(--blood);
  color: var(--bone);
  box-shadow:
    0 0 0 1px var(--blood),
    0 8px 32px rgba(193,39,45,0.45),
    inset 0 -2px 0 rgba(0,0,0,0.3);
}
.btn--primary:hover {
  background: var(--blood-glow);
  box-shadow:
    0 0 0 1px var(--blood-glow),
    0 8px 40px rgba(255,58,58,0.7),
    inset 0 -2px 0 rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid rgba(232,220,196,0.25);
}
.btn--ghost:hover {
  border-color: var(--blood);
  color: var(--blood);
  background: rgba(193,39,45,0.06);
}

/* Hero stats strip */
.hero__stats {
  display: flex;
  gap: 64px;
  justify-content: center;
  margin-top: 80px;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}
.stat__num {
  font-family: 'Rye', serif;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--blood);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(193,39,45,0.4);
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dust);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--dust);
  text-transform: uppercase;
  text-align: center;
  z-index: 3;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--blood), transparent);
  margin: 12px auto 0;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ──── MARQUEE ──── */
.marquee {
  position: relative;
  background: var(--blood-deep);
  border-top: 1px solid var(--blood);
  border-bottom: 1px solid var(--blood);
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-1.5deg);
  margin: -20px 0;
  z-index: 5;
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: 'Rye', serif;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--bone);
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee__star {
  color: var(--ink);
  font-size: 28px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──── SECTIONS ──── */
.section {
  position: relative;
  padding: 160px 48px;
  max-width: 1600px;
  margin: 0 auto;
}
.section__head {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 32px;
}
.section__index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--blood);
  border-left: 2px solid var(--blood);
  padding-left: 20px;
  align-self: start;
  padding-top: 4px;
}
.section__index small {
  display: block;
  color: var(--dust);
  font-size: 11px;
  margin-bottom: 6px;
  letter-spacing: 0.4em;
}
.section__title {
  font-family: 'Rye', serif;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.95;
  color: var(--bone);
  letter-spacing: 0.02em;
}
.section__title em {
  color: var(--blood);
  font-style: normal;
  text-shadow: 0 0 30px rgba(193,39,45,0.4);
}
.section__intro {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--bone-dim);
  max-width: 600px;
  margin-top: 20px;
  font-weight: 300;
}

/* ──── FEATURES GRID ──── */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feature {
  background: linear-gradient(180deg, var(--char) 0%, var(--ember) 100%);
  border: 1px solid rgba(232,220,196,0.08);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(193,39,45,0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature:hover::before { opacity: 1; }
.feature:hover {
  border-color: var(--blood);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(193,39,45,0.4);
}
.feature__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--blood);
  margin-bottom: 16px;
}
.feature__title {
  font-family: 'Rye', serif;
  font-size: 28px;
  color: var(--bone);
  margin-bottom: 12px;
  line-height: 1.05;
}
.feature__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone-dim);
  font-weight: 300;
}
.feature__count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dust);
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(232,220,196,0.08);
  padding-top: 16px;
}
.feature__count strong {
  color: var(--blood);
  font-weight: 600;
  font-size: 18px;
  font-family: 'Rye', serif;
}
.feature--lg { grid-column: span 6; }
.feature--md { grid-column: span 4; }
.feature--sm { grid-column: span 3; }
.feature--xl { grid-column: span 8; min-height: 360px; }
@media (max-width: 1100px) {
  .feature--lg, .feature--md, .feature--sm, .feature--xl { grid-column: span 12; }
}

.feature__icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--blood);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.feature__icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(193,39,45,0.3);
  opacity: 0;
  transition: all 0.3s;
}
.feature:hover .feature__icon::before {
  opacity: 1;
  inset: -8px;
}

/* ──── SHOWCASE (menu preview) ──── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1024px) {
  .showcase { grid-template-columns: 1fr; }
}
.showcase__visual {
  position: relative;
  perspective: 1500px;
}
.showcase__img-wrap {
  position: relative;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(0 40px 80px rgba(193,39,45,0.4));
}
.showcase__img-wrap:hover { transform: rotateY(0) rotateX(0); }
.showcase__img {
  width: 100%;
  display: block;
  border: 1px solid rgba(193,39,45,0.4);
}
.showcase__visual::before,
.showcase__visual::after {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  border: 1px solid var(--blood);
  z-index: 2;
}
.showcase__visual::before { top: -16px; left: -16px; border-right: none; border-bottom: none; }
.showcase__visual::after { bottom: -16px; right: -16px; border-left: none; border-top: none; }

.showcase__list {
  list-style: none;
  display: grid;
  gap: 4px;
}
.showcase__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(232,220,196,0.08);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--bone-dim);
  transition: all 0.2s;
  cursor: pointer;
}
.showcase__item:hover {
  background: rgba(193,39,45,0.08);
  color: var(--bone);
  padding-left: 28px;
}
.showcase__tag {
  display: inline-block;
  width: 28px;
  text-align: center;
  color: var(--blood);
  font-weight: 600;
}
.showcase__name {
  letter-spacing: 0.05em;
}
.showcase__chev { color: var(--blood); opacity: 0.5; }

/* ──── INSTALL ──── */
.install {
  background: var(--ember);
  border: 1px solid rgba(193,39,45,0.2);
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.install::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { opacity: 0.3; transform: translateX(-30%); }
  50%      { opacity: 1; transform: translateX(30%); }
}
.install__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
}
@media (max-width: 900px) { .install__steps { grid-template-columns: 1fr 1fr; } }
.install-step {
  padding: 24px 28px;
  border-right: 1px solid rgba(232,220,196,0.08);
  position: relative;
}
.install-step:last-child { border-right: none; }
.install-step__num {
  font-family: 'Rye', serif;
  font-size: 64px;
  color: var(--blood);
  line-height: 1;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(193,39,45,0.3);
}
.install-step__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 10px;
}
.install-step__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--dust);
  font-weight: 300;
}

.terminal {
  margin-top: 48px;
  background: #050304;
  border: 1px solid rgba(193,39,45,0.3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.terminal__head {
  background: var(--char);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(193,39,45,0.2);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
}
.terminal__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 8px var(--blood);
}
.terminal__body {
  padding: 28px 32px;
  line-height: 1.9;
  color: var(--bone-dim);
  min-height: 240px;
}
.terminal__line { display: block; }
.t-prompt { color: var(--blood); margin-right: 10px; }
.t-cmd { color: var(--bone); }
.t-out { color: var(--dust); }
.t-ok { color: #6fcf97; }
.t-cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: var(--blood);
  vertical-align: text-bottom;
  margin-left: 4px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

/* ──── COMMANDS RAIN (visual) ──── */
.command-rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.18;
}

/* ──── FAQ ──── */
.faq {
  display: grid;
  gap: 4px;
}
.faq__item {
  border-top: 1px solid rgba(232,220,196,0.1);
  padding: 28px 0;
  cursor: pointer;
  transition: all 0.2s;
}
.faq__item:last-child { border-bottom: 1px solid rgba(232,220,196,0.1); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rye', serif;
  font-size: 26px;
  color: var(--bone);
  transition: color 0.2s;
}
.faq__item:hover .faq__q { color: var(--blood); }
.faq__plus {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: var(--blood);
  transition: transform 0.3s;
}
.faq__item.open .faq__plus { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 16px;
  color: var(--bone-dim);
  line-height: 1.7;
  font-weight: 300;
  max-width: 720px;
}
.faq__item.open .faq__a {
  max-height: 200px;
  padding-top: 20px;
}

/* ──── CTA ──── */
.cta-section {
  padding: 200px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(193,39,45,0.2), transparent 70%),
    var(--ink);
  z-index: 0;
}
.cta-section h2 {
  font-family: 'Rye', serif;
  font-size: clamp(60px, 8vw, 140px);
  color: var(--bone);
  line-height: 0.95;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.cta-section h2 em {
  color: var(--blood);
  font-style: normal;
  text-shadow: 0 0 40px rgba(193,39,45,0.6);
}
.cta-section p {
  font-size: 18px;
  color: var(--bone-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.cta-section__ctas {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ──── FOOTER ──── */
.footer {
  border-top: 1px solid rgba(193,39,45,0.2);
  padding: 80px 48px 40px;
  background: var(--ember);
}
.footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 20px;
}
.footer__brand {
  font-family: 'Rye', serif;
  font-size: 56px;
  color: var(--blood);
  margin-bottom: 16px;
  line-height: 1;
}
.footer__tagline {
  color: var(--dust);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  max-width: 360px;
}
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a {
  color: var(--bone-dim);
  text-decoration: none;
  font-size: 14px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--blood); }
.footer__bottom {
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid rgba(232,220,196,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dust);
}

/* ──── REVEAL ANIMATIONS ──── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.65s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.75s; }

/* progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--blood);
  z-index: 200;
  width: 0;
  box-shadow: 0 0 12px var(--blood-glow);
}

/* word slide-up */
.word-slide {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-slide span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.word-slide.in span { transform: translateY(0); }

/* ─── COMPATIBILITY ─── */
.compat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  background: linear-gradient(180deg, var(--char) 0%, var(--ember) 100%);
  border: 1px solid rgba(193,39,45,0.25);
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.compat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood), transparent);
  animation: scan 3s ease-in-out infinite;
}
.compat__badge {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(193,39,45,0.4);
  background: rgba(10,7,8,0.6);
  flex-shrink: 0;
}
.compat__badge::before, .compat__badge::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--blood);
}
.compat__badge::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.compat__badge::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.compat__logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(193,39,45,0.4));
  animation: compatFloat 4s ease-in-out infinite;
}
@keyframes compatFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}
.compat__pulse {
  position: absolute;
  top: 12px; right: 12px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #6fcf97;
  box-shadow: 0 0 10px #6fcf97;
  animation: pulse 1.4s ease-in-out infinite;
}
.compat__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blood);
  margin-bottom: 14px;
}
.compat__title {
  font-family: 'Rye', serif;
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--bone);
  line-height: 1.05;
  margin-bottom: 14px;
}
.compat__title em {
  color: var(--blood);
  font-style: normal;
  text-shadow: 0 0 24px rgba(193,39,45,0.5);
}
.compat__desc {
  color: var(--bone-dim);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 620px;
}
@media (max-width: 800px) {
  .compat { grid-template-columns: 1fr; gap: 32px; padding: 36px; text-align: center; }
  .compat__badge { margin: 0 auto; }
  .compat__desc { margin: 0 auto; }
}
