@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Permanent+Marker&family=Barlow+Condensed:wght@400;600;700;800;900&family=Poppins:wght@300;400;500;600&display=swap');

/* ─── TOKENS ──────────────────────────────────────── */
:root {
  --brand-red:     #F5D800;
  --brand-gold:    #F5D800;
  --brand-blue:    #1B3FDB;
  --brand-bg:      #111010;
  --brand-surface: #1A1815;
  --brand-muted:   #888888;
  --brand-text:    #F0EDE8;
  --nav-height:    60px;
}

/* ─── GRAIN ───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ─── BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: 'Barlow Condensed', sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* Spray blue glow top-right */
body::after {
  content: '';
  position: fixed; top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,63,219,0.08) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
}

/* ─── TYPE TOKENS ─────────────────────────────────── */
.ui-label {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5em !important;
  color: var(--brand-red) !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  opacity: 1 !important;
}

.ui-title-h1 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-weight: 400 !important;
  line-height: 0.9 !important;
  letter-spacing: 0.02em !important;
  color: var(--brand-text) !important;
}

.ui-title-h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  line-height: 0.95 !important;
  color: var(--brand-text) !important;
}

.ui-text-prose-italic {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  color: rgba(240,237,232,0.65) !important;
  line-height: 1.7 !important;
}

.ui-text-mono-data {
  font-family: 'Outfit', sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4em !important;
  color: rgba(240,237,232,0.4) !important;
}

/* ─── EDITORIAL PROSE ─────────────────────────────── */
.editorial-prose {
  font-size: 1.05rem;
  color: rgba(240,237,232,0.75);
  line-height: 1.85;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.editorial-prose h2, .editorial-prose h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--brand-text);
  font-weight: 400;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-size: 2rem;
}
.editorial-prose p { margin-bottom: 1.8rem; }
.editorial-prose strong { color: var(--brand-text); font-weight: 700; }
.editorial-prose blockquote {
  border-left: 3px solid var(--brand-red);
  padding: 1rem 0 1rem 2rem;
  margin: 3rem 0;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-text);
  line-height: 1.6;
}
.editorial-prose > p:first-of-type::first-letter {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--brand-red);
  float: left;
  font-size: 5.5rem;
  line-height: 0.75;
  padding: 0.2rem 1rem 0 0;
  font-weight: 400;
}
@media (min-width: 768px) {
  .editorial-prose > p:first-of-type::first-letter { font-size: 7.5rem; }
}

/* ─── SURFACES ────────────────────────────────────── */
.glass-panel {
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
}
.glass-nav {
  background: rgba(17,16,16,0.96);
  border-bottom: 3px solid var(--brand-red) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(24px);
}
.hover-glow { transition: all 0.5s ease; }
.hover-glow:hover {
  box-shadow: 0 0 30px rgba(192,57,43,0.12);
  border-color: rgba(192,57,43,0.3);
}

/* ─── NAV ─────────────────────────────────────────── */
.navbar { height: var(--nav-height); transition: all 0.4s ease; }
.navbar-scrolled {
  height: 68px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
}
.nav-link { position: relative; padding-bottom: 2px; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--brand-red);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ─── BUTTON ──────────────────────────────────────── */
.btn-premium {
  position: relative;
  padding: 0.9rem 2.2rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand-text);
  border: 1px solid rgba(192,57,43,0.6);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.19,1,0.22,1);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
}
.btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-red);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.19,1,0.22,1);
  z-index: 0;
}
.btn-premium:hover { color: #fff; border-color: var(--brand-red); }
.btn-premium:hover::before { transform: translateX(0); }
.btn-premium > * { position: relative; z-index: 1; }

/* ─── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger-1 { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s forwards; opacity: 0; }
.stagger-2 { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; opacity: 0; }
.stagger-3 { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s forwards; opacity: 0; }
.stagger-4 { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.4s forwards; opacity: 0; }
.stagger-5 { animation: fadeInUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.5s forwards; opacity: 0; }

/* ─── MISC ────────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; background: var(--brand-red);
  z-index: 9999; width: 0%;
  transition: width 0.1s linear;
}
::selection { background: var(--brand-red); color: #fff; }
.font-display { font-family: 'Bebas Neue', sans-serif; }
.font-serif   { font-family: 'Bebas Neue', sans-serif; }
.font-outfit  { font-family: 'Outfit', sans-serif; }

/* ─── DIGITAL BLOCK (articles) ────────────────────── */
.digital-block { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 3rem; padding-top: 2rem; }
.digital-block h3 { font-family: 'Outfit', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.4em; text-transform: uppercase; color: var(--brand-red); margin-bottom: 1rem; }
.digital-block ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.digital-block a { color: rgba(240,237,232,0.5); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.digital-block a:hover { color: var(--brand-text); }

/* ─── STAT LABELS ─── */
.stat-label {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: rgba(240,237,232,0.65) !important;
  line-height: 1.4 !important;
  margin: 0.5rem 0 0.2rem !important;
}
.stat-sub {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: rgba(240,237,232,0.25) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}
