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

    :root {
      /* Dark Theme (Default) */
      --bg:           #080c14;
      --bg-2:         #0d1322;
      --bg-card:      rgba(13, 19, 34, 0.7);
      --border:       rgba(255,255,255,0.08);
      --border-h:     rgba(255,255,255,0.15);
      --text:         #f1f5f9;
      --muted:        #8b96ab;
      --accent:       #6366f1;
      --accent-2:     #8b5cf6;
      --accent-glow:  rgba(99,102,241,0.25);
      --teal:         #14b8a6;
      --gold:         #f59e0b;
      --nav-bg:       rgba(8,12,20,0.8);

      --font-sans:    'Inter', system-ui, sans-serif;
      --font-disp:    'Bricolage Grotesque', system-ui, sans-serif;
      --radius:       16px;
      --radius-sm:    10px;
    }

    [data-theme="light"] {
      --bg:           #f8fafc;
      --bg-2:         #ffffff;
      --bg-card:      rgba(255, 255, 255, 0.85);
      --border:       rgba(15, 23, 42, 0.08);
      --border-h:     rgba(15, 23, 42, 0.15);
      --text:         #0f172a;
      --muted:        #64748b;
      --accent:       #4f46e5;
      --accent-2:     #7c3aed;
      --accent-glow:  rgba(79,70,229,0.15);
      --teal:         #0d9488;
      --gold:         #d97706;
      --nav-bg:       rgba(248,250,252,0.85);
    }

    ::selection { background: var(--accent); color: #fff; }
    ::-moz-selection { background: var(--accent); color: #fff; }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--font-sans);
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      transition: background 0.3s ease, color 0.3s ease;
    }

    /* ─── Skip link ─────────────────────────────────────────────── */
    .skip-link {
      position: absolute;
      left: 16px; top: -60px;
      z-index: 300;
      background: var(--accent);
      color: #fff;
      padding: 10px 18px;
      border-radius: 0 0 10px 10px;
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: top 0.2s;
    }
    .skip-link:focus { top: 0; }

    /* ─── Canvas BG ──────────────────────────────────────────────── */
    #bg-canvas {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    /* ─── Scroll Progress ────────────────────────────────────────── */
    #scroll-progress {
      position: fixed;
      top: 0; left: 0;
      height: 2px;
      width: 0%;
      background: linear-gradient(90deg, var(--accent), var(--teal));
      z-index: 200;
      transition: width 0.05s linear;
    }

    /* ─── Mobile Nav ─────────────────────────────────────────────── */
    .nav-hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      width: 36px; height: 36px;
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      z-index: 101;
    }
    .nav-hamburger span {
      display: block;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: transform 0.3s, opacity 0.3s, width 0.3s;
    }
    .nav-hamburger span:nth-child(3) { width: 65%; }
    .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-hamburger.open span:nth-child(2) { opacity: 0; }
    .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 100%; }

    .mobile-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 98;
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.3s, visibility 0.3s;
      display: flex;
    }
    .mobile-overlay.open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .mobile-drawer {
      position: fixed;
      top: 0; right: 0;
      width: min(320px, 85vw);
      height: 100vh;
      background: var(--bg-2);
      border-left: 1px solid var(--border-h);
      z-index: 99;
      display: flex;
      flex-direction: column;
      padding: 80px 32px 40px;
      gap: 8px;
      transform: translateX(100%);
      transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
    }
    .mobile-drawer.open { transform: translateX(0); }
    .mobile-drawer a {
      font-size: 1.4rem;
      font-family: var(--font-disp);
      font-weight: 700;
      color: var(--muted);
      text-decoration: none;
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
      transition: color 0.2s;
      letter-spacing: -0.02em;
    }
    .mobile-drawer a:hover, .mobile-drawer a.active { color: var(--text); }
    .mobile-drawer-footer {
      margin-top: auto;
      font-size: 0.78rem;
      color: var(--muted);
    }

    /* ─── Typing Animation ───────────────────────────────────────── */
    .hero-tagline {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--accent);
      margin-bottom: 20px;
      letter-spacing: 0.02em;
      min-height: 1.5em;
    }
    .typing-cursor {
      display: inline-block;
      width: 2px;
      background: var(--accent);
      margin-left: 2px;
      animation: blink 1s step-end infinite;
      vertical-align: text-bottom;
      height: 1em;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

    /* ─── Tilt ───────────────────────────────────────────────────── */
    .hero-photo-wrap {
      transition: transform 0.1s ease;
      transform-style: preserve-3d;
    }
    .hero-photo-wrap.tilting { transition: transform 0.05s ease; }

    /* ─── Toast ──────────────────────────────────────────────────── */
    .toast {
      position: fixed;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%) translateY(16px);
      background: var(--bg-2);
      border: 1px solid var(--teal);
      color: var(--teal);
      padding: 10px 20px;
      border-radius: 100px;
      font-size: 0.83rem;
      font-weight: 600;
      opacity: 0;
      transition: opacity 0.25s, transform 0.25s;
      pointer-events: none;
      z-index: 999;
      white-space: nowrap;
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }
    .toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* ─── Theme Toggle ─────────────────────────────────────────── */
    .theme-toggle {
      width: 40px; height: 40px;
      border-radius: 12px;
      border: 1px solid var(--border-h);
      background: none;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s, background 0.2s;
    }
    .theme-toggle:hover {
      border-color: var(--accent);
      background: rgba(99,102,241,0.08);
      color: var(--accent);
    }
    .theme-toggle svg { width: 18px; height: 18px; }
    .theme-toggle .sun-icon { display: none; }
    [data-theme="light"] .theme-toggle .sun-icon { display: block; }
    [data-theme="light"] .theme-toggle .moon-icon { display: none; }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* ─── Nav ───────────────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 clamp(24px, 5vw, 80px);
      height: 64px;
      background: var(--nav-bg);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      transition: background 0.3s, border-color 0.3s;
    }
    .nav-logo {
      font-family: var(--font-disp);
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--text);
      text-decoration: none;
      letter-spacing: -0.02em;
    }
    .nav-logo span { color: var(--accent); }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
    }
    .nav-links a {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--muted);
      text-decoration: none;
      transition: color 0.2s;
      letter-spacing: 0.01em;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--text); }
    .nav-links a.nav-external {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: var(--accent);
    }
    .nav-links a.nav-external:hover { color: var(--accent-2); }
    @media (max-width: 980px) {
      .nav-links { gap: 18px; }
      .nav-links a { font-size: 0.82rem; }
    }
    .nav-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      padding: 8px 16px;
      border: 1px solid var(--border-h);
      border-radius: 100px;
      color: var(--text);
      text-decoration: none;
      transition: border-color 0.2s, background 0.2s;
      cursor: pointer;
      background: none;
      font-family: var(--font-sans);
    }
    .nav-cta:hover { border-color: var(--accent); background: rgba(99,102,241,0.07); }

    /* ─── Accessibility & Focus ─────────────────────────────────── */
    :focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
      border-radius: 4px;
    }

    /* ─── Layout Helpers ────────────────────────────────────────── */
    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 clamp(20px, 5vw, 60px);
      position: relative;
      z-index: 1;
    }

    section { padding: 96px 0; }
    section[id] { scroll-margin-top: 64px; }

    .section-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
    }
    .section-label::before {
      content: '';
      width: 20px; height: 2px;
      background: var(--accent);
      display: block;
    }

    h2.section-title {
      font-family: var(--font-disp);
      font-size: clamp(2rem, 4vw, 2.75rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin-bottom: 16px;
    }

    .section-subtitle {
      font-size: 1.05rem;
      color: var(--muted);
      max-width: 560px;
      line-height: 1.7;
    }
    .subtitle-link {
      color: var(--accent);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color 0.2s;
    }
    .subtitle-link:hover { border-bottom-color: var(--accent); }

    /* ─── Hero ──────────────────────────────────────────────────── */
    #hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding-top: 64px;
    }
    .hero-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 60px;
      align-items: center;
      width: 100%;
    }

    .hero-eyebrow {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
    }
    .hero-dot {
      width: 8px; height: 8px;
      background: var(--teal);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--teal);
      animation: pulse-dot 2.5s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.75); }
    }
    .hero-eyebrow span {
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--muted);
      letter-spacing: 0.05em;
    }

    h1 {
      font-family: var(--font-disp);
      font-size: clamp(3rem, 7vw, 5.5rem);
      font-weight: 800;
      letter-spacing: -0.04em;
      line-height: 1.0;
      margin-bottom: 24px;
    }
    h1 .gradient-text {
      background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--teal));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-bio {
      font-size: 1.15rem;
      color: var(--muted);
      max-width: 520px;
      line-height: 1.75;
      margin-bottom: 40px;
    }

    .hero-ctas {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.9rem;
      text-decoration: none;
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
      box-shadow: 0 0 28px var(--accent-glow);
    }
    .btn-primary:hover {
      background: var(--accent-2);
      transform: translateY(-2px);
      box-shadow: 0 0 40px var(--accent-glow);
    }

    .btn-ghost {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border: 1px solid var(--border-h);
      color: var(--text);
      border-radius: var(--radius-sm);
      font-weight: 500;
      font-size: 0.9rem;
      text-decoration: none;
      transition: border-color 0.2s, background 0.2s, transform 0.2s;
    }
    .btn-ghost:hover {
      border-color: var(--accent);
      background: rgba(99,102,241,0.07);
      transform: translateY(-2px);
    }

    /* Hero headshot */
    .hero-photo-wrap {
      position: relative;
      flex-shrink: 0;
    }
    .hero-photo-ring {
      width: 260px; height: 260px;
      border-radius: 50%;
      position: relative;
      flex-shrink: 0;
    }
    .hero-photo-ring::before {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--teal));
      box-shadow: 0 0 60px rgba(99,102,241,0.3);
      animation: ring-spin 8s linear infinite;
      z-index: 0;
    }
    @keyframes ring-spin {
      from { filter: hue-rotate(0deg); }
      to   { filter: hue-rotate(360deg); }
    }
    .hero-photo {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      object-position: top center;
      border: 4px solid var(--bg);
      display: block;
      position: relative;
      z-index: 1;
    }
    .hero-badge {
      position: absolute;
      bottom: 12px; right: 4px;
      background: var(--bg-2);
      border: 1px solid var(--border-h);
      border-radius: 100px;
      padding: 6px 14px;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--teal);
      white-space: nowrap;
      backdrop-filter: blur(8px);
      z-index: 10;
      box-shadow: 0 4px 20px rgba(0,0,0,0.3);
      transform: translateZ(30px);
      transition: transform 0.3s ease;
    }
    [data-theme="light"] .hero-badge {
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    /* Hero stats */
    .hero-stats {
      display: flex;
      gap: 32px;
      margin-top: 48px;
      padding-top: 48px;
      border-top: 1px solid var(--border);
    }
    .stat-item { display: flex; flex-direction: column; }
    .stat-num {
      font-family: var(--font-disp);
      font-size: 1.75rem;
      font-weight: 800;
      color: var(--text);
      letter-spacing: -0.03em;
    }
    .stat-num span { color: var(--accent); }
    .stat-label {
      font-size: 0.78rem;
      color: var(--muted);
      margin-top: 2px;
      letter-spacing: 0.03em;
    }

    /* ─── Divider ───────────────────────────────────────────────── */
    .divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border), transparent);
      margin: 0 clamp(20px,5vw,60px);
      position: relative;
      z-index: 1;
    }

    /* ─── Projects ──────────────────────────────────────────────── */
    #projects { background: transparent; }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
      gap: 20px;
      margin-top: 48px;
    }

    .project-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 32px;
      text-decoration: none;
      color: var(--text);
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }
    .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--card-gradient, transparent);
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    .project-card:hover {
      border-color: var(--card-color, var(--accent));
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--card-color, var(--accent));
    }
    .project-card:hover::before { opacity: 0.04; }
    [data-theme="light"] .project-card:hover {
      box-shadow: 0 20px 60px rgba(15,23,42,0.12), 0 0 0 1px var(--card-color, var(--accent));
    }

    /* Non-link cards (private / internal / self-hosted builds) */
    .project-card.static { cursor: default; }
    .project-card.static:hover { transform: none; }

    /* Featured card */
    .project-card.featured { grid-column: 1 / -1; }
    .project-card.featured::before { opacity: 0.035; }
    .project-card.featured:hover::before { opacity: 0.07; }
    @media (min-width: 720px) {
      .project-card.featured { padding: 40px; }
      .project-card.featured .project-name { font-size: 1.55rem; }
      .project-card.featured .project-desc { font-size: 0.98rem; max-width: 74ch; }
    }

    .project-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .project-side {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .project-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      background: var(--icon-bg, rgba(99,102,241,0.12));
      border: 1px solid var(--border-h);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--card-color, var(--accent));
    }
    .project-icon svg { width: 22px; height: 22px; stroke-width: 2; }
    .project-arrow {
      opacity: 0;
      color: var(--card-color, var(--accent));
      font-size: 1.2rem;
      transition: opacity 0.2s, transform 0.2s;
    }
    .project-card:hover .project-arrow {
      opacity: 1;
      transform: translate(3px, -3px);
    }
    .project-name {
      font-family: var(--font-disp);
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
    }
    .project-url {
      font-size: 0.78rem;
      color: var(--muted);
      font-weight: 500;
    }
    .project-desc {
      font-size: 0.92rem;
      color: var(--muted);
      line-height: 1.65;
      flex: 1;
    }
    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .tag {
      font-size: 0.7rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      padding: 4px 10px;
      border-radius: 100px;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      color: var(--muted);
      text-transform: uppercase;
    }
    [data-theme="light"] .tag { background: rgba(15,23,42,0.04); }

    /* Status chips */
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.64rem;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 100px;
      white-space: nowrap;
    }
    .chip::before {
      content: '';
      width: 5px; height: 5px;
      border-radius: 50%;
      background: currentColor;
      box-shadow: 0 0 6px currentColor;
    }
    .chip-live {
      color: var(--teal);
      background: rgba(20,184,166,0.1);
      border: 1px solid rgba(20,184,166,0.25);
    }
    .chip-live::before { animation: pulse-dot 2s infinite; }
    .chip-beta {
      color: var(--gold);
      background: rgba(245,158,11,0.1);
      border: 1px solid rgba(245,158,11,0.28);
    }
    .chip-gated {
      color: var(--accent);
      background: rgba(99,102,241,0.1);
      border: 1px solid rgba(99,102,241,0.3);
    }
    /* Gated builds are deployed but auth-walled — a padlock, not a status light */
    .chip-gated::before { display: none; }
    .chip-gated svg { width: 9px; height: 9px; flex-shrink: 0; }
    .chip-internal {
      color: var(--muted);
      background: rgba(139,150,171,0.1);
      border: 1px solid rgba(139,150,171,0.3);
    }

    /* ─── Build Index CTA ───────────────────────────────────────── */
    .index-cta {
      display: block;
      margin-top: 20px;
      padding: 40px clamp(24px, 5vw, 48px);
      background: var(--bg-card);
      border: 1px dashed var(--border-h);
      border-radius: var(--radius);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      text-align: center;
      text-decoration: none;
      color: var(--text);
      transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    }
    .index-cta:hover {
      border-color: var(--accent);
      border-style: solid;
      transform: translateY(-3px);
      box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px var(--accent);
    }
    [data-theme="light"] .index-cta:hover {
      box-shadow: 0 20px 60px rgba(15,23,42,0.1), 0 0 0 1px var(--accent);
    }
    .index-cta-eyebrow {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 10px;
    }
    .index-cta-title {
      font-family: var(--font-disp);
      font-size: clamp(1.4rem, 3vw, 1.85rem);
      font-weight: 700;
      letter-spacing: -0.025em;
      line-height: 1.2;
      margin-bottom: 12px;
    }
    .index-cta-desc {
      font-size: 0.94rem;
      color: var(--muted);
      line-height: 1.7;
      max-width: 62ch;
      margin: 0 auto;
    }
    .index-cta-rest {
      font-size: 0.78rem;
      color: var(--muted);
      line-height: 1.9;
      max-width: 66ch;
      margin: 18px auto 0;
      opacity: 0.75;
    }
    .index-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 26px;
      padding: 12px 24px;
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 0.88rem;
      box-shadow: 0 0 28px var(--accent-glow);
      transition: background 0.2s, box-shadow 0.2s;
    }
    .index-cta:hover .index-cta-btn {
      background: var(--accent-2);
      box-shadow: 0 0 40px var(--accent-glow);
    }

    /* ─── How I Build ───────────────────────────────────────────── */
    .process-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .process-tile {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 28px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    }
    .process-tile:hover {
      border-color: var(--tile-color, var(--accent));
      transform: translateY(-3px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }
    [data-theme="light"] .process-tile:hover {
      box-shadow: 0 12px 40px rgba(15,23,42,0.08);
    }
    .process-icon {
      width: 44px; height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--tile-bg, rgba(99,102,241,0.12));
      border: 1px solid var(--border-h);
      color: var(--tile-color, var(--accent));
      margin-bottom: 16px;
    }
    .process-icon svg { width: 20px; height: 20px; stroke-width: 2; }
    .process-title {
      font-family: var(--font-disp);
      font-weight: 700;
      font-size: 1.02rem;
      letter-spacing: -0.01em;
      margin-bottom: 8px;
    }
    .process-desc {
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.65;
    }
    .process-note {
      margin-top: 32px;
      text-align: center;
      font-size: 0.88rem;
      color: var(--muted);
    }
    .process-note em { color: var(--text); font-style: normal; font-weight: 600; }

    /* ─── Experience Timeline ───────────────────────────────────── */
    .timeline {
      margin-top: 52px;
      position: relative;
    }
    .timeline::before {
      content: '';
      position: absolute;
      left: 23px;
      top: 4px;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, var(--accent), var(--accent-2) 60%, transparent);
    }

    .timeline-item {
      display: flex;
      gap: 32px;
      padding-bottom: 44px;
      position: relative;
    }
    .timeline-item:last-child { padding-bottom: 0; }

    .timeline-dot-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
    }
    .timeline-dot {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 1px solid var(--border-h);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
      transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--muted);
    }
    .timeline-dot svg { width: 18px; height: 18px; stroke-width: 2; }
    .timeline-item:hover .timeline-dot {
      border-color: var(--accent);
      box-shadow: 0 0 20px var(--accent-glow);
      color: var(--accent);
      background: var(--bg-2);
    }

    .timeline-body {
      flex: 1;
      padding-top: 10px;
    }
    .timeline-company {
      font-family: var(--font-disp);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .timeline-role {
      font-size: 0.88rem;
      font-weight: 500;
      color: var(--accent);
      margin-top: 2px;
    }
    .timeline-meta {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-top: 6px;
      flex-wrap: wrap;
    }
    .timeline-date {
      font-size: 0.78rem;
      color: var(--muted);
    }
    .timeline-location {
      font-size: 0.78rem;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .timeline-desc {
      font-size: 0.9rem;
      color: var(--muted);
      margin-top: 12px;
      line-height: 1.7;
    }

    /* Current badge */
    .current-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.67rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--teal);
      background: rgba(20,184,166,0.1);
      border: 1px solid rgba(20,184,166,0.25);
      border-radius: 100px;
      padding: 3px 10px;
    }
    .current-badge::before {
      content: '';
      width: 5px; height: 5px;
      background: var(--teal);
      border-radius: 50%;
      box-shadow: 0 0 6px var(--teal);
      animation: pulse-dot 2s infinite;
    }

    /* ─── Education ─────────────────────────────────────────────── */
    .edu-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 36px;
      display: flex;
      gap: 28px;
      align-items: flex-start;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: border-color 0.25s, box-shadow 0.25s;
    }
    .edu-card:hover {
      border-color: var(--gold);
      box-shadow: 0 0 40px rgba(245,158,11,0.08);
    }
    .edu-icon {
      width: 56px; height: 56px;
      border-radius: 14px;
      background: var(--bg-card);
      border: 1px solid var(--border-h);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--gold);
      transition: border-color 0.3s;
    }
    .edu-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
    .edu-card:hover .edu-icon { border-color: var(--gold); }
    .edu-school {
      font-family: var(--font-disp);
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
    }
    .edu-degree {
      font-size: 0.9rem;
      color: var(--accent);
      font-weight: 500;
      margin-top: 4px;
    }
    .edu-year {
      font-size: 0.82rem;
      color: var(--muted);
      margin-top: 8px;
    }
    .edu-note {
      font-size: 0.87rem;
      color: var(--muted);
      margin-top: 10px;
      line-height: 1.65;
    }

    /* ─── Family Section ────────────────────────────────────────── */
    .family-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 40px;
    }
    .family-item {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border-h);
      aspect-ratio: 1 / 1;
      background: var(--bg-card);
      transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
    }
    .family-item:hover {
      transform: translateY(-8px) scale(1.02);
      border-color: var(--accent);
      box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    }
    .family-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }
    .family-item:hover img { transform: scale(1.08); }

    .family-item::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 40%);
      opacity: 0;
      transition: opacity 0.3s;
    }
    .family-item:hover::after { opacity: 1; }

    @media (max-width: 640px) {
      .family-grid { grid-template-columns: 1fr; }
    }

    /* ─── Personal Modal ────────────────────────────────────────── */
    #personal-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    #personal-modal.active {
      display: flex;
      opacity: 1;
    }
    .modal-overlay {
      position: absolute;
      inset: 0;
      background: rgba(8,12,20,0.85);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }
    .modal-content {
      position: relative;
      background: var(--bg-card);
      border: 1px solid var(--border-h);
      border-radius: 24px;
      width: min(800px, 100%);
      max-height: 90vh;
      overflow-y: auto;
      padding: clamp(24px, 5vw, 60px);
      z-index: 2;
      transform: scale(0.9) translateY(20px);
      filter: blur(10px);
      transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), filter 0.5s ease, opacity 0.5s ease;
      box-shadow: 0 40px 100px rgba(0,0,0,0.6);
      opacity: 0;
    }
    #personal-modal.active .modal-content {
      transform: scale(1) translateY(0);
      filter: blur(0);
      opacity: 1;
    }
    .modal-close {
      position: absolute;
      top: 24px; right: 24px;
      width: 40px; height: 40px;
      border-radius: 50%;
      background: var(--bg-2);
      border: 1px solid var(--border);
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
    }
    .modal-close:hover {
      background: var(--accent);
      color: #fff;
      transform: rotate(90deg);
    }
    .modal-header {
      text-align: center;
      margin-bottom: 40px;
    }
    .modal-header h3 {
      font-family: var(--font-disp);
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .modal-header p {
      color: var(--muted);
      font-size: 1rem;
      max-width: 400px;
      margin: 0 auto;
    }

    /* ─── Footer ────────────────────────────────────────────────── */
    footer {
      border-top: 1px solid var(--border);
      padding: 48px 0;
      position: relative;
      z-index: 1;
    }
    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }
    .footer-name {
      font-family: var(--font-disp);
      font-weight: 700;
      font-size: 1rem;
      color: var(--text);
    }
    .footer-name span { color: var(--accent); }
    .footer-copy {
      font-size: 0.8rem;
      color: var(--muted);
    }
    .footer-links {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .footer-links a, .footer-links button {
      font-size: 0.82rem;
      color: var(--muted);
      text-decoration: none;
      padding: 8px 0;
      transition: color 0.2s;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-sans);
    }
    .footer-links a:hover, .footer-links button:hover { color: var(--text); }
    .footer-links a.footer-strong { color: var(--accent); font-weight: 600; }
    .footer-links a.footer-strong:hover { color: var(--accent-2); }

    /* ─── Scroll Reveal ─────────────────────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s cubic-bezier(0.23,1,0.32,1), transform 0.65s cubic-bezier(0.23,1,0.32,1);
    }
    .reveal.visible {
      opacity: 1;
      transform: none;
    }
    .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; }

    /* ─── Responsive ────────────────────────────────────────────── */
    @media (max-width: 768px) {
      section { padding: 64px 0; }
      .hero-inner { grid-template-columns: 1fr; }
      .hero-photo-wrap { order: -1; justify-self: center; }
      .hero-photo-ring { width: 180px; height: 180px; }
      .nav-links, .nav-cta { display: none; }
      .nav-hamburger { display: flex; }
      .mobile-drawer { display: flex; }
      .projects-grid { grid-template-columns: 1fr; }
      .hero-stats { gap: 20px; }
      .edu-card { flex-direction: column; }
      .timeline::before { left: 19px; }
      .timeline-dot { width: 40px; height: 40px; }
      h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
      .hero-bio { font-size: 1rem; }
    }

    /* ─── Reduced Motion ────────────────────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .reveal {
        opacity: 1;
        transform: none;
        transition: none;
      }
      .hero-dot, .current-badge::before, .chip-live::before,
      .hero-photo-ring::before, .typing-cursor { animation: none; }
      .project-card, .process-tile, .family-item, .index-cta,
      .btn-primary, .btn-ghost, .hero-photo-wrap { transition: none; }
      .project-card:hover, .process-tile:hover,
      .family-item:hover, .index-cta:hover { transform: none; }
    }

  /* Ultra-modern Bento Card Hover & Accent Glow */
  .project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s, box-shadow 0.3s;
  }
  .project-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 20px var(--accent-glow);
    border-color: var(--accent);
  }
  .project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(99,102,241,0.4), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .project-card:hover::after {
    opacity: 1;
  }


  /* ==================== COMMAND PALETTE ==================== */
  .cmd-palette {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: flex-start; justify-content: center;
    padding-top: max(10vh, 60px); opacity: 0; transition: opacity 0.2s ease;
  }
  .cmd-palette.open { display: flex; opacity: 1; }
  .cmd-overlay {
    position: absolute; inset: 0;
    background: rgba(8, 12, 20, 0.75);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .cmd-dialog {
    position: relative; z-index: 2; width: min(640px, 92vw);
    background: var(--surface, #14191f);
    border: 1px solid var(--hair, #262d38);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--accent);
    display: flex; flex-direction: column;
    max-height: 70vh; animation: cmdPop 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes cmdPop {
    from { transform: scale(0.96) translateY(-10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
  }
  .cmd-input-wrap {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; border-bottom: 1px solid var(--hair, #262d38);
    background: transparent;
  }
  .cmd-input-wrap svg { color: var(--accent); flex-shrink: 0; }
  .cmd-input-wrap input {
    flex: 1; background: transparent; border: none; outline: none;
    font-family: var(--sans); font-size: 16px; color: var(--ink, #fff);
  }
  .cmd-kbd {
    font-family: var(--mono, monospace); font-size: 11px;
    padding: 3px 7px; border-radius: 5px;
    background: var(--surface-2, rgba(255,255,255,0.06));
    border: 1px solid var(--hair, rgba(255,255,255,0.1));
    color: var(--muted);
  }
  .cmd-results {
    overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 2px;
  }
  .cmd-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 14px; border-radius: 8px; cursor: pointer;
    color: var(--ink, #fff); text-decoration: none; font-size: 14px;
    transition: background 0.15s;
  }
  .cmd-item:hover, .cmd-item.active {
    background: var(--accent-wash, rgba(99,102,241,0.15));
    color: var(--accent-ink, #8b5cf6);
  }
  .cmd-item-title { font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .cmd-item-badge {
    font-family: var(--mono, monospace); font-size: 10px;
    padding: 2px 6px; border-radius: 4px; background: var(--surface-2);
    color: var(--muted); text-transform: uppercase;
  }
  .cmd-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px; border-top: 1px solid var(--hair, #262d38);
    font-family: var(--mono, monospace); font-size: 11px; color: var(--muted);
    background: var(--surface-2, rgba(0,0,0,0.2));
  }
  .cmd-footer kbd {
    background: var(--surface); padding: 1px 5px; border-radius: 3px; border: 1px solid var(--hair);
  }

  /* Kbd shortcut pill on masthead / nav */
  .cmd-trigger-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--hair);
    color: var(--muted); font-family: var(--mono); font-size: 12px;
    cursor: pointer; transition: border-color 0.2s, color 0.2s;
  }
  .cmd-trigger-btn:hover { border-color: var(--accent); color: var(--ink); }


/* ==============================================================================
   HIGH-END VISUAL OVERHAUL FOR LUKEWADE.NET
   ============================================================================== */

/* Hero Glass Card Container */
.hero-inner {
  background: rgba(13, 19, 34, 0.4);
  border: 1px solid var(--border-h);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 60px);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
[data-theme="light"] .hero-inner {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 80px rgba(15,23,42,0.06);
}
.hero-inner::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px; width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none; opacity: 0.6;
}

/* Stat Cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 15px var(--accent-glow);
}

/* Bento Grid Alignment for Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card.featured {
    grid-column: span 2;
  }
}

/* Glassmorphic Project Cards with Laser Edge Glow */
.project-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--card-color, var(--accent)), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}
.project-card:hover::before {
  opacity: 1;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 30px var(--accent-glow);
  border-color: var(--card-color, var(--accent));
}

/* Glowing Timeline Line */
.timeline::before {
  background: linear-gradient(180deg, var(--accent), var(--teal) 60%, transparent);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Family Photo Cards */
.family-item {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}
.family-item:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 25px var(--accent-glow);
}


/* ==================== TELEMETRY HUD BAR ==================== */
.telemetry-hud {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; overflow-x: auto; padding: 10px 20px;
  background: var(--surface-2, rgba(13, 19, 34, 0.8));
  border: 1px solid var(--hair, rgba(255,255,255,0.1));
  border-radius: 999px; margin: 20px 0 30px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--mono, monospace); font-size: 11.5px;
  scrollbar-width: none;
}
.telemetry-hud::-webkit-scrollbar { display: none; }
.hud-item {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.hud-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal, #14b8a6);
  box-shadow: 0 0 8px var(--teal, #14b8a6);
  animation: hudPulse 2s infinite ease-in-out;
}
@keyframes hudPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hud-label { color: var(--muted, #8b96ab); text-transform: uppercase; letter-spacing: 0.08em; }
.hud-val { color: var(--ink, #fff); font-weight: 700; }
.hud-sep { color: var(--hair, rgba(255,255,255,0.15)); }

/* ==================== ECOSYSTEM GRAPH CANVAS ==================== */
.ecosystem-container {
  position: relative; width: 100%; height: 380px;
  background: var(--surface-2, rgba(13, 19, 34, 0.6));
  border: 1px solid var(--hair, rgba(255,255,255,0.1));
  border-radius: 20px; overflow: hidden; margin: 28px 0 40px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 0 40px rgba(0,0,0,0.3);
}
.ecosystem-container canvas {
  display: block; width: 100%; height: 100%; cursor: pointer;
}
.ecosystem-header {
  position: absolute; top: 16px; left: 20px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent-ink, #8b5cf6);
  display: flex; align-items: center; gap: 8px; pointer-events: none;
}
.ecosystem-hint {
  position: absolute; bottom: 14px; right: 20px; z-index: 2;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  pointer-events: none; opacity: 0.8;
}

/* ==================== SPECULAR CURSOR GLARE ==================== */
.card, .project-card, .hub, .stat-item {
  --glare-x: 50%;
  --glare-y: 50%;
  --glare-opacity: 0;
  position: relative;
}
.card::after, .project-card::after, .hub::after, .stat-item::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--glare-x) var(--glare-y),
    rgba(255, 255, 255, 0.14),
    transparent 50%
  );
  opacity: var(--glare-opacity);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}
[data-theme="light"] .card::after,
[data-theme="light"] .project-card::after,
[data-theme="light"] .hub::after,
[data-theme="light"] .stat-item::after {
  background: radial-gradient(
    500px circle at var(--glare-x) var(--glare-y),
    rgba(99, 102, 241, 0.12),
    transparent 50%
  );
}


/* 3D Solar System Styles */
.solar-system-wrapper {
  width: 100%;
  height: 480px;
  position: relative;
  background: radial-gradient(circle at center, rgba(13,19,34,0.3) 0%, transparent 70%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 3rem;
  overflow: hidden;
  cursor: grab;
}
.solar-system-wrapper:active { cursor: grabbing; }

.solar-hint {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  pointer-events: none;
  z-index: 10;
}

/* Crisp HTML CSS2D Labels */
.solar-label {
  font-family: var(--sans);
  background: rgba(13, 19, 34, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 12px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.solar-label:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.label-sun {
  font-size: 0.9rem;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fcd34d;
}

.label-moon {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-color: rgba(255,255,255,0.05);
  color: #94a3b8;
}
