/* Contentders landing — site shell */
@import url("colors_and_type.css");

html, body {
  margin: 0; padding: 0;
  background: #050505; color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #2A2A30; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #E10F1F; }

::selection { background: #E60000; color: #fff; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* ==== Grain ==== */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: 0.07;
  mix-blend-mode: overlay;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==== Buttons ==== */
.cta-primary {
  background: #E60000; color: #fff; border: 0;
  font-family: var(--font-display-tight); font-weight: 700;
  font-size: 14px; letter-spacing: 0.01em;
  padding: 14px 18px 14px 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 12px;
  transition: all 220ms cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 10px 40px rgba(225,15,31,0.35);
}
.cta-primary:hover { background: #B30C18; transform: translateY(-1px); }
.cta-primary:active { transform: scale(0.98); }
.cta-primary .plus {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 6px;
  background: #fff; color: #E60000; font-weight: 900; font-size: 15px; line-height: 1;
  transition: transform 280ms cubic-bezier(0.7,0,0.3,1);
}
.cta-primary:hover .plus { transform: rotate(90deg); }

.cta-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.28);
  font-family: var(--font-display-tight); font-weight: 600; font-size: 14px;
  padding: 13px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 200ms ease;
}
.cta-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.04); }

/* ==== Eyebrow ==== */
.eyebrow {
  font-family: var(--font-display-tight);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.ink { color: rgba(10,10,11,0.7); }
.eyebrow .plus-square {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px;
  background: #E60000; color: #fff;
  border-radius: 3px;
  font-size: 12px; font-weight: 900; letter-spacing: 0;
}

/* ==== Display type ==== */
.h-hero {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.h-medium {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
}
.lead {
  font-family: var(--font-body);
  font-size: 18px; line-height: 1.5;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  text-wrap: pretty;
}
.lead.ink { color: #4A4A52; }

/* Punch colors */
.red { color: #E60000; }
.fuchsia { color: #FF2D7A; }
.orange { color: #FF5A1F; }
.grad-heat {
  background: linear-gradient(120deg, #E60000 0%, #FF2D7A 50%, #FF5A1F 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.serif {
  font-family: "Instrument Serif", "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* ==== Sections ==== */
section { position: relative; }
.sec-pad { padding: clamp(80px, 12vw, 160px) 0; }

/* ==== Reveal animation primitives ==== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 900ms cubic-bezier(0.2,0.8,0.2,1),
              transform 900ms cubic-bezier(0.2,0.8,0.2,1),
              filter 900ms cubic-bezier(0.2,0.8,0.2,1);
}
.reveal.in {
  opacity: 1; transform: none; filter: blur(0);
}
.reveal.delay-1 { transition-delay: 100ms; }
.reveal.delay-2 { transition-delay: 200ms; }
.reveal.delay-3 { transition-delay: 300ms; }
.reveal.delay-4 { transition-delay: 400ms; }

/* Live pulse */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.live-dot {
  width: 6px; height: 6px; border-radius: 999px; background: #fff;
  animation: pulse 1.4s infinite;
}

/* Floating cards animation */
@keyframes drift-up {
  0% { transform: translateY(0) translateX(var(--dx, 0)); }
  100% { transform: translateY(-40vh) translateX(var(--dx, 0)); }
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--rot, 0deg)); }
}

/* Mono metric */
.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* Glass card */
.glass {
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

/* Hairlines */
.hr-line {
  height: 1px; background: rgba(255,255,255,0.08); border: 0; margin: 0;
}
.hr-line.ink { background: rgba(10,10,11,0.1); }

/* Tape ticker */
.tape {
  background: #fff; color: #0A0A0B;
  border-top: 1px solid #ECECE8;
  border-bottom: 1px solid #ECECE8;
  overflow: hidden; padding: 18px 0;
  font-family: var(--font-display-tight);
  font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.tape-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  animation: tape-scroll 40s linear infinite;
}
@keyframes tape-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
