/* ============================================================
   cjay-portfolio — base.css
   Generated: 2026-03-23 (CoreSyndicate dark rebrand)
   Brand: CoreSyndicate — Invisible Ops / dark mode
   Accent: #FF4500 (OrangeRed) + #00D4FF (Cyan)
   Fonts: Bricolage Grotesque / Inter / JetBrains Mono
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Brand — CoreSyndicate #FF4500 OrangeRed */
  --brand:       #FF4500;
  --brand-rgb:   255, 69, 0;
  --brand-light: #FF6A2F;
  --brand-dark:  #CC3700;
  --brand-amber: #00D4FF;   /* CoreSyndicate cyan accent */

  /* Backgrounds — dark mode */
  --bg:           #000000;
  --bg-alt:       #080808;
  --surface:      #0f0f0f;
  --surface-warm: #120a02;
  --dark-bg:      #000000;
  --dark-surface: #0a0a0a;

  /* Text */
  --text-primary:   #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted:     rgba(255, 255, 255, 0.38);
  --text-subtle:    rgba(255, 255, 255, 0.50);

  /* Borders */
  --border:      rgba(255, 255, 255, 0.08);
  --border-warm: rgba(255, 69, 0, 0.35);

  /* Shadows (warm orange-tinted) */
  --shadow-sm:  0 1px 3px rgba(var(--brand-rgb), 0.12);
  --shadow-md:  0 4px 16px rgba(var(--brand-rgb), 0.16);
  --shadow-lg:  0 8px 32px rgba(var(--brand-rgb), 0.20);

  /* Fonts */
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-hero: clamp(3rem, 6vw, 5rem);
  --text-h2:   clamp(2rem, 3.5vw, 2.5rem);
  --text-h3:   clamp(1.375rem, 2.2vw, 1.75rem);

  /* Layout */
  --max-width:     1200px;
  --content-width: 720px;
  --section-py:    96px;
  --section-px:    clamp(20px, 5vw, 80px);
  --radius:        8px;
  --radius-lg:     12px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.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; }

/* ── Dot Grid Overlay ────────────────────────────────────────── */
.dot-grid {
  position: relative;
}
.dot-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}
.dot-grid > * {
  position: relative;
  z-index: 1;
}

/* ── Section Container ───────────────────────────────────────── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-py) var(--section-px);
}

.content-col {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* ── Mono label — CoreSyndicate // Comment style ─────────────── */
.mono-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ── Brand gradient text ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
