/**
 * Horizon Theme — "Midnight" base skin
 *
 * Near-black blue surfaces with a neon-electric blue accent and all-Inter
 * typography. Designed for tech-forward, sci-fi, and digital creator aesthetics
 * — the "dark mode done right" look that appeals to the audience that grew up
 * on Discord and cyberpunk visual culture. Sharp radii; blue-glow shadows.
 * The per-tenant brand_primary override still layers on top.
 *
 * Contrast audit: all key pairings pass WCAG 2.1 AA.
 * Accent (#3b82f6) on --hp-bg (#080a10) ≈ 5.6:1 ✅
 * --hp-on-accent (#080a10) on accent ≈ 5.6:1 ✅
 * --hp-text (#eef2ff) on --hp-bg ≈ 18.0:1 ✅
 * --hp-text-muted (#8ba0cc) on --hp-bg ≈ 7.9:1 ✅
 * --hp-text-subtle (#6b80a8) on --hp-bg ≈ 5.2:1 ✅
 */

:root {
  /* ── Surfaces — blue-black ── */
  --hp-bg:           #080a10;
  --hp-bg-surface:   #0d1020;
  --hp-bg-raised:    #141828;
  --hp-bg-overlay:   rgba(8, 10, 16, 0.95);

  /* ── Accent — cornflower blue / neon electric ── */
  --hp-gold:         #3b82f6;
  --hp-gold-light:   #60a5fa; /* hover — brighter on dark ✅ */
  --hp-gold-dark:    #2563eb; /* active */
  --hp-gold-muted:   rgba(59, 130, 246, 0.14);

  /* ── Text — cool white with blue tint ── */
  --hp-text:         #eef2ff;
  --hp-text-muted:   #8ba0cc;
  --hp-text-disabled:#0e1630;
  /* Subtle text: ≥4.5:1 on --hp-bg (#080a10). #6b80a8 ≈ 5.2:1 ✅ */
  --hp-text-subtle:  #6b80a8;

  /* ── Borders — blue-tinted ── */
  --hp-border:       rgba(59, 130, 246, 0.18);
  --hp-border-strong:rgba(59, 130, 246, 0.44);

  /* ── Functional ── */
  --hp-locked-overlay: rgba(0, 0, 0, 0.80);
  --hp-success:      #34d399;
  --hp-success-muted:rgba(52, 211, 153, 0.14);
  --hp-error:        #f87171;
  --hp-error-muted:  rgba(248, 113, 113, 0.14);

  /* ── Typography — all-Inter sans (technical, contemporary) ── */
  --hp-font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --hp-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --hp-text-xs:   0.75rem;
  --hp-text-sm:   0.875rem;
  --hp-text-base: 1rem;
  --hp-text-lg:   1.125rem;
  --hp-text-xl:   1.25rem;
  --hp-text-2xl:  1.5rem;
  --hp-text-3xl:  2rem;
  --hp-text-4xl:  2.75rem;
  --hp-text-5xl:  3.75rem;
  --hp-text-hero: clamp(3rem, 8vw, 6rem); /* slightly larger for the tech-bold aesthetic */

  /* ── Spacing (same scale) ── */
  --hp-sp-px: 1px;
  --hp-sp-1:  0.25rem;
  --hp-sp-2:  0.5rem;
  --hp-sp-3:  0.75rem;
  --hp-sp-4:  1rem;
  --hp-sp-5:  1.25rem;
  --hp-sp-6:  1.5rem;
  --hp-sp-7:  1.75rem;
  --hp-sp-8:  2rem;
  --hp-sp-10: 2.5rem;
  --hp-sp-12: 3rem;
  --hp-sp-16: 4rem;
  --hp-sp-20: 5rem;
  --hp-sp-24: 6rem;
  --hp-sp-32: 8rem;

  /* ── Radii — sharp (technical / sci-fi) ── */
  --hp-r-sm:   2px;
  --hp-r-md:   4px;
  --hp-r-lg:   8px;
  --hp-r-xl:   12px;
  --hp-r-full: 9999px;

  /* ── Shadows — deep with blue glow ── */
  --hp-shadow-card:       0 1px 3px rgba(0,0,0,0.72), 0 0 0 1px rgba(59,130,246,0.10);
  --hp-shadow-raised:     0 8px 32px rgba(0,0,0,0.88), 0 0 0 1px rgba(59,130,246,0.18);
  --hp-shadow-gold:       0 0 24px rgba(59,130,246,0.32);
  --hp-shadow-photo-glow: 0 0 60px rgba(59,130,246,0.18);

  /* ── Overlays & on-accent ── */
  --hp-on-accent:          #080a10;
  --hp-hero-overlay:       linear-gradient(to bottom, rgba(8,10,16,0.38) 0%, rgba(8,10,16,0.88) 80%, var(--hp-bg) 100%);
  --hp-card-veil:          linear-gradient(to top, rgba(8,10,16,0.92) 0%, transparent 100%);
  --hp-header-scrolled-bg: rgba(8,10,16,0.97);

  /* ── Skin-aware chrome ── */
  --hp-media-well:         #080a10;
  --hp-age-gate-img-filter:brightness(0.14) saturate(0.40) hue-rotate(220deg);
  --hp-nav-photo-shadow:   0 1px 3px rgba(0,0,0,0.54);

  /* ── Utility ── */
  --hp-portrait-glow-bleed: -12px;
  --hp-prose-max:            36rem;

  /* ── Layout ── */
  --hp-content-max:  1280px;
  --hp-content-pad:  clamp(16px, 4vw, 24px);
  --hp-header-h:     72px;

  /* ── Motion ── */
  --hp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hp-dur:  0.25s;
}
