﻿/* ==========================================================================
   SOURCE DESIGN SYSTEM - DISTRIBUTABLE CSS BUNDLE (v1.0.2)
   Canonical UI Component System & Tokens for Source Websites
   ========================================================================== */

/* --- File: tokens.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — DESIGN TOKENS (v1.0.1)
   ========================================================================== */

:root {
  /* Surface & Canvas System */
  --source-bg: #050505;
  --source-surface: rgba(11, 13, 17, 0.72);
  --source-surface-strong: rgba(9, 12, 17, 0.92);
  --source-white: #f8fafc;
  --source-body: rgba(226, 232, 240, 0.68);
  --source-muted: rgba(226, 232, 240, 0.40);
  --source-line: rgba(255, 255, 255, 0.082);
  --source-line-soft: rgba(255, 255, 255, 0.045);
  --source-shadow: 0 34px 92px rgba(0, 0, 0, 0.48);
  --source-ease: cubic-bezier(.16, 1, .3, 1);
  --source-card-radius-lg: 1.5rem;
  --source-card-radius-md: 1rem;
  --source-card-radius-sm: 0.75rem;

  /* Universal Semantic Color Palette */
  --source-gold: #d4af37;
  --source-cyan: #33d2ff;
  --source-teal: #14b8a6;
  --source-emerald: #10b981;
  --source-amber: #f59e0b;
  --source-purple: #a855f7;
  --source-rose: #ef4444;
  --source-slate: #64748b;

  /* Universal Typography System (100% Saira Locked) */
  --font: 'Saira', Arial, sans-serif;
  --font-mono: 'Saira', Arial, sans-serif;

  /* Backward Compatibility Aliases for Existing Consumer Codebases */
  --bg: var(--source-bg);
  --surface: var(--source-surface);
  --surface-strong: var(--source-surface-strong);
  --white: var(--source-white);
  --body: var(--source-body);
  --muted: var(--source-muted);
  --line: var(--source-line);
  --line-soft: var(--source-line-soft);
  --shadow: var(--source-shadow);
  --ease: var(--source-ease);
  --card-radius-lg: var(--source-card-radius-lg);

  --gold: var(--source-gold);
  --scgold: var(--source-gold);
  --cyan: var(--source-cyan);
  --sccyan: var(--source-cyan);
  --emerald: var(--source-emerald);
  --scgreen: var(--source-emerald);
  --teal: var(--source-teal);
  --scteal: var(--source-teal);
  --amber: var(--source-amber);
  --scamber: var(--source-amber);
  --purple: var(--source-purple);
  --rose: var(--source-rose);
  --scslate: var(--source-slate);

  /* Default Theme Glow Variables */
  --theme-glow: rgba(212, 175, 55, 0.05);
  --theme-shadow: rgba(212, 175, 55, 0.15);
  --theme-border-glow: rgba(212, 175, 55, 0.9);
}


/* --- File: base.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — BASE & CANVAS STYLES (v1.0.0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Saira:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--source-bg);
  color: var(--source-white);
  font-family: var(--font);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--source-white);
  font-family: var(--font) !important;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #ffffff;
}

/* Micrograin Overlay */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Ambient Cursor Spotlight */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: radial-gradient(circle 850px at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--source-accent-glow, rgba(212, 175, 55, 0.04)), transparent 70%);
  transition: background 0.05s ease;
  pointer-events: none;
}

/* Dynamic Interactive Microgrid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  mask-image: radial-gradient(circle 650px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle 650px at var(--mouse-x, 50%) var(--mouse-y, 50%), black, transparent 80%);
  pointer-events: none;
}

/* Typography Gradient Utilities */
.text-gold-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 35%, #d4af37 75%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 35%, #33d2ff 75%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-teal-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #99f6e4 35%, #14b8a6 75%, #0f766e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-silver-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* --- File: cards.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — CANONICAL CARD STYLE P & SUBCARD SYSTEM (v1.0.1)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Master Card Style P (.gc-style1-p, .source-card, .sc-card, .tilt-card)
   -------------------------------------------------------------------------- */
.gc-style1-p,
.source-card,
.sc-card,
.tilt-card {
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(14px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
  border: none !important;
  border-radius: var(--source-card-radius-lg, 1.5rem);
  padding: 2.2rem;
  box-shadow: 
    inset 1px 1px 0px rgba(255, 255, 255, 0.07),
    inset -1px -1px 0px rgba(0, 0, 0, 0.45),
    0 20px 40px -10px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--source-ease, cubic-bezier(.16, 1, .3, 1)), box-shadow 0.6s, background 0.4s;
}

/* Subtle Micrograin Texture Inside Card */
.gc-style1-p::after,
.source-card::after,
.sc-card::after,
.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.018;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 5;
}

/* Diagonal Specular Sheen */
.gc-style1-p::before,
.source-card::before,
.sc-card::before,
.tilt-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  background-size: 300% 300%;
  background-position: var(--glare-x, 50%) var(--glare-y, 50%);
  opacity: 0;
  mix-blend-mode: normal;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s;
}

.gc-style1-p:hover::before,
.source-card:hover::before,
.sc-card:hover::before,
.tilt-card:hover::before {
  opacity: 1;
}

.gc-style1-p:hover,
.source-card:hover,
.sc-card:hover,
.tilt-card:hover {
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), var(--theme-glow, rgba(212, 175, 55, 0.05)) 0%, rgba(0, 0, 0, 0.96) 80%) !important;
  box-shadow: 
    inset 1px 1px 0px rgba(255, 255, 255, 0.12),
    inset -1px -1px 0px rgba(0, 0, 0, 0.5),
    0 25px 50px var(--theme-shadow, rgba(212, 175, 55, 0.15)),
    0 15px 35px -5px rgba(0, 0, 0, 0.6);
}

/* Cursor-Tracking Border Glare Element (Direct Children Only) */
.gc-style1-p > .border-glare,
.source-card > .border-glare,
.sc-card > .border-glare,
.tilt-card > .border-glare {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle 100px at var(--glare-x, 50%) var(--glare-y, 50%), var(--theme-border-glow, rgba(212, 175, 55, 0.9)) 0%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 15;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.gc-style1-p:hover > .border-glare,
.source-card:hover > .border-glare,
.sc-card:hover > .border-glare,
.tilt-card:hover > .border-glare {
  visibility: visible;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   2. Canonical Subcard Component (.gc-subcard-p, .source-subcard)
   -------------------------------------------------------------------------- */
.gc-subcard-p,
.source-subcard {
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(12px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(130%) !important;
  border-radius: var(--source-card-radius-md, 1rem);
  padding: 1.25rem 1.5rem;
  box-shadow: 
    inset 1px 1px 0px rgba(255, 255, 255, 0.06),
    inset -1px -1px 0px rgba(0, 0, 0, 0.5),
    0 10px 25px -5px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(.16, 1, .3, 1), box-shadow 0.4s, background 0.3s, border-color 0.3s;
}

.gc-subcard-p > .border-glare,
.source-subcard > .border-glare {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(circle 80px at var(--glare-x, 50%) var(--glare-y, 50%), var(--theme-border-glow, rgba(212, 175, 55, 0.85)) 0%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 15;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.gc-subcard-p:hover,
.source-subcard:hover {
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), var(--theme-glow, rgba(212, 175, 55, 0.05)) 0%, rgba(0, 0, 0, 0.92) 85%) !important;
  box-shadow: 
    inset 1px 1px 0px rgba(255, 255, 255, 0.12),
    inset -1px -1px 0px rgba(0, 0, 0, 0.6),
    0 15px 35px var(--theme-shadow, rgba(212, 175, 55, 0.12)),
    0 8px 20px rgba(0, 0, 0, 0.8);
}

.gc-subcard-p:hover > .border-glare,
.source-subcard:hover > .border-glare {
  visibility: visible;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   3. HUD Top, Metadata Pills & Status Indicators
   -------------------------------------------------------------------------- */
.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 20;
}

.pill-meta {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 9.5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 1; }
}

.ghost-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font);
  font-size: 8rem;
  font-weight: 800;
  color: #ffffff;
  opacity: 0.025;
  line-height: 0.8;
  pointer-events: none;
  z-index: 1;
  transition: all 0.8s var(--source-ease, cubic-bezier(.16, 1, .3, 1));
}

.gc-style1-p:hover .ghost-num,
.source-card:hover .ghost-num,
.sc-card:hover .ghost-num,
.tilt-card:hover .ghost-num {
  opacity: 0.06;
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   4. Evidence State Badges
   -------------------------------------------------------------------------- */
.evidence-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.badge-research {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--source-gold);
}

.badge-research:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--source-gold);
}

.badge-designed {
  background: rgba(51, 210, 255, 0.08);
  border: 1px solid rgba(51, 210, 255, 0.3);
  color: var(--source-cyan);
}

.badge-prototype {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--source-emerald);
}

.badge-proven {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: var(--source-emerald) !important;
}

.badge-operational {
  background: rgba(51, 210, 255, 0.1) !important;
  border: 1px solid rgba(51, 210, 255, 0.35) !important;
  color: var(--source-cyan) !important;
}

.badge-simulated {
  background: rgba(168, 85, 247, 0.1) !important;
  border: 1px solid rgba(168, 85, 247, 0.35) !important;
  color: var(--source-purple) !important;
}

/* --------------------------------------------------------------------------
   5. Media Slots & Frames
   -------------------------------------------------------------------------- */
.media-slot,
.sc-media-frame {
  position: relative;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--source-card-radius-lg, 1.5rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    inset 0 -2px 6px rgba(0, 0, 0, 0.7),
    0 20px 48px -12px rgba(0, 0, 0, 0.85);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.media-slot:hover,
.sc-media-frame:hover {
  border-color: var(--source-accent-border, rgba(212, 175, 55, 0.4));
  box-shadow: 
    inset 0 1px 1px var(--source-accent-soft, rgba(212, 175, 55, 0.15)),
    0 24px 60px -10px var(--source-accent-glow, rgba(212, 175, 55, 0.12)),
    0 12px 30px rgba(0, 0, 0, 0.9);
}

.media-slot img,
.media-slot video,
.sc-media-frame img,
.sc-media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-hero { aspect-ratio: 16 / 11; }
.media-landscape { aspect-ratio: 16 / 10; }
.media-ultrawide { aspect-ratio: 21 / 9; min-height: 320px; }
.aspect-golden { aspect-ratio: 1.618 / 1; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-portrait { aspect-ratio: 4 / 5; }
.aspect-cinematic { aspect-ratio: 16 / 9; }


/* --- File: buttons.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — BUTTON SYSTEM (v1.0.1)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Chiseled Primary Button System (.chiseled-btn)
   -------------------------------------------------------------------------- */
.chiseled-btn {
  position: relative;
  display: inline-flex;
  height: 44px;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  padding: 0;
  background: transparent;
  user-select: none;
  transition: transform 0.25s var(--source-ease, cubic-bezier(.16, 1, .3, 1));
}

.chiseled-btn:hover {
  transform: translateY(-2px);
}

.chiseled-btn-glow {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--source-accent-glow, rgba(212, 175, 55, 0.18));
  filter: blur(8px);
  opacity: 0;
  transition: all 0.5s var(--source-ease, cubic-bezier(.16, 1, .3, 1));
  pointer-events: none;
  z-index: 0;
}

.chiseled-btn:hover .chiseled-btn-glow {
  opacity: 1;
  transform: scale(1.02);
}

.chiseled-btn-inner {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
  transition: all 0.5s var(--source-ease, cubic-bezier(.16, 1, .3, 1));
}

.chiseled-btn:hover .chiseled-btn-inner {
  box-shadow: 0 6px 24px var(--source-accent-shadow, rgba(212,175,55,0.35)), inset 0 0 0 1px var(--source-accent-border, rgba(212,175,55,0.35));
}

.chiseled-icon-housing {
  width: 40px;
  height: 100%;
  border-radius: 9999px 0 0 9999px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid var(--source-accent, #d4af37);
  overflow: hidden;
  z-index: 20;
  background: linear-gradient(180deg, #42424a 0%, #202025 35%, #0f0f13 100%);
  box-shadow: inset 2px 0 4px rgba(0,0,0,0.4), inset 0 1px 2px rgba(255,255,255,0.18), inset 0 -2px 4px rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}

.chiseled-triangle {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--source-accent, #d4af37);
  filter: drop-shadow(0 1px 0.5px rgba(255,255,255,0.2)) drop-shadow(0 -0.5px 0.5px rgba(0,0,0,0.65));
  transition: color 0.3s ease, filter 0.3s ease;
}

.chiseled-btn:hover .chiseled-triangle {
  color: #ffffff;
  filter: drop-shadow(0 1px 2px var(--source-accent-glow-strong, rgba(212,175,55,0.8)));
}

.chiseled-btn-body {
  display: flex;
  align-items: center;
  padding-left: 16px;
  padding-right: 22px;
  height: 100%;
  margin-left: -1px;
  backdrop-filter: blur(14px);
  border: 1px solid var(--source-accent-border, rgba(212, 175, 55, 0.3));
  border-left: 0;
  border-radius: 0 9999px 9999px 0;
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: var(--source-btn-body-bg, linear-gradient(90deg, rgba(28, 24, 14, 0.85) 0%, rgba(14, 12, 8, 0.7) 100%));
  box-shadow: inset 0 0 12px var(--source-accent-soft, rgba(212,175,55,0.08)), inset 0 1px 1px rgba(255,255,255,0.2);
  transition: all 0.5s var(--source-ease, cubic-bezier(.16, 1, .3, 1));
}

.chiseled-btn:hover .chiseled-btn-body {
  border-color: var(--source-accent-border-strong, rgba(212, 175, 55, 0.6));
  background: var(--source-btn-body-hover, linear-gradient(90deg, rgba(38, 32, 18, 0.95) 0%, rgba(20, 16, 10, 0.85) 100%));
}

.chiseled-btn-body span {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. Standard Buttons (.btn, .btn-primary, .btn-secondary, outline variants)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--source-ease, cubic-bezier(.16, 1, .3, 1));
  user-select: none;
}

.btn-primary {
  background: var(--source-accent, #d4af37);
  color: #000000;
  font-weight: 600;
  border: 1px solid var(--source-accent, #d4af37);
  box-shadow: 0 4px 20px var(--source-accent-shadow, rgba(212, 175, 55, 0.3));
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--source-accent-shadow, rgba(212, 175, 55, 0.5));
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: rgba(212, 175, 55, 0.05);
  color: var(--source-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(12px);
}

.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.65);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-cyan-outline {
  background: rgba(51, 210, 255, 0.05);
  color: var(--source-cyan);
  border: 1px solid rgba(51, 210, 255, 0.35);
  backdrop-filter: blur(12px);
}

.btn-cyan-outline:hover {
  background: rgba(51, 210, 255, 0.15);
  border-color: rgba(51, 210, 255, 0.65);
  color: #ffffff;
  transform: translateY(-2px);
}


/* --- File: themes.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — SEMANTIC CARD THEMES (v1.0.0)
   ========================================================================== */

/* Theme Gold (Capital, Premium, Primary Synthesis) */
.theme-gold,
.gc-style1-p.theme-gold,
.source-card.theme-gold,
.gc-subcard-p.theme-gold,
.source-subcard.theme-gold {
  --theme-glow: rgba(212, 175, 55, 0.06);
  --theme-shadow: rgba(212, 175, 55, 0.18);
  --theme-border-glow: rgba(212, 175, 55, 0.95);
  --theme-accent: #d4af37;
}

/* Theme Cyan (Forensic, Diagnostic, Intelligence) */
.theme-cyan,
.gc-style1-p.theme-cyan,
.source-card.theme-cyan,
.gc-subcard-p.theme-cyan,
.source-subcard.theme-cyan {
  --theme-glow: rgba(51, 210, 255, 0.06);
  --theme-shadow: rgba(51, 210, 255, 0.18);
  --theme-border-glow: rgba(51, 210, 255, 0.95);
  --theme-accent: #33d2ff;
}

/* Theme Teal (Diligence, Narrative, Contracts) */
.theme-teal,
.gc-style1-p.theme-teal,
.source-card.theme-teal,
.gc-subcard-p.theme-teal,
.source-subcard.theme-teal {
  --theme-glow: rgba(20, 184, 166, 0.06);
  --theme-shadow: rgba(20, 184, 166, 0.18);
  --theme-border-glow: rgba(20, 184, 166, 0.95);
  --theme-accent: #14b8a6;
}

/* Theme Emerald (Financial, Modeling, Cash Flow, Growth) */
.theme-emerald,
.gc-style1-p.theme-emerald,
.source-card.theme-emerald,
.gc-subcard-p.theme-emerald,
.source-subcard.theme-emerald {
  --theme-glow: rgba(16, 185, 129, 0.06);
  --theme-shadow: rgba(16, 185, 129, 0.18);
  --theme-border-glow: rgba(16, 185, 129, 0.95);
  --theme-accent: #10b981;
}

/* Theme Amber (Risk, Warnings, Underwriting Gaps, Friction) */
.theme-amber,
.gc-style1-p.theme-amber,
.source-card.theme-amber,
.gc-subcard-p.theme-amber,
.source-subcard.theme-amber {
  --theme-glow: rgba(245, 158, 11, 0.06);
  --theme-shadow: rgba(245, 158, 11, 0.18);
  --theme-border-glow: rgba(245, 158, 11, 0.95);
  --theme-accent: #f59e0b;
}

/* Theme Purple (Virtual Data Room, Security, Multi-tier Stack) */
.theme-purple,
.gc-style1-p.theme-purple,
.source-card.theme-purple,
.gc-subcard-p.theme-purple,
.source-subcard.theme-purple {
  --theme-glow: rgba(168, 85, 247, 0.06);
  --theme-shadow: rgba(168, 85, 247, 0.18);
  --theme-border-glow: rgba(168, 85, 247, 0.95);
  --theme-accent: #a855f7;
}

/* Status Pill Color Themes */
.status-gold { color: var(--source-gold); border-color: rgba(212, 175, 55, 0.25); background: rgba(212, 175, 55, 0.06); }
.status-cyan { color: var(--source-cyan); border-color: rgba(51, 210, 255, 0.25); background: rgba(51, 210, 255, 0.06); }
.status-teal { color: var(--source-teal); border-color: rgba(20, 184, 166, 0.25); background: rgba(20, 184, 166, 0.06); }
.status-emerald { color: var(--source-emerald); border-color: rgba(16, 185, 129, 0.25); background: rgba(16, 185, 129, 0.06); }
.status-amber { color: var(--source-amber); border-color: rgba(245, 158, 11, 0.25); background: rgba(245, 158, 11, 0.06); }
.status-purple { color: var(--source-purple); border-color: rgba(168, 85, 247, 0.25); background: rgba(168, 85, 247, 0.06); }

/* Pulse Dots */
.pulse-gold { background: var(--source-gold); box-shadow: 0 0 8px var(--source-gold); }
.pulse-cyan { background: var(--source-cyan); box-shadow: 0 0 8px var(--source-cyan); }
.pulse-teal { background: var(--source-teal); box-shadow: 0 0 8px var(--source-teal); }
.pulse-emerald { background: var(--source-emerald); box-shadow: 0 0 8px var(--source-emerald); }
.pulse-amber { background: var(--source-amber); box-shadow: 0 0 8px var(--source-amber); }
.pulse-purple { background: var(--source-purple); box-shadow: 0 0 8px var(--source-purple); }


/* --- File: page-accents.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — PAGE-LEVEL ACCENT THEMING (v1.0.1)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Default Global Page Accent: Gold-Led (Defined at :root ONLY)
   Bare 'body' selector is strictly omitted to prevent cascade inheritance bugs.
   -------------------------------------------------------------------------- */
:root {
  --source-accent: #d4af37;
  --source-accent-rgb: 212, 175, 55;
  --source-accent-soft: rgba(212, 175, 55, 0.08);
  --source-accent-border: rgba(212, 175, 55, 0.30);
  --source-accent-border-strong: rgba(212, 175, 55, 0.60);
  --source-accent-glow: rgba(212, 175, 55, 0.18);
  --source-accent-glow-soft: rgba(212, 175, 55, 0.04);
  --source-accent-glow-strong: rgba(212, 175, 55, 0.80);
  --source-accent-shadow: rgba(212, 175, 55, 0.35);
  --source-frame-border: rgba(212, 175, 55, 0.25);
  
  --source-btn-body-bg: linear-gradient(90deg, rgba(28, 24, 14, 0.85) 0%, rgba(14, 12, 8, 0.7) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(38, 32, 18, 0.95) 0%, rgba(20, 16, 10, 0.85) 100%);
}

/* --------------------------------------------------------------------------
   Explicit Page-Level Accent Declarations (Overrides on html or container)
   -------------------------------------------------------------------------- */

/* Gold Page Accent (Capital & Master Brand) */
[data-source-accent="gold"],
[data-page-theme="home"],
body.theme-page-home {
  --source-accent: #d4af37;
  --source-accent-rgb: 212, 175, 55;
  --source-accent-soft: rgba(212, 175, 55, 0.08);
  --source-accent-border: rgba(212, 175, 55, 0.30);
  --source-accent-border-strong: rgba(212, 175, 55, 0.60);
  --source-accent-glow: rgba(212, 175, 55, 0.18);
  --source-accent-glow-soft: rgba(212, 175, 55, 0.04);
  --source-accent-glow-strong: rgba(212, 175, 55, 0.80);
  --source-accent-shadow: rgba(212, 175, 55, 0.35);
  --source-frame-border: rgba(212, 175, 55, 0.25);
  
  --source-btn-body-bg: linear-gradient(90deg, rgba(28, 24, 14, 0.85) 0%, rgba(14, 12, 8, 0.7) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(38, 32, 18, 0.95) 0%, rgba(20, 16, 10, 0.85) 100%);
}

/* Cyan Page Accent (Forensic Diagnostic & Intelligence) */
[data-source-accent="cyan"],
[data-page-theme="capital"],
[data-page-theme="platform"],
body.theme-page-platform {
  --source-accent: #33d2ff;
  --source-accent-rgb: 51, 210, 255;
  --source-accent-soft: rgba(51, 210, 255, 0.08);
  --source-accent-border: rgba(51, 210, 255, 0.30);
  --source-accent-border-strong: rgba(51, 210, 255, 0.60);
  --source-accent-glow: rgba(51, 210, 255, 0.18);
  --source-accent-glow-soft: rgba(51, 210, 255, 0.04);
  --source-accent-glow-strong: rgba(51, 210, 255, 0.80);
  --source-accent-shadow: rgba(51, 210, 255, 0.35);
  --source-frame-border: rgba(51, 210, 255, 0.25);

  --source-btn-body-bg: linear-gradient(90deg, rgba(8, 26, 35, 0.95) 0%, rgba(4, 14, 20, 0.8) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(12, 38, 52, 0.98) 0%, rgba(6, 20, 28, 0.9) 100%);
}

/* Teal Page Accent (Diligence & Narrative Architecture) */
[data-source-accent="teal"],
[data-page-theme="builders"],
body.theme-page-builders {
  --source-accent: #14b8a6;
  --source-accent-rgb: 20, 184, 166;
  --source-accent-soft: rgba(20, 184, 166, 0.08);
  --source-accent-border: rgba(20, 184, 166, 0.30);
  --source-accent-border-strong: rgba(20, 184, 166, 0.60);
  --source-accent-glow: rgba(20, 184, 166, 0.18);
  --source-accent-glow-soft: rgba(20, 184, 166, 0.04);
  --source-accent-glow-strong: rgba(20, 184, 166, 0.80);
  --source-accent-shadow: rgba(20, 184, 166, 0.35);
  --source-frame-border: rgba(20, 184, 166, 0.25);

  --source-btn-body-bg: linear-gradient(90deg, rgba(6, 28, 24, 0.95) 0%, rgba(3, 16, 14, 0.8) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(10, 42, 36, 0.98) 0%, rgba(5, 24, 20, 0.9) 100%);
}

/* Emerald Page Accent (Financial Modeling & Conversion) */
[data-source-accent="emerald"],
[data-page-theme="convert"],
body.theme-page-convert {
  --source-accent: #10b981;
  --source-accent-rgb: 16, 185, 129;
  --source-accent-soft: rgba(16, 185, 129, 0.08);
  --source-accent-border: rgba(16, 185, 129, 0.30);
  --source-accent-border-strong: rgba(16, 185, 129, 0.60);
  --source-accent-glow: rgba(16, 185, 129, 0.18);
  --source-accent-glow-soft: rgba(16, 185, 129, 0.04);
  --source-accent-glow-strong: rgba(16, 185, 129, 0.80);
  --source-accent-shadow: rgba(16, 185, 129, 0.35);
  --source-frame-border: rgba(16, 185, 129, 0.25);

  --source-btn-body-bg: linear-gradient(90deg, rgba(6, 28, 18, 0.95) 0%, rgba(3, 16, 10, 0.8) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(10, 42, 26, 0.98) 0%, rgba(5, 24, 14, 0.9) 100%);
}

/* Amber Page Accent (Risk & Pre-Market Remediation) */
[data-source-accent="amber"] {
  --source-accent: #f59e0b;
  --source-accent-rgb: 245, 158, 11;
  --source-accent-soft: rgba(245, 158, 11, 0.08);
  --source-accent-border: rgba(245, 158, 11, 0.30);
  --source-accent-border-strong: rgba(245, 158, 11, 0.60);
  --source-accent-glow: rgba(245, 158, 11, 0.18);
  --source-accent-glow-soft: rgba(245, 158, 11, 0.04);
  --source-accent-glow-strong: rgba(245, 158, 11, 0.80);
  --source-accent-shadow: rgba(245, 158, 11, 0.35);
  --source-frame-border: rgba(245, 158, 11, 0.25);

  --source-btn-body-bg: linear-gradient(90deg, rgba(32, 20, 6, 0.95) 0%, rgba(18, 10, 3, 0.8) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(46, 28, 8, 0.98) 0%, rgba(26, 14, 4, 0.9) 100%);
}

/* Purple Page Accent (Simulation & Diligence Vault Security) */
[data-source-accent="purple"],
[data-page-theme="simulation"],
body.theme-page-simulation {
  --source-accent: #a855f7;
  --source-accent-rgb: 168, 85, 247;
  --source-accent-soft: rgba(168, 85, 247, 0.08);
  --source-accent-border: rgba(168, 85, 247, 0.30);
  --source-accent-border-strong: rgba(168, 85, 247, 0.60);
  --source-accent-glow: rgba(168, 85, 247, 0.18);
  --source-accent-glow-soft: rgba(168, 85, 247, 0.04);
  --source-accent-glow-strong: rgba(168, 85, 247, 0.80);
  --source-accent-shadow: rgba(168, 85, 247, 0.35);
  --source-frame-border: rgba(168, 85, 247, 0.25);

  --source-btn-body-bg: linear-gradient(90deg, rgba(24, 10, 36, 0.95) 0%, rgba(12, 4, 20, 0.8) 100%);
  --source-btn-body-hover: linear-gradient(90deg, rgba(36, 14, 54, 0.98) 0%, rgba(18, 6, 28, 0.9) 100%);
}


/* --- File: layout-primitives.css --- */
/* ==========================================================================
   SOURCE DESIGN SYSTEM — LAYOUT PRIMITIVES & ACCESSIBILITY (v1.0.0)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Reusable Neutral Layout Wrappers & Spacing
   -------------------------------------------------------------------------- */
.sc-wrap {
  width: min(1380px, calc(100% - 48px));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   2. Eyebrow Component
   -------------------------------------------------------------------------- */
.sc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--source-accent, #d4af37);
  margin-bottom: 20px;
}

.sc-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--source-accent, #d4af37);
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   3. Section Titles & Subtitles
   -------------------------------------------------------------------------- */
.sc-section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}

.sc-section-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--source-body);
  max-width: 780px;
  margin-bottom: 48px;
}

/* --------------------------------------------------------------------------
   4. Accessibility & Reduced Motion Contract
   Visual styling and glass depth are 100% maintained, while 3D translation
   and rotation are gracefully suspended.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .gc-style1-p,
  .source-card,
  .sc-card,
  .tilt-card,
  .gc-subcard-p,
  .source-subcard,
  .chiseled-btn,
  .btn {
    transition: none !important;
    transform: none !important;
  }

  .status-pulse {
    animation: none !important;
  }
}


