/* ═══════════════════════════════════════════════════════════
   BASE — Layout, grain, glow, reveal, typography, buttons
   ═══════════════════════════════════════════════════════════ */

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--faint);
  background: var(--bg);
  overflow-x: hidden;
}

main { position: relative; z-index: 1; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── Grain Overlay ─────────────────────────────────────── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}
@media (max-width: 768px) { .grain-overlay { display: none; } }

/* ── Ambient Glow (red) ──────────────────────────────── */
.ambient-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(196, 30, 42, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ── Typography ────────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.section-title em {
  font-style: normal;
  color: var(--accent-hot);
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--faint);
  max-width: 640px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(196, 30, 42, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hot);
  box-shadow: 0 6px 28px rgba(230, 57, 70, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

.btn-lg { padding: 18px 44px; font-size: 15px; }
.btn-sm { padding: 10px 24px; font-size: 12px; }

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── Inline CTA ────────────────────────────────────────── */
.inline-cta {
  text-align: center;
  padding: 48px var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inline-cta .btn {
  max-width: 360px;
}
.cta-micro {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Mobile CTA Bar ────────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 102;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}
.mobile-cta-bar .btn { flex: 1; text-align: center; font-size: 12px; padding: 14px 16px; }

@media (max-width: 960px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}

/* ── Red Accent Line ──────────────────────────────────── */
.accent-line {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 20px;
}
