/* ==========================================================================
   RENIK DIGITAL - BRAND DESIGN TOKENS & SYSTEM
   "renik. what's next."
   Creative Thinking. Technical Precision. Baltimore, MD.
   ========================================================================== */

/* --- Custom Brand Logo Font (Ibrand) --- */
@font-face {
  font-family: 'Ibrand';
  src: url('../fonts/Ibrand.woff2') format('woff2'),
       url('../fonts/Ibrand.woff') format('woff'),
       url('../fonts/Ibrand.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Typography Families --- */
  --font-logo: 'Ibrand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  /* --- Canvas & Section Rhythms --- */
  --bg-primary: #ffffff;
  --bg-secondary: #f6f7f9;
  --bg-tertiary: #fbfbfd;
  --bg-card-light: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-light-hover: rgba(0, 0, 0, 0.16);

  /* --- Deep Obsidian & Cinema Surface (Media, Video & Gallery) --- */
  --bg-obsidian: #080a0f;
  --bg-cinema-surface: #0d111a;
  --bg-cinema-card: #131824;
  --bg-cinema-card-hover: #182030;
  --border-cinema: rgba(255, 255, 255, 0.09);
  --border-cinema-hover: rgba(255, 255, 255, 0.22);
  --border-cinema-glow: rgba(14, 165, 233, 0.35);

  /* --- Text Tokens --- */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-cinema-heading: #f8fafc;
  --text-cinema-body: #94a3b8;
  --text-cinema-muted: #64748b;

  /* --- Chromatic Brand Accents (From "renik. what's next." mark) --- */
  --accent-cyan: #0ea5e9;
  --accent-cyan-rgb: 14, 165, 233;
  --accent-magenta: #ff2d78;
  --accent-magenta-rgb: 255, 45, 120;
  --accent-violet: #8b5cf6;
  --accent-violet-rgb: 139, 92, 246;
  --accent-cobalt: #0071e3;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  /* --- Luminous Gradients --- */
  --gradient-brand: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 48%, #ff2d78 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(139, 92, 246, 0.12) 50%, rgba(255, 45, 120, 0.12) 100%);
  --gradient-silver: linear-gradient(180deg, #ffffff 20%, #94a3b8 100%);
  --gradient-dark-shine: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);

  /* --- Typography --- */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* --- Geometry & Radii --- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* --- Shadows --- */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 32px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-cinema: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-glow-cyan: 0 0 35px rgba(14, 165, 233, 0.28);
  --shadow-glow-magenta: 0 0 35px rgba(255, 45, 120, 0.28);

  /* --- Scroller Standards --- */
  --rs-container: 1360px;
  --rs-gap: 20px;
  --rs-card-w: 300px;
  --rs-card-w-mobile: 78vw;
  --rs-side: max(24px, calc((100% - var(--rs-container)) / 2 + 24px));
  --rs-side-end: max(40px, calc((100% - var(--rs-container)) / 2 + 40px));
}

/* --- Global Monospace Pill Badges --- */
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.brand-pill.pill-dark {
  background: rgba(19, 24, 36, 0.75);
  border-color: var(--border-cinema);
  color: var(--text-cinema-body);
}

.brand-pill.pill-cyan {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
  color: var(--accent-cyan);
}

.brand-pill.pill-magenta {
  background: rgba(255, 45, 120, 0.08);
  border-color: rgba(255, 45, 120, 0.25);
  color: var(--accent-magenta);
}

.brand-pill.live-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  animation: renikPulse 2.2s infinite;
}

@keyframes renikPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* --- Brand Wordmark (Ibrand) --- */
.brand-wordmark {
  font-family: var(--font-logo);
  font-size: 2.1rem;
  font-weight: normal;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}

.brand-wordmark .wordmark-dot {
  color: var(--accent-cyan);
  transition: color 0.2s ease;
}

.brand-wordmark:hover .wordmark-dot {
  color: var(--accent-magenta);
}

.brand-wordmark.wordmark-light {
  color: #ffffff;
}

/* --- Gradient Headline Accents --- */
.gradient-text-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-silver {
  background: var(--gradient-silver);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

