:root {
    --ink: #191127;
    --paper: #f5f0e8;
    --gold: #883CF0;
    --gold-light: #7b5cff;
    --rust: #af62c8;
    --sage: #7a5cffbd;
    --slate: #23133a;
    --mist: #d8dfe8;
    --accent: #b29dce;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--ink);
    color: var(--paper);
    font-family: 'DM Mono', monospace;
    overflow-x: hidden;
    cursor: none;
  }

  /* CUSTOM CURSOR */
  .cursor {
    width: 12px; height: 12px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.25s ease, opacity 0.2s ease;
    opacity: 0.5;
  }

  /* NOISE OVERLAY */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.35;
  }

  /* ─── HERO ─── */
  #hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
  }

  .hero-left {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
  }

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
  }

  .hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(52px, 6vw, 96px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
  }

  .hero-title em {
    font-style: normal;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-style: italic;
  }

  .hero-sub {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(245,240,232,0.6);
    max-width: 360px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
  }

  .btn-primary {
    background: var(--gold);
    color: var(--ink);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 32px;
    border: none;
    cursor: none;
    transition: all 0.3s ease;
    font-weight: 400;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

  .btn-ghost {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--paper);
    background: none;
    border: 1px solid #3a1c63;
    padding: 16px 32px;
    cursor: none;
    transition: all 0.3s ease;
  }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

  .hero-right {
    position: relative;
    overflow: hidden;
  }

  /* NEURAL CANVAS */
  #neural-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-stats {
    position: absolute;
    bottom: 60px;
    left: 60px;
    display: flex;
    gap: 48px;
    opacity: 0;
    animation: fadeUp 0.8s 1s forwards;
    z-index: 2;
  }

  .stat-item { text-align: left; }
  .stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
  }
  .stat-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.4);
    margin-top: 4px;
  }

  /* TICKER */
  .ticker-bar {
    background: var(--gold);
    color: var(--ink);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .ticker-track {
    display: inline-flex;
    animation: ticker 25s linear infinite;
    gap: 0;
  }
  .ticker-item {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 0 40px;
    font-weight: 400;
  }
  .ticker-dot {
    color: var(--ink);
    opacity: 0.4;
  }

  /* ─── SECTION STYLES ─── */
  section { position: relative; }

  .section-label {
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
  }

  /* ─── PILLARS ─── */
  #pillars {
    padding: 140px 80px;
    background: var(--ink);
  }

  .pillars-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
  }

  .pillars-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .pillars-desc {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(245,240,232,0.55);
    align-self: end;
    padding-bottom: 8px;
  }

  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #23133a;
  }

  .pillar-card {
    background: var(--ink);
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: none;
  }

  .pillar-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .pillar-card:hover { background: #1f1232; }
  .pillar-card:hover::before { transform: scaleX(1); }

  .pillar-number {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 400;
    font-style: italic;
    color: #cb56f945;
    line-height: 1;
    margin-bottom: 24px;
    transition: color 0.4s ease;
  }
  .pillar-card:hover .pillar-number { color: #cb56f998; }

  .pillar-icon {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .pillar-name {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }

  .pillar-text {
    font-size: 12px;
    line-height: 1.8;
    color: rgba(245,240,232,0.5);
  }

  /* ─── INTELLIGENCE PANEL ─── */
  #intelligence {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
  }

  .intel-visual {
    background: var(--slate);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .finance-chart {
    width: 90%;
    padding: 48px;
  }

  .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .chart-title {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .chart-badge {
    background: var(--sage);
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 2px;
    color: #fff;
    text-transform: uppercase;
  }

  .chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 160px;
    margin-bottom: 16px;
  }

  .bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
  }

  .bar {
    width: 100%;
    border-radius: 2px 2px 0 0;
    position: relative;
    transition: height 1s cubic-bezier(0.16,1,0.3,1);
    animation: barGrow 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
  }

  .bar.savings { background: var(--gold); }
  .bar.spending { background: rgba(163, 76, 201, 0.3); }
  .bar.invest { background: var(--sage); }

  .bar-label {
    font-size: 8px;
    letter-spacing: 0.15em;
    color: rgba(245, 240, 232, 0.791);
    text-align: center;
    text-transform: uppercase;
  }

  .chart-legend {
    display: flex;
    gap: 24px;
    margin-top: 20px;
  }
  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: rgba(245, 240, 232, 0.749);
    text-transform: uppercase;
  }
  .legend-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
  }

  /* Score ring */
  .score-ring-wrapper {
    position: absolute;
    top: 48px; right: 48px;
  }
  .score-ring {
    position: relative;
    width: 100px; height: 100px;
  }
  .score-ring svg { transform: rotate(-90deg); }
  .score-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .score-num {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--gold);
  }
  .score-sub {
    font-size: 7px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.694);
  }

  .intel-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #180f26;
  }

  .intel-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
  }

  .intel-list {
    list-style: none;
    margin-bottom: 48px;
  }

  .intel-list li {
    padding: 20px 0;
    border-bottom: 1px solid #3a1c63;
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(245,240,232,0.6);
    cursor: none;
    transition: color 0.3s ease;
  }
  .intel-list li:hover { color: var(--paper); }
  .intel-list li:first-child { border-top: 1px solid #3a1c63; }

  .list-num {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--gold);
    opacity: 0.5;
  }

  .list-arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--gold);
    font-size: 14px;
  }
  .intel-list li:hover .list-arrow { opacity: 1; }

  /* ─── RADAR / ETHICS ─── */
  #ethics {
    padding: 140px 80px;
    background: var(--paper);
    color: var(--ink);
  }

  .ethics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-top: 80px;
  }

  .ethics-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 32px;
  }

  .ethics-text {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(10,10,15,0.6);
    margin-bottom: 40px;
  }

  .ethics-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .tag {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px 18px;
    border: 1px solid #3a1c63;
    color: var(--ink);
    cursor: none;
    transition: all 0.3s ease;
    background: transparent;
  }
  .tag:hover, .tag.active {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }

  .radar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ─── TIMELINE ─── */
  #timeline {
    padding: 140px 80px;
    background: var(--ink);
    overflow: hidden;
  }

  .timeline-header {
    text-align: center;
    margin-bottom: 100px;
  }

  .timeline-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(36px, 4vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
  }

  .timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .timeline-track::before {
    content: '';
    position: absolute;
    top: 28px; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(161, 76, 201, 0.4), transparent);
  }

  .timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }
  .timeline-node.visible { opacity: 1; transform: translateY(0); }

  .node-dot {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1px solid #3a1c63;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #291a3e;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    cursor: none;
  }
  .timeline-node:hover .node-dot {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.1);
  }

  .node-year {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
  }

  .node-title {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
  }

  .node-desc {
    font-size: 11px;
    line-height: 1.7;
    color: rgba(245,240,232,0.45);
    text-align: center;
  }

  /* ─── CTA ─── */
  #cta {
    padding: 180px 80px;
    background: var(--gold);
    color: var(--ink);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  #cta::before {
    content: 'LAYER10';
    font-family: 'Syne', sans-serif;
    font-size: 280px;
    font-weight: 800;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .cta-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.9;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
  }

  .cta-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
  }

  .cta-sub {
    font-size: 14px;
    opacity: 0.65;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.05em;
  }

  .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  .btn-dark {
    background: var(--ink);
    color: var(--gold);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px 40px;
    border: none;
    cursor: none;
    transition: all 0.3s ease;
  }
  .btn-dark:hover { background: #1d1621; transform: translateY(-2px); }

  .btn-outline-dark {
    background: transparent;
    color: var(--ink);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px 40px;
    border: 2px solid #3a1c63;
    cursor: none;
    transition: all 0.3s ease;
  }
  .btn-outline-dark:hover { border-color: var(--ink); }

  /* ─── FOOTER ─── */
  footer {
    background: #180f26;
    padding: 80px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    border-top: 1px solid #3a1c63;
  }

  .footer-brand {
    font-family: 'Syne', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
  }

  .footer-brand span { color: var(--gold); }

  .footer-tagline {
    font-size: 11px;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.684);
    max-width: 280px;
    font-style: italic;
  }

  .footer-heading {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links a {
    font-size: 12px;
    color: rgba(245, 240, 232, 0.679);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.03em;
  }
  .footer-links a:hover { color: var(--gold); }

  .footer-bottom {
    background: #180f26;
    padding: 24px 80px;
    border-top: 1px solid #3a1c63;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-copy {
    font-size: 10px;
    color: rgba(245, 240, 232, 0.814);
    letter-spacing: 0.1em;
  }

  .footer-made {
    font-size: 10px;
    color: rgba(245, 240, 232, 0.796);
    letter-spacing: 0.05em;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  @keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
  }

  @keyframes ringDraw {
    from { stroke-dashoffset: 251; }
    to { stroke-dashoffset: 40; }
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    padding: 28px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #180f26 0%, transparent 100%);
    backdrop-filter: blur(8px);
  }

  .nav-logo {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--paper);
    text-decoration: none;
  }
  .nav-logo span { color: var(--gold); }

  .nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
  }
  .nav-links a {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.776);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .nav-links a:hover { color: var(--gold); }

  .nav-contact {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--gold);
    padding: 10px 24px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .nav-contact:hover { background: var(--gold-light); }

  /* MARQUEE decorative */
  .marquee-section {
    padding: 40px 0;
    overflow: hidden;
    background: #1f1232;
    border-top: 1px solid #3a1c63;
    border-bottom: 1px solid #3a1c63;
  }

  .marquee-track {
    display: flex;
    animation: ticker 20s linear infinite;
    white-space: nowrap;
  }

  .marquee-item {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(176, 76, 201, 0.582);
    padding: 0 48px;
  }
  .marquee-item.highlight { color: var(--gold); }

  /* Ethics section label color override */
  #ethics .section-label { color: #552a6b; }
  #ethics .section-label::before { background: #5c2a6b; }

  /* SCROLL REVEAL */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger delays */
  .reveal-d1 { transition-delay: 0.1s; }
  .reveal-d2 { transition-delay: 0.2s; }
  .reveal-d3 { transition-delay: 0.3s; }
  .reveal-d4 { transition-delay: 0.4s; }

  /* Interactive tabs */
  .tabs { display: flex; gap: 0; margin-bottom: 48px; }
  .tab-btn {
    padding: 12px 28px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid #3a1c63;
    color: rgba(245, 240, 232, 0.717);
    cursor: none;
    margin-right: -1px;
    transition: all 0.3s ease;
  }
  .tab-btn.active, .tab-btn:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
    z-index: 1;
  }

  .tab-panel { display: none; }
  .tab-panel.active { display: block; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    #hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .pillars-header, .pillars-grid, .ethics-grid,
    .timeline-track, footer { grid-template-columns: 1fr; }
    nav { padding: 20px 24px; }
    #pillars, #ethics, #timeline, #cta, footer { padding: 80px 24px; }
    .hero-left { padding: 120px 24px 60px; }
    .intel-content { padding: 60px 40px; }
    .footer-bottom { padding: 20px 24px; flex-direction: column; gap: 8px; }
  }