/* ═══════════════════════════════════════════════════════════════
   SAFERSHIFT — DESIGN SYSTEM
   styles.css · Shared across index.html, funding.html, styleguide.html
   Version: 20260223
   ═══════════════════════════════════════════════════════════════ */


/* ── 1. TOKENS ──────────────────────────────────────────────────
   The single source of truth for every color, font, and easing.
   ─────────────────────────────────────────────────────────────── */
:root {

  /* ── DARK SYSTEM ── Navy family — structural depth */
  --navy-900: #050810;
  --navy-800: #080D1A;   /* page base */
  --navy-700: #0E1525;   /* card / section alt */
  --navy-600: #172033;   /* elevated surface */
  --navy-500: #1E2B45;   /* borders, dividers */

  /* Violet family — brand identity & primary actions */
  --violet-700: #2D0673;
  --violet-600: #490ABF;  /* core brand violet */
  --violet-500: #5C1FD4;
  --violet-400: #7C3AED;
  --violet-300: #8B5CF6;  /* text on dark */
  --violet-100: rgba(73,10,191,0.12);
  --violet-glow: rgba(73,10,191,0.22);

  /* Teal family — confirmation, data, highlights */
  --teal-600: #097A6A;
  --teal-500: #0ABFA3;    /* core teal (dark system) */
  --teal-400: #0DD4B5;
  --teal-100: rgba(10,191,163,0.12);
  --teal-glow: rgba(10,191,163,0.18);

  /* Supporting */
  --amber: #F5A623;
  --amber-100: rgba(245,166,35,0.12);
  --rose:  #E8445A;
  --rose-100: rgba(232,68,90,0.12);

  /* Dark system neutrals */
  --slate:  #3D4F6E;
  --mist:   #A8BBCF;
  --cloud:  #C8D8E8;
  --cream:  #EEF0F5;
  --white:  #FFFFFF;

  /* Dark system semantic aliases */
  --bg-base:      var(--navy-800);
  --bg-alt:       var(--navy-700);
  --bg-surface:   var(--navy-600);
  --bg-raised:    var(--navy-500);
  --border:       rgba(61,79,110,0.5);
  --border-light: rgba(61,79,110,0.25);
  --text-primary:   var(--cream);
  --text-secondary: var(--mist);
  --text-muted:     var(--slate);
  --accent-primary:   var(--violet-600);
  --accent-secondary: var(--teal-500);

  /* ── LIGHT SYSTEM ── Tiziana's warm cream palette */
  --ls-cream:        #FAF8F4;   /* page background */
  --ls-warm-white:   #FFFFFF;   /* card surfaces */
  --ls-parchment:    #F2EDE4;   /* pull quotes, callouts */
  --ls-ink:          #1A1E2E;   /* headings, primary text */
  --ls-ink-mid:      #3B4260;   /* body text */
  --ls-ink-light:    #8890A8;   /* captions, muted text */
  --ls-teal:         #2A7A6F;   /* primary accent (light system) */
  --ls-teal-light:   #3A9B8E;   /* teal hover / on dark */
  --ls-teal-pale:    #EAF5F3;   /* teal highlight background */
  --ls-amber:        #C8742A;   /* amber accent (light system) */
  --ls-border:       #E4DDD2;   /* card borders */
  --ls-border-dark:  #C8C0B4;   /* link underlines, stronger borders */

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm:   2px;
  --radius-md:   4px;
  --radius-lg:   8px;
  --radius-xl:   16px;
  --radius-full: 100px;
}


/* ── 2. RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 100%; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }


/* ── 3. NOISE TEXTURE ───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}


/* ── 4. TYPOGRAPHY ──────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem);    font-weight: 900; }
h2 { font-size: clamp(2rem,  4vw, 3.2rem);   font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-secondary);
}

.caption {
  font-size: 0.875rem; /* 14px */
  color: var(--mist);
  line-height: 1.6;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
}

.label-violet {
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-300);
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream);
  padding-left: var(--space-5);
  border-left: 3px solid var(--violet-600);
}

blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  font-style: normal;
  color: var(--violet-300);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--teal-500);
  background: var(--teal-100);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
}

strong { font-weight: 600; color: var(--text-primary); }
em     { font-style: italic; }


/* ── 5. LAYOUT UTILITIES ────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw;
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5vw;
}

.container-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 6vw;
}

section {
  padding: var(--space-16) 6vw;
  position: relative;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }

.flex      { display: flex; }
.flex-col  { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.mt-2  { margin-top: var(--space-2); }
.mt-3  { margin-top: var(--space-3); }
.mt-4  { margin-top: var(--space-4); }
.mt-5  { margin-top: var(--space-5); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-5  { margin-bottom: var(--space-5); }
.mb-6  { margin-bottom: var(--space-6); }


/* ── 6. BACKGROUNDS (DARK SYSTEM) ───────────────────────────── */

.bg-base    { background: var(--bg-base); }
.bg-alt     { background: var(--bg-alt); }
.bg-surface { background: var(--bg-surface); }

.bg-violet-gradient {
  background: linear-gradient(160deg, #0C0A1E 0%, var(--navy-700) 50%, var(--navy-800) 100%);
}
.bg-purple-section {
  background: linear-gradient(145deg, #100825 0%, #0E1525 40%, #080D1A 100%);
}
.bg-hero { background: var(--navy-800); }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73,10,191,0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73,10,191,0.065) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.glow-violet {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,10,191,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.glow-teal {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,191,163,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-8) 0;
}


/* ── 7. NAVIGATION ──────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8,13,26,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(73,10,191,0.18);
  transition: background 0.3s;
}

.nav.scrolled { background: rgba(8,13,26,0.97); }

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.nav-logo .accent { color: var(--teal-500); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem; /* 14px */
}

.nav-links a:hover { color: var(--teal-500); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}


/* ── 8. BUTTONS ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s var(--ease-out-expo);
  cursor: pointer;
  white-space: nowrap;
}

/* Primary — violet fill */
.btn-primary {
  background: var(--violet-600);
  color: var(--white);
  border: 1px solid var(--violet-600);
}
.btn-primary:hover {
  background: var(--violet-500);
  border-color: var(--violet-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(73,10,191,0.4);
}

/* Secondary — teal fill */
.btn-secondary {
  background: var(--teal-500);
  color: var(--navy-800);
  border: 1px solid var(--teal-500);
  font-weight: 700;
}
.btn-secondary:hover {
  background: var(--teal-400);
  border-color: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,191,163,0.3);
}

/* Ghost — transparent with violet border */
.btn-ghost {
  background: transparent;
  color: var(--mist);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--violet-400);
  color: var(--violet-300);
}

/* Ghost teal variant */
.btn-ghost-teal {
  background: transparent;
  color: var(--teal-500);
  border: 1px solid rgba(10,191,163,0.35);
}
.btn-ghost-teal:hover {
  background: var(--teal-100);
  border-color: var(--teal-500);
}

/* Small size modifier */
.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem; /* 14px */
}

/* Nav CTA */
.btn-nav {
  background: var(--violet-500);
  color: var(--white);
  border: 1px solid var(--violet-500);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.2s var(--ease-out-expo);
}
.btn-nav:hover {
  background: var(--violet-600);
  border-color: var(--violet-600);
}

/* Light system CTA button */
.btn-cta-ls {
  display: inline-block;
  background: var(--ls-teal);
  color: var(--white);
  font-size: 0.9375rem; /* 15px */
  font-weight: 600;
  padding: 1rem 2.4rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  border: 2px solid var(--ls-teal);
  transition: background 0.2s, border-color 0.2s;
}
.btn-cta-ls:hover {
  background: var(--ls-teal-light);
  border-color: var(--ls-teal-light);
}


/* ── 9. BADGES & CHIPS ──────────────────────────────────────── */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem; /* 14px */
}
.chip-violet {
  background: var(--violet-100);
  border: 1px solid rgba(73,10,191,0.3);
  color: var(--violet-300);
}
.chip-teal {
  background: var(--teal-100);
  border: 1px solid rgba(10,191,163,0.28);
  color: var(--teal-500);
}
.chip-amber {
  background: var(--amber-100);
  border: 1px solid rgba(245,166,35,0.28);
  color: var(--amber);
}
.chip-muted {
  background: rgba(61,79,110,0.2);
  border: 1px solid var(--border-light);
  color: var(--mist);
}
.chip-dot::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}


/* ── 10. CARDS (DARK SYSTEM) ────────────────────────────────── */

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); }

.card-accent-violet::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--violet-600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.card-accent-violet:hover { border-color: rgba(73,10,191,0.35); }
.card-accent-violet:hover::before { transform: scaleX(1); }

.card-accent-teal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--teal-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.card-accent-teal:hover { border-color: rgba(10,191,163,0.35); }
.card-accent-teal:hover::before { transform: scaleX(1); }

/* Stat card (dark system) */
.card-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  text-align: center;
  transition: border-color 0.3s;
}
.card-stat:hover { border-color: rgba(73,10,191,0.35); }

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-number-lg { font-size: clamp(2.5rem, 5vw, 4rem); }
.stat-number-xl { font-size: clamp(3.5rem, 7vw, 6rem); }
.stat-violet { color: var(--violet-400); }
.stat-teal   { color: var(--teal-500); }
.stat-amber  { color: var(--amber); }
.stat-cream  { color: var(--cream); }

.stat-label { font-size: 0.875rem; /* 14px */ }

/* Step / numbered card */
.step-card {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-light);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--violet-100);
  border: 1px solid rgba(73,10,191,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  flex-shrink: 0;
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.step-card p  { font-size: 0.875rem; /* 14px */ margin: 0; }


/* ── 11. LIGHT SYSTEM CARDS & COMPONENTS ────────────────────── */

/* Stat card — light system */
.ls-stat-card {
  background: var(--ls-warm-white);
  border: 1px solid var(--ls-border);
  padding: 1.8rem 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.ls-stat-card:hover { box-shadow: 0 6px 24px rgba(26,30,46,0.08); }

.ls-stat-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
}
.ls-stat-bar.teal  { background: var(--ls-teal); }
.ls-stat-bar.amber { background: var(--ls-amber); }
.ls-stat-bar.ink   { background: var(--ls-ink); }

.ls-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.ls-stat-num.teal  { color: var(--ls-teal); }
.ls-stat-num.amber { color: var(--ls-amber); }
.ls-stat-num.ink   { color: var(--ls-ink); }

.ls-stat-text {
  font-size: 0.9375rem; /* 15px */
  color: var(--ls-ink-mid);
  line-height: 1.65;
}

.ls-stat-source {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.875rem; /* 14px */
  color: var(--ls-ink-light);
}
.ls-stat-source a {
  color: var(--ls-ink-light);
  text-decoration: none;
  border-bottom: 1px solid var(--ls-border-dark);
  transition: color 0.2s;
}
.ls-stat-source a:hover { color: var(--ls-teal); }

/* Translation / approach cards — light system */
.ls-card {
  background: var(--ls-warm-white);
  border: 1px solid var(--ls-border);
  padding: 2.2rem 2rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.ls-card:hover {
  box-shadow: 0 8px 28px rgba(26,30,46,0.08);
  transform: translateY(-2px);
}

.ls-card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--ls-border);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.ls-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ls-ink);
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.ls-card-body {
  font-size: 0.9375rem; /* 15px */
  color: var(--ls-ink-mid);
  line-height: 1.8;
}

.ls-card-analogy {
  margin-top: 1.2rem;
  padding: 0.8rem 1rem;
  background: var(--ls-teal-pale);
  border-left: 2px solid var(--ls-teal);
  font-size: 0.875rem; /* 14px */
  color: var(--ls-teal);
  line-height: 1.65;
  font-style: italic;
}

/* Pull quote — light system */
.ls-pullquote {
  background: var(--ls-parchment);
}

.ls-pq-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--ls-teal);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.ls-pq-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: var(--ls-ink);
  margin-bottom: 1.5rem;
}
.ls-pq-text em {
  font-style: normal;
  color: var(--ls-teal);
}

.ls-pq-attr {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ls-ink-light);
}

/* Approach statement — teal background */
.ls-approach {
  background: var(--ls-teal);
  color: var(--white);
}

.ls-approach-eyebrow {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
}

.ls-approach-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.ls-approach-body {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.85;
}
.ls-approach-body strong { color: var(--white); }

/* Section label helpers — light system */
.ls-eyebrow {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ls-teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ls-eyebrow::before {
  content: '';
  width: 1.2rem;
  height: 2px;
  background: var(--ls-teal);
  flex-shrink: 0;
}

/* Light headings */
.ls-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ls-ink);
  margin-bottom: 1.2rem;
}
.ls-heading em {
  font-style: italic;
  color: var(--ls-teal);
}

/* Light body text */
.ls-body {
  font-size: 1rem;
  color: var(--ls-ink-mid);
  line-height: 1.85;
  margin-bottom: 1.2rem;
}
.ls-body strong { color: var(--ls-ink); }

/* References grid — light system */
.ls-refs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 3rem;
}

.ls-ref {
  font-size: 0.875rem; /* 14px */
  color: var(--ls-ink-light);
  line-height: 1.65;
  padding-left: 1.4rem;
  position: relative;
}
.ls-ref::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  color: var(--ls-teal);
  font-weight: 600;
}
.ls-ref a {
  color: var(--ls-ink-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--ls-border-dark);
  transition: color 0.2s;
}
.ls-ref a:hover { color: var(--ls-teal); }

/* Instinct comparison cards */
.instinct-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  background: rgba(255,255,255,0.02);
}
.instinct-header-cell {
  padding: 0.8rem 1.6rem;
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ls-ink-light);
}
.instinct-header-cell:first-child { border-right: 1px solid rgba(255,255,255,0.08); }

.instinct-cards { display: flex; flex-direction: column; gap: 1px; }

.instinct-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: background 0.3s;
}
.instinct-card:hover { background: rgba(255,255,255,0.07); }

.instinct-half {
  padding: 1.4rem 1.6rem;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.65;
}
.instinct-half.physical {
  border-right: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}
.instinct-half.digital { color: var(--white); }

.instinct-tag {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.instinct-tag.phys { color: var(--ls-ink-light); }
.instinct-tag.dig  { color: var(--ls-teal-light); }


/* ── 12. PILLAR ROWS ────────────────────────────────────────── */

.pillar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  transition: border-color 0.3s, background 0.3s;
}
.pillar:hover { border-color: rgba(73,10,191,0.4); background: var(--bg-surface); }

.pillar-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-lg);
  background: var(--violet-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: background 0.3s;
}
.pillar:hover .pillar-icon { background: var(--violet-glow); }

.pillar h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.pillar p  { font-size: 0.875rem; /* 14px */ margin: 0; line-height: 1.6; }


/* ── 13. MILESTONE TIMELINE ─────────────────────────────────── */

.milestone {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--bg-base);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color 0.3s;
}
.milestone:hover { border-color: rgba(73,10,191,0.35); }

.milestone-tag {
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  background: var(--violet-100);
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.milestone h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.milestone p  { font-size: 0.875rem; /* 14px */ margin: 0; line-height: 1.55; }


/* ── 14. FUND BAR CHART ─────────────────────────────────────── */

.fund-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.fund-label { font-size: 0.875rem; /* 14px */ flex-shrink: 0; }
.fund-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(61,79,110,0.3);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.fund-bar {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1.3s var(--ease-out-expo);
}
.fund-bar-violet { background: var(--violet-600); }
.fund-bar-teal   { background: var(--teal-500); }
.fund-bar-light  { background: var(--violet-300); }
.fund-pct { font-family: var(--font-mono); font-size: 0.875rem; /* 14px */ text-align: right; flex-shrink: 0; }


/* ── 15. PORTRAIT / AVATAR ──────────────────────────────────── */

.portrait-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.portrait-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

.portrait-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--bg-surface), #120B28);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--space-3);
}
.portrait-fallback .initials {
  font-family: var(--font-display);
  font-size: 4rem; font-weight: 900;
  color: var(--violet-300); opacity: 0.4;
}
.portrait-fallback .name { font-size: 0.875rem; /* 14px */ }

.portrait-corner {
  position: absolute; top: 0; left: 0;
  width: 0; height: 0; border-style: solid;
  border-width: 56px 56px 0 0;
  border-color: rgba(73,10,191,0.3) transparent transparent transparent;
  pointer-events: none;
}
.portrait-overlay-gradient {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(8,13,26,0.7), transparent);
  pointer-events: none;
}


/* ── 16. SECTION LABELS ─────────────────────────────────────── */

.section-label {
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: var(--space-3);
  display: block;
}

.section-label-violet {
  font-family: var(--font-mono);
  font-size: 0.875rem; /* 14px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-300);
  margin-bottom: var(--space-3);
  display: block;
}


/* ── 17. HERO ───────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 6vw 5rem;
  overflow: hidden;
}

.hero-glow-primary {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 50%, rgba(73,10,191,0.2) 0%, rgba(10,191,163,0.06) 45%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-stat-bar {
  display: flex;
  gap: 3rem; justify-content: center; flex-wrap: wrap;
  width: 100%;
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-light);
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.3rem; font-weight: 700;
  color: var(--teal-500);
  line-height: 1; margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.875rem; /* 14px */
  color: var(--mist);
  letter-spacing: 0.05em;
  max-width: 18ch; margin: 0 auto;
}


/* ── 18. FOOTER ─────────────────────────────────────────────── */

.footer {
  background: var(--navy-900);
  border-top: 1px solid var(--border-light);
  padding: var(--space-10) 6vw;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700;
  color: var(--cream); margin-bottom: var(--space-3);
}
.footer-logo .accent { color: var(--teal-500); }
.footer-tagline {
  font-size: 0.9375rem; /* 15px */
  color: var(--mist); font-style: normal;
  max-width: 46ch; margin: 0 auto var(--space-6);
}
.footer-links {
  display: flex; gap: var(--space-6);
  justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--space-6);
}
.footer-link {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; /* 14px */
  color: var(--mist); transition: color 0.2s;
}
.footer-link:hover { color: var(--teal-500); }
.footer-copy { font-size: 0.875rem; /* 14px */ color: var(--slate); }


/* ── 19. ANIMATIONS ─────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* Hero entry animations */
.anim-fade-up { opacity: 0; animation: fadeUp 0.9s var(--ease-out-expo) forwards; }
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }
.anim-delay-5 { animation-delay: 0.75s; }

.reveal-right {
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }


/* ── 20. RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stat-bar { gap: 1.5rem; }
  h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .ls-refs-grid { grid-template-columns: 1fr; }
  .instinct-card  { grid-template-columns: 1fr; }
  .instinct-half.physical {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .instinct-header { grid-template-columns: 1fr; }
  .instinct-header-cell:first-child {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 600px) {
  section { padding: 5rem 5vw; }
  .btn { padding: 0.75rem 1.4rem; font-size: 0.875rem; }
  .hero { padding: 8rem 5vw 4rem; }
  .ls-pq-mark { font-size: 4rem; }
}
