    /* ═══════════════════════════════════════════════════════
       DESIGN TOKENS — theme-responsive site palette
    ═══════════════════════════════════════════════════════ */
    :root {
      /* Site palette — dark (default) */
      --s-bg:        #0d1117;
      --s-surface:   #161b22;
      --s-surface2:  #21262d;
      --s-border:    #30363d;
      --s-text:      #f0f6fc;
      --s-text2:     #9ba4ae;
      --s-text3:     #57606a;
      --s-accent:    #2f81f7;
      --s-accent-bg: rgba(47,129,247,0.1);
      --s-amber:     #d97706;
      --s-amber-dim: rgba(217,119,6,0.12);
      --s-green:     #3fb950;
      --s-red:       #f85149;
      --s-shadow:    0 0 0 1px rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
      --dot-color:   rgba(255,255,255,0.055);
      --blob-1:      rgba(47,129,247,0.07);
      --blob-2:      rgba(217,119,6,0.055);

      /* Homelab legacy palette (always dark — never theme-switched) */
      --hl-bg:     #06080f;
      --hl-bg2:    #0c1220;
      --hl-border: #1e293b;
      --hl-text:   #94a3b8;
      --hl-dim:    #475569;
      --hl-amber:  #d97706;

      /* Keep old vars for homelab backward compat */
      --bg:     #06080f;
      --bg2:    #0c1220;
      --border: #1e293b;
      --text:   #94a3b8;
      --dim:    #475569;
      --cyan:   #d97706;
      --mono:   'Share Tech Mono', monospace;
      --body:   'Inter', Helvetica, Arial, sans-serif;
      --head:   'Orbitron', monospace;
      --orange: #f97316;
      --blue:   #3b82f6;
      --green:  #10b981;
      --purple: #7c6fa0;
      --pink:   #ec4899;
      --amber:  #f59e0b;
      --slate:  #94a3b8;
      --lime:   #22c55e;
    }
    [data-theme="light"] {
      --s-bg:        #ffffff;
      --s-surface:   #f6f8fa;
      --s-surface2:  #eaeef2;
      --s-border:    #d0d7de;
      --s-text:      #1f2328;
      --s-text2:     #636c76;
      --s-text3:     #8c959f;
      --s-accent:    #0969da;
      --s-accent-bg: rgba(9,105,218,0.08);
      --s-amber:     #b45309;
      --s-amber-dim: rgba(180,83,9,0.08);
      --s-green:     #1a7f37;
      --s-red:       #d1242f;
      --s-shadow:    0 0 0 1px rgba(0,0,0,0.08), 0 8px 24px rgba(0,0,0,0.1);
      --dot-color:   rgba(0,0,0,0.07);
      --blob-1:      rgba(9,105,218,0.055);
      --blob-2:      rgba(180,83,9,0.04);
    }

    /* ═══════════════════════════════════════════════════════
       GLOBAL RESET & BASE
    ═══════════════════════════════════════════════════════ */
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      background: var(--s-bg);
      color: var(--s-text);
      font-family: 'Inter', Helvetica, Arial, sans-serif;
      min-height: 100vh;
      font-size: 15px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      transition: background 0.2s, color 0.2s;
      background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
      background-size: 28px 28px;
      background-attachment: fixed;
    }
    a { color: var(--s-accent); text-decoration: none; }
    a:hover { text-decoration: underline; }


    /* ═══════════════════════════════════════════════════════
       BACKGROUND , dot grid + gradient blobs
    ═══════════════════════════════════════════════════════ */

    /* Blobs sit behind page content, fixed to viewport */
    .bg-blobs {
      position: fixed; inset: 0; z-index: 0;
      pointer-events: none; overflow: hidden;
    }
    .bg-blob {
      position: absolute; border-radius: 50%;
      filter: blur(80px);
      animation: blobDrift 20s ease-in-out infinite alternate;
      will-change: transform;
    }
    .bg-blob-1 {
      width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
      background: var(--blob-1);
      top: -15%; left: -10%;
      animation-duration: 25s;
    }
    .bg-blob-2 {
      width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
      background: var(--blob-2);
      bottom: 5%; right: -15%;
      animation-duration: 30s;
      animation-delay: -8s;
    }
    .bg-blob-3 {
      width: 35vw; height: 35vw; max-width: 420px; max-height: 420px;
      background: var(--blob-1);
      top: 45%; left: 40%;
      animation-duration: 22s;
      animation-delay: -14s;
      opacity: 0.5;
    }
    @keyframes blobDrift {
      0%   { transform: translate(0, 0) scale(1); }
      33%  { transform: translate(3%, 5%) scale(1.04); }
      66%  { transform: translate(-3%, 2%) scale(0.97); }
      100% { transform: translate(2%, -4%) scale(1.02); }
    }

    /* All page content sits above blobs */
    .site-nav, .page, .nav-mobile-menu { position: relative; z-index: 1; }

    /* Page backgrounds are semi-transparent so blobs bleed through subtly */
    .page-inner { position: relative; }

    /* Cards stay opaque — blobs only show in empty space */
    .p-card, .proj-card, .work-featured, .home-card,
    .lab-machine-card, .lab-svc-card, .about-current,
    .lab-explainer, .lab-stats-row { position: relative; }

    @media (prefers-reduced-motion: reduce) {
      .bg-blob { animation: none; }
    }
    /* ═══════════════════════════════════════════════════════
       NAVIGATION
    ═══════════════════════════════════════════════════════ */
    .site-nav {
      position: sticky; top: 0; z-index: 200;
      background: color-mix(in srgb, var(--s-bg) 95%, transparent);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--s-border);
      display: flex; align-items: center;
      padding: 0 24px; height: 56px;
      gap: 8px;
    }
    .nav-brand {
      font-family: 'Orbitron', monospace;
      font-size: 14px; letter-spacing: 2px;
      color: var(--s-text); margin-right: 8px; flex-shrink: 0;
      text-decoration: none;
    }
    .nav-brand:hover { text-decoration: none; }
    .nav-brand .dot { color: var(--s-amber); }
    .nav-divider { width: 1px; height: 20px; background: var(--s-border); margin: 0 8px; flex-shrink: 0; }
    .nav-links {
      display: flex; align-items: center; gap: 2px; flex: 1;
      overflow-x: auto; -webkit-overflow-scrolling: touch;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-link {
      padding: 6px 14px; border-radius: 6px;
      font-size: 13.5px; font-weight: 500; color: var(--s-text2);
      cursor: pointer; border: none; background: transparent;
      transition: color 0.15s, background 0.15s;
      white-space: nowrap; text-decoration: none; display: block;
    }
    .nav-link:hover { color: var(--s-text); background: var(--s-surface2); text-decoration: none; }
    .nav-link.active { color: var(--s-accent); background: var(--s-accent-bg); }
    .nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
    .theme-toggle {
      width: 32px; height: 32px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--s-border); background: transparent;
      cursor: pointer; color: var(--s-text2);
      transition: color 0.15s, border-color 0.15s, background 0.15s;
      flex-shrink: 0;
    }
    .theme-toggle:hover { color: var(--s-text); background: var(--s-surface2); }
    .theme-toggle svg { width: 16px; height: 16px; }
    /* Mobile nav */
    .nav-hamburger {
      display: none; width: 32px; height: 32px; border-radius: 6px;
      border: 1px solid var(--s-border); background: transparent;
      cursor: pointer; color: var(--s-text2); align-items: center; justify-content: center;
    }
    .nav-mobile-menu {
      display: none; position: fixed; top: 56px; left: 0; right: 0;
      background: var(--s-surface); border-bottom: 1px solid var(--s-border);
      padding: 12px 16px; z-index: 199; flex-direction: column; gap: 4px;
    }
    .nav-mobile-menu.open { display: flex; }
    @media (max-width: 640px) {
      .nav-links { display: none; }
      .nav-hamburger { display: flex; }
      .site-nav { padding: 0 16px; }
    }

    /* ═══════════════════════════════════════════════════════
       PAGE SYSTEM
    ═══════════════════════════════════════════════════════ */
    .page { display: none; }
    .page.active { display: block; }
    .page.animating { animation: pageIn 0.22s cubic-bezier(0.16,1,0.3,1); }
    @keyframes pageIn {
      from { opacity: 0; transform: translateY(10px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .page-inner {
      max-width: 1000px; margin: 0 auto;
      padding: 56px 24px 80px;
    }
    @media (max-width: 640px) {
      .page-inner { padding: 40px 16px 60px; }
    }

    /* ═══════════════════════════════════════════════════════
       SHARED COMPONENTS (new pages)
    ═══════════════════════════════════════════════════════ */
    .eyebrow {
      font-size: 12px; font-weight: 600; letter-spacing: 2.5px;
      text-transform: uppercase; color: var(--s-accent);
      margin-bottom: 12px; display: block;
    }
    .page-title {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: clamp(28px, 5vw, 42px);
      font-weight: 700; color: var(--s-text);
      letter-spacing: -1px; line-height: 1.15;
      margin-bottom: 16px;
    }
    .page-subtitle {
      font-size: 17px; line-height: 1.75; color: var(--s-text2);
      max-width: 600px;
    }
    .section-rule {
      display: flex; align-items: center; gap: 16px;
      margin: 52px 0 28px;
    }
    .section-rule span {
      font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
      text-transform: uppercase; color: var(--s-text3); white-space: nowrap;
    }
    .section-rule::after {
      content: ''; flex: 1; height: 1px; background: var(--s-border);
    }

    /* ── p-card: new page cards ── */
    .p-card {
      background: var(--s-surface);
      border: 1px solid var(--s-border);
      border-radius: 8px; padding: 24px;
      transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    }
    .p-card:hover {
      border-color: var(--s-text3);
      box-shadow: var(--s-shadow);
      transform: translateY(-2px);
    }
    .p-card h3 {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 17px; font-weight: 600;
      color: var(--s-text); margin-bottom: 8px; letter-spacing: -0.3px;
    }
    .p-card p {
      font-size: 14.5px; line-height: 1.75; color: var(--s-text2);
    }
    .p-grid { display: grid; gap: 16px; }
    .p-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .p-grid-3 { grid-template-columns: repeat(3, 1fr); }
    @media (max-width: 768px) {
      .p-grid-2, .p-grid-3 { grid-template-columns: 1fr; }
    }

    /* ── tags / chips ── */
    .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .tag {
      font-size: 12px; font-weight: 500; padding: 3px 10px;
      border-radius: 20px; border: 1px solid var(--s-border);
      color: var(--s-text2); background: var(--s-surface2);
      white-space: nowrap;
    }
    .tag-accent { border-color: var(--s-accent); color: var(--s-accent); background: var(--s-accent-bg); }
    .tag-amber  { border-color: var(--s-amber);  color: var(--s-amber);  background: var(--s-amber-dim); }

    /* ── button ── */
    .btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 500;
      cursor: pointer; border: none; transition: all 0.15s; text-decoration: none;
    }
    .btn-primary {
      background: var(--s-accent); color: #fff;
    }
    .btn-primary:hover { opacity: 0.88; text-decoration: none; }
    .btn-ghost {
      background: transparent; color: var(--s-text2);
      border: 1px solid var(--s-border);
    }
    .btn-ghost:hover { color: var(--s-text); background: var(--s-surface2); border-color: var(--s-text3); text-decoration: none; }

    /* ═══════════════════════════════════════════════════════
       PAGE: HOME
    ═══════════════════════════════════════════════════════ */
    .hero {
      padding: 72px 0 60px;
      border-bottom: 1px solid var(--s-border);
      margin-bottom: 0;
    }
    .hero-kicker {
      font-size: 13px; font-weight: 600; letter-spacing: 2px;
      text-transform: uppercase; color: var(--s-amber);
      margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
    }
    .hero-kicker::before {
      content: ''; width: 24px; height: 2px; background: var(--s-amber);
    }
    .hero-name {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: clamp(36px, 7vw, 64px);
      font-weight: 700; color: var(--s-text);
      letter-spacing: -2px; line-height: 1.05;
      margin-bottom: 8px;
    }
    .hero-role {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: clamp(18px, 3vw, 26px);
      font-weight: 300; color: var(--s-text2);
      letter-spacing: -0.5px; margin-bottom: 28px;
    }
    .hero-role strong { color: var(--s-accent); font-weight: 500; }
    .hero-desc {
      font-size: 16px; line-height: 1.8; color: var(--s-text2);
      max-width: 580px; margin-bottom: 36px;
    }
    .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

    /* home feature cards */
    .home-sections { padding: 48px 0; }
    .home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
    .home-card {
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-radius: 10px; padding: 28px 24px;
      cursor: pointer; text-decoration: none;
      transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
      display: flex; flex-direction: column; gap: 10px;
    }
    .home-card:hover {
      border-color: var(--s-accent); box-shadow: var(--s-shadow);
      transform: translateY(-3px); text-decoration: none;
    }
    .home-card-icon {
      width: 40px; height: 40px; border-radius: 8px;
      background: var(--s-accent-bg); border: 1px solid var(--s-accent);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
    }
    .home-card-icon.amber {
      background: var(--s-amber-dim); border-color: var(--s-amber);
    }
    .home-card h3 {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 16px; font-weight: 600; color: var(--s-text); letter-spacing: -0.3px;
    }
    .home-card p { font-size: 13.5px; line-height: 1.65; color: var(--s-text2); }
    .home-card-arrow {
      margin-top: auto; font-size: 13px; color: var(--s-accent); font-weight: 500;
    }
    @media (max-width: 768px) { .home-cards { grid-template-columns: 1fr; } }

    /* skills strip */
    .skills-section { padding: 48px 0; border-top: 1px solid var(--s-border); }
    .skills-grid {
      display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
    }
    .skill-chip {
      padding: 8px 18px; border-radius: 6px;
      border: 1px solid var(--s-border); background: var(--s-surface);
      font-size: 13px; font-weight: 500; color: var(--s-text2);
      transition: all 0.15s;
    }
    .skill-chip:hover { border-color: var(--s-accent); color: var(--s-accent); background: var(--s-accent-bg); }


    /* contact strip */
    .contact-strip {
      padding: 40px 0; border-top: 1px solid var(--s-border);
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
    }
    .contact-strip-text { font-size: 15px; color: var(--s-text2); }
    .contact-links { display: flex; gap: 10px; }
    .contact-link {
      display: flex; align-items: center; gap: 7px;
      padding: 8px 16px; border-radius: 6px;
      border: 1px solid var(--s-border); background: var(--s-surface);
      font-size: 13px; font-weight: 500; color: var(--s-text2);
      text-decoration: none; transition: all 0.15s;
    }
    .contact-link:hover { border-color: var(--s-accent); color: var(--s-accent); background: var(--s-accent-bg); text-decoration: none; }
    .contact-link svg { width: 15px; height: 15px; flex-shrink: 0; }

    /* ═══════════════════════════════════════════════════════
       PAGE: WORK
    ═══════════════════════════════════════════════════════ */
    .work-featured {
      background: var(--s-surface);
      border: 1px solid var(--s-border);
      border-radius: 10px; padding: 36px;
      margin-bottom: 12px;
    }
    .work-featured:hover {
      border-color: var(--s-text3);
    }
    .work-badge {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px;
      text-transform: uppercase; color: var(--s-text3);
      background: var(--s-surface2); border: 1px solid var(--s-border);
      padding: 4px 12px; border-radius: 20px; margin-bottom: 20px;
    }
    .work-featured h2 {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 26px; font-weight: 700; color: var(--s-text);
      letter-spacing: -0.8px; margin-bottom: 8px;
    }
    .work-tagline {
      font-size: 15px; color: var(--s-text2); margin-bottom: 24px;
      font-style: italic;
    }
    .work-body { font-size: 15px; line-height: 1.8; color: var(--s-text2); }
    .work-body p { margin-bottom: 16px; }
    .work-body strong { color: var(--s-text); font-weight: 600; }
    .work-stats {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
      margin: 28px 0;
    }
    .work-stat {
      background: var(--s-surface2); border-radius: 8px; padding: 16px;
      text-align: center;
    }
    .work-stat-val {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 22px; font-weight: 700; color: var(--s-accent);
      letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 4px;
    }
    .work-stat-label {
      font-size: 12px; color: var(--s-text3); font-weight: 500; letter-spacing: 0.5px;
    }
    .work-contributions {
      border-top: 1px solid var(--s-border); padding-top: 24px; margin-top: 8px;
    }
    .work-contributions h4 {
      font-size: 13px; font-weight: 600; letter-spacing: 2px;
      text-transform: uppercase; color: var(--s-text3); margin-bottom: 16px;
    }
    .contrib-list {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none;
    }
    .contrib-list li {
      font-size: 14px; color: var(--s-text2); line-height: 1.5;
      display: flex; gap: 10px; align-items: flex-start;
    }
    .contrib-list li::before {
      content: '→'; color: var(--s-accent); flex-shrink: 0; margin-top: 1px;
    }
    @media (max-width: 640px) {
      .work-stats { grid-template-columns: repeat(2, 1fr); }
      .contrib-list { grid-template-columns: 1fr; }
      .work-featured { padding: 24px; }
    }

    /* experience timeline */
    .timeline { position: relative; padding-left: 28px; }
    .timeline::before {
      content: ''; position: absolute; left: 7px; top: 6px;
      bottom: 0; width: 1px; background: var(--s-border);
    }
    .timeline-item {
      position: relative; padding-bottom: 32px;
    }
    .timeline-item::before {
      content: ''; position: absolute; left: -24px; top: 6px;
      width: 9px; height: 9px; border-radius: 50%;
      background: var(--s-accent); border: 2px solid var(--s-bg);
      box-shadow: 0 0 0 2px var(--s-accent);
    }
    .timeline-item:last-child { padding-bottom: 0; }
    .tl-date {
      font-size: 12px; font-weight: 500; letter-spacing: 0.5px;
      color: var(--s-text3); margin-bottom: 4px;
    }
    .tl-role {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 16px; font-weight: 600; color: var(--s-text);
      margin-bottom: 3px; letter-spacing: -0.3px;
    }
    .tl-company { font-size: 14px; color: var(--s-accent); margin-bottom: 8px; }
    .tl-desc { font-size: 14px; color: var(--s-text2); line-height: 1.65; }
 }

    /* ═══════════════════════════════════════════════════════
       PAGE: PROJECTS
    ═══════════════════════════════════════════════════════ */
    .proj-card {
      background: var(--s-surface);
      border: 1px solid var(--s-border);
      border-radius: 10px; padding: 28px;
      display: flex; flex-direction: column; gap: 14px;
      transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    }
    .proj-card:hover {
      border-color: var(--s-text3); box-shadow: var(--s-shadow);
      transform: translateY(-2px);
    }
    .proj-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
    .proj-name {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 18px; font-weight: 700; color: var(--s-text); letter-spacing: -0.4px;
    }
    .proj-links { display: flex; gap: 8px; flex-shrink: 0; }
    .proj-link {
      padding: 5px 12px; border-radius: 6px; font-size: 12px; font-weight: 500;
      border: 1px solid var(--s-border); color: var(--s-text2);
      text-decoration: none; transition: all 0.15s; white-space: nowrap;
    }
    .proj-link:hover { border-color: var(--s-accent); color: var(--s-accent); background: var(--s-accent-bg); text-decoration: none; }
    .proj-desc { font-size: 14.5px; line-height: 1.85; color: var(--s-text2); }
    .proj-status {
      font-size: 11.5px; font-weight: 600; letter-spacing: 1.5px;
      text-transform: uppercase; color: var(--s-green);
      display: flex; align-items: center; gap: 6px;
    }
    .proj-status::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%;
      background: var(--s-green); display: inline-block;
    }
    .proj-status.wip { color: var(--s-amber); }
    .proj-status.wip::before { background: var(--s-amber); }
    .proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
    @media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }

    /* ═══════════════════════════════════════════════════════
       PAGE: LAB
    ═══════════════════════════════════════════════════════ */
    #page-lab {
      /* no forced background — inherits from body */
    }




    /* ═══════════════════════════════════════════════════════
       LAB PAGE — light/dark themed
    ═══════════════════════════════════════════════════════ */
    #page-lab .page-inner { max-width: 1100px; }

    /* explainer box */
    .lab-explainer {
      display: flex; gap: 16px; align-items: flex-start;
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-left: 3px solid var(--s-amber);
      border-radius: 0 8px 8px 0;
      padding: 18px 20px; margin: 32px 0;
    }
    .lab-explainer-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
    .lab-explainer-title { font-size: 13px; font-weight: 600; color: var(--s-text); margin-bottom: 6px; letter-spacing: 0.2px; }
    .lab-explainer-text { font-size: 13.5px; color: var(--s-text2); line-height: 1.7; }

    /* stats row */
    .lab-stats-row {
      display: flex; align-items: center; gap: 0;
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-radius: 8px; overflow: hidden; margin: 28px 0;
    }
    .lab-stat-item {
      flex: 1; padding: 20px 16px; text-align: center;
    }
    .lab-stat-val {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 24px; font-weight: 700; color: var(--s-accent);
      letter-spacing: -0.5px; line-height: 1.1; margin-bottom: 4px;
    }
    .lab-stat-label { font-size: 12px; color: var(--s-text3); font-weight: 500; letter-spacing: 0.3px; }
    .lab-stat-label .lab-stat-link { color: var(--s-accent); font-size: 11px; }
    .lab-stat-sep { width: 1px; height: 48px; background: var(--s-border); flex-shrink: 0; }
    @media (max-width: 480px) {
      .lab-stats-row { flex-wrap: wrap; }
      .lab-stat-sep { display: none; }
      .lab-stat-item { flex: 1 1 50%; border-bottom: 1px solid var(--s-border); }
    }

    /* machines grid */
    .lab-machines-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    }
    .lab-machine-card {
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 8px;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .lab-machine-card:hover { border-color: var(--s-text3); box-shadow: var(--s-shadow); }
    .lab-machine-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .lab-machine-name { font-family: 'Sora', 'Inter', sans-serif; font-size: 15px; font-weight: 700; color: var(--s-text); letter-spacing: -0.3px; }
    .lab-machine-role { font-size: 13px; color: var(--s-text2); line-height: 1.5; }
    .lab-machine-specs { font-size: 12px; color: var(--s-text3); font-family: 'Share Tech Mono', monospace; }
    .lab-machine-services { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
    .lab-svc-tag {
      font-size: 11px; font-weight: 500; padding: 2px 8px;
      border-radius: 4px; background: var(--s-surface2); border: 1px solid var(--s-border);
      color: var(--s-text2); white-space: nowrap;
    }
    .lab-machine-badge {
      font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 20px;
      white-space: nowrap; flex-shrink: 0;
    }
    .lab-badge-purple { background: rgba(124,111,160,0.12); color: #9d8fcf; border: 1px solid rgba(124,111,160,0.3); }
    .lab-badge-amber  { background: var(--s-amber-dim); color: var(--s-amber); border: 1px solid rgba(217,119,6,0.3); }
    .lab-badge-blue   { background: var(--s-accent-bg); color: var(--s-accent); border: 1px solid rgba(47,129,247,0.3); }
    .lab-badge-green  { background: rgba(63,185,80,0.1); color: var(--s-green); border: 1px solid rgba(63,185,80,0.3); }
    @media (max-width: 900px) { .lab-machines-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .lab-machines-grid { grid-template-columns: 1fr; } }

    /* services filter */
    .lab-svc-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
    .lab-filter-pill {
      padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
      cursor: pointer; border: 1px solid var(--s-border); background: transparent;
      color: var(--s-text2); transition: all 0.15s;
    }
    .lab-filter-pill:hover { color: var(--s-text); border-color: var(--s-text3); background: var(--s-surface); }
    .lab-filter-pill.active { color: var(--s-accent); border-color: var(--s-accent); background: var(--s-accent-bg); }

    /* services grid */
    .lab-svc-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    }
    .lab-svc-card {
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-radius: 8px; padding: 16px; display: flex; flex-direction: column; gap: 8px;
      transition: border-color 0.15s, box-shadow 0.15s; position: relative;
    }
    .lab-svc-card:hover { border-color: var(--s-text3); box-shadow: var(--s-shadow); }
    .lab-svc-card-top { display: flex; align-items: center; }
    .lab-svc-name { font-size: 14px; font-weight: 600; color: var(--s-text); letter-spacing: -0.2px; }
    .lab-svc-name-link {
      font-size: 14px; font-weight: 600; color: var(--s-text); letter-spacing: -0.2px;
      text-decoration: none; transition: color 0.15s;
    }
    .lab-svc-name-link:hover { color: var(--s-accent); text-decoration: none; }
    .lab-svc-arrow { font-size: 11px; opacity: 0.5; margin-left: 3px; }
    .lab-svc-name-link:hover .lab-svc-arrow { opacity: 1; }

    .lab-svc-desc { font-size: 13px; color: var(--s-text2); line-height: 1.6; flex: 1; }
    .lab-svc-cat {
      display: inline-block; font-size: 11px; font-weight: 600;
      padding: 2px 9px; border-radius: 20px; letter-spacing: 0.3px;
      width: fit-content;
    }
    .lab-svc-cat.media       { background: rgba(176,112,144,0.12); color: #c98aaa; border: 1px solid rgba(176,112,144,0.25); }
    .lab-svc-cat.cloud       { background: rgba(136,120,184,0.12); color: #a090cc; border: 1px solid rgba(136,120,184,0.25); }
    .lab-svc-cat.automation  { background: rgba(106,158,120,0.12); color: #82b894; border: 1px solid rgba(106,158,120,0.25); }
    .lab-svc-cat.ai          { background: var(--s-accent-bg); color: var(--s-accent); border: 1px solid rgba(47,129,247,0.25); }
    .lab-svc-cat.monitoring  { background: rgba(90,154,170,0.12); color: #72b4c8; border: 1px solid rgba(90,154,170,0.25); }
    .lab-svc-cat.infra       { background: var(--s-surface2); color: var(--s-text3); border: 1px solid var(--s-border); }
    @media (max-width: 900px) { .lab-svc-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .lab-svc-grid { grid-template-columns: 1fr; } }

    /* diagram wrap , always dark */
    .lab-diagram-wrap {
      background: #06080f;
      border-radius: 10px;
      border: 1px solid #1e293b;
      overflow: hidden;
      margin-top: 8px;
      /* break out of page-inner padding to use full column width */
      margin-left: -24px;
      margin-right: -24px;
      border-radius: 0;
    }
    @media (min-width: 640px) {
      .lab-diagram-wrap { margin-left: 0; margin-right: 0; border-radius: 10px; }
    }
    .lab-diag-statsbar {
      background: #070b14; border-bottom: 1px solid #1a2235;
      padding: 0 20px; height: 38px;
      display: flex; align-items: center; gap: 0;
      font-family: 'Inter', sans-serif;
      font-size: 13px; letter-spacing: 0.1px; color: #475569;
      overflow: hidden;
    }
    .lab-diag-statsbar .stats-item {
      display: flex; align-items: center; gap: 7px;
      padding: 0 16px; border-right: 1px solid #1a2235;
      white-space: nowrap;
    }
    .lab-diag-statsbar .stats-item:first-child { padding-left: 0; }
    .lab-diag-statsbar .stats-val { color: #94a3b8; }
    .lab-diag-statsbar .stats-badge {
      margin-left: auto; text-decoration: none; flex-shrink: 0;
      display: flex; align-items: center; gap: 6px;
      padding: 4px 12px; border-radius: 4px; font-size: 12px;
      border: 1px solid rgba(16,185,129,0.35); color: #10b981;
    }
    .lab-diag-statsbar .stats-badge:hover { background: rgba(16,185,129,0.07); }
    .lab-diag-statsbar .stats-badge.warn { color: #f59e0b; border-color: rgba(245,158,11,0.35); }
    .lab-diag-statsbar .stats-badge.down { color: #ef4444; border-color: rgba(239,68,68,0.35); }




    /* ═══════════════════════════════════════════════════════
       ARCHITECTURE DIAGRAM , theme-aware
    ═══════════════════════════════════════════════════════ */
    .arch-wrap {
      --arch-vps-color:   #9d8fcf;
      --arch-wg-color:    #f97316;
      --arch-lan-color:   #d97706;
      --arch-media-color: #b07090;
      --arch-auto-color:  #6a9e78;
      --arch-cloud-color: #8878b8;
      --arch-infra-color: #5a9aaa;
      --arch-ai-color:    #2f81f7;
      --arch-agent-color: #6888a0;
      font-size: 13px;
    }

    /* legend */
    .arch-legend {
      display: flex; flex-wrap: wrap; gap: 6px;
      padding: 10px 14px;
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-radius: 8px; margin-bottom: 16px;
    }
    .arch-legend-item {
      display: flex; align-items: center; gap: 5px;
      font-size: 12px; font-weight: 500; color: var(--s-text2);
      padding: 3px 8px; border-radius: 4px; cursor: pointer;
      transition: background 0.15s, opacity 0.15s; user-select: none;
    }
    .arch-legend-item:hover { background: var(--s-surface2); }
    .arch-legend-item.dimmed { opacity: 0.3; }
    .arch-legend-item.highlighted { background: var(--s-surface2); }
    .arch-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

    /* shared element transition */
    .arch-el {
      cursor: pointer;
      transition: opacity 0.2s, box-shadow 0.15s, border-color 0.15s;
    }
    .arch-el.dimmed { opacity: 0.15; }
    .arch-el.selected { opacity: 1; }

    /* internet */
    .arch-internet {
      border: 1px solid var(--s-border); border-radius: 8px;
      background: var(--s-surface);
      padding: 14px 20px; text-align: center;
      margin-bottom: 0;
    }
    .arch-internet:hover { border-color: var(--s-text3); box-shadow: var(--s-shadow); }
    .arch-internet.selected { border-color: var(--s-text2); box-shadow: var(--s-shadow); }
    .arch-inet-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
    .arch-inet-title { font-family: "Share Tech Mono", monospace; font-size: 13px; font-weight: 700; color: var(--s-text3); letter-spacing: 2px; }
    .arch-inet-sub { font-size: 12px; color: var(--s-text3); }

    /* connectors */
    .arch-v-conn {
      display: flex; justify-content: center; padding: 6px 0;
    }
    .arch-v-conn-line {
      width: 1px; height: 24px; background: var(--s-border);
      position: relative;
    }
    .arch-v-conn-line::after {
      content: ''; position: absolute; bottom: -4px; left: -3px;
      width: 0; height: 0;
      border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
      border-top: 6px solid var(--s-border);
    }
    .arch-v-conn-line.wg { background: var(--arch-wg-color); }
    .arch-v-conn-line.wg::after { border-top-color: var(--arch-wg-color); }

    /* VPS zone */
    .arch-zone-vps {
      border: 1px solid var(--arch-vps-color);
      border-radius: 8px; overflow: hidden;
      margin-bottom: 0;
      background: color-mix(in srgb, var(--arch-vps-color) 6%, var(--s-bg));
    }
    .arch-zone-hdr {
      display: flex; align-items: center; gap: 10px;
      padding: 10px 16px; border-bottom: 1px solid;
    }
    .arch-zone-vps .arch-zone-hdr {
      border-color: color-mix(in srgb, var(--arch-vps-color) 30%, transparent);
      cursor: pointer;
    }
    .arch-zone-vps .arch-zone-hdr:hover { background: color-mix(in srgb, var(--arch-vps-color) 8%, transparent); }
    .arch-zone-name { font-size: 13px; font-weight: 700; }
    .arch-zone-name.vps-name { color: var(--arch-vps-color); }
    .arch-zone-specs { font-size: 11px; color: var(--s-text3); font-family: "Share Tech Mono", monospace; }
    .arch-zone-ip { margin-left: auto; font-size: 11px; color: var(--s-text3); font-family: "Share Tech Mono", monospace; }
    .arch-vps-boxes {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 1px; background: color-mix(in srgb, var(--arch-vps-color) 20%, transparent);
      padding: 1px;
    }
    .arch-vps-box {
      background: color-mix(in srgb, var(--arch-vps-color) 5%, var(--s-bg));
      padding: 12px 14px;
      transition: background 0.15s;
    }
    .arch-vps-box:hover, .arch-vps-box.selected {
      background: color-mix(in srgb, var(--arch-vps-color) 12%, var(--s-bg));
    }
    .arch-vps-box-name { font-size: 12px; font-weight: 600; color: var(--arch-vps-color); margin-bottom: 3px; }
    .arch-vps-box-sub { font-size: 11px; color: var(--s-text3); line-height: 1.4; }
    @media (max-width: 600px) {
      .arch-vps-boxes { grid-template-columns: repeat(2, 1fr); }
    }

    /* WireGuard band */
    .arch-wgband {
      background: color-mix(in srgb, var(--arch-wg-color) 8%, var(--s-bg));
      border: 1px solid color-mix(in srgb, var(--arch-wg-color) 40%, transparent);
      border-radius: 6px; padding: 9px 16px;
      display: flex; align-items: center; justify-content: center; gap: 10px;
      text-align: center; margin: 0;
      font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
      color: var(--arch-wg-color); font-family: "Share Tech Mono", monospace;
    }
    .arch-wgband:hover { background: color-mix(in srgb, var(--arch-wg-color) 14%, var(--s-bg)); box-shadow: var(--s-shadow); }
    .arch-wgband.selected { border-width: 2px; }

    /* LAN zone */
    .arch-zone-lan {
      border: 1px solid color-mix(in srgb, var(--arch-lan-color) 40%, transparent);
      border-radius: 8px; overflow: hidden;
      background: color-mix(in srgb, var(--arch-lan-color) 3%, var(--s-bg));
    }
    .arch-lan-hdr {
      padding: 7px 16px; border-bottom: 1px solid color-mix(in srgb, var(--arch-lan-color) 25%, transparent);
    }
    .arch-lan-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--arch-lan-color); text-transform: uppercase; }

    /* machines grid */
    .arch-machines {
      display: grid;
      grid-template-columns: 1fr 2.4fr 1fr 1fr;
      gap: 1px;
      background: color-mix(in srgb, var(--arch-lan-color) 15%, transparent);
      padding: 1px;
    }
    @media (max-width: 900px) {
      .arch-machines { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 560px) {
      .arch-machines { grid-template-columns: 1fr; }
    }
    .arch-machine {
      background: var(--s-surface);
      padding: 14px;
      display: flex; flex-direction: column; gap: 8px;
      transition: background 0.15s;
    }
    .arch-machine:hover { background: var(--s-surface2); }
    .arch-machine.selected { background: var(--s-surface2); }
    .arch-machine.arch-machine-proxmox {
      border-left: 2px dashed color-mix(in srgb, var(--arch-lan-color) 40%, transparent);
    }
    .arch-machine-hdr {
      display: flex; align-items: center; justify-content: space-between; gap: 6px;
    }
    .arch-machine-name { font-size: 13px; font-weight: 700; color: var(--s-text); }
    .arch-badge {
      font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px;
      letter-spacing: 0.5px; white-space: nowrap; flex-shrink: 0;
    }
    .arch-badge-wg { background: color-mix(in srgb, var(--arch-wg-color) 12%, transparent); color: var(--arch-wg-color); border: 1px solid color-mix(in srgb, var(--arch-wg-color) 35%, transparent); }
    .arch-badge-lan { background: color-mix(in srgb, var(--arch-lan-color) 12%, transparent); color: var(--arch-lan-color); border: 1px solid color-mix(in srgb, var(--arch-lan-color) 35%, transparent); }
    .arch-machine-specs { font-size: 11px; color: var(--s-text3); font-family: "Share Tech Mono", monospace; line-height: 1.3; }
    .arch-machine-note { font-size: 11px; color: var(--s-text3); font-style: italic; margin-top: auto; }
    .arch-machine-storage { font-size: 11px; color: var(--s-text3); font-family: "Share Tech Mono", monospace; padding-top: 4px; border-top: 1px solid var(--s-border); margin-top: 4px; }

    /* service groups inside machines */
    .arch-svcs { display: flex; flex-direction: column; gap: 6px; flex: 1; }
    .arch-svcs-multi { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .arch-svc-group {
      background: color-mix(in srgb, var(--gc, var(--s-text3)) 8%, var(--s-surface));
      border: 1px solid color-mix(in srgb, var(--gc, var(--s-border)) 25%, transparent);
      border-radius: 4px; padding: 7px 9px;
      cursor: pointer; transition: background 0.15s;
    }
    .arch-svc-group:hover {
      background: color-mix(in srgb, var(--gc, var(--s-text3)) 14%, var(--s-surface));
    }
    .arch-svc-group.selected {
      background: color-mix(in srgb, var(--gc, var(--s-text3)) 14%, var(--s-surface));
      border-color: color-mix(in srgb, var(--gc) 60%, transparent);
    }
    .arch-svc-group-label {
      display: block; font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
      text-transform: uppercase; color: var(--gc, var(--s-text3));
      margin-bottom: 5px; opacity: 0.8;
    }
    .arch-svc-item { display: block; font-size: 11px; color: var(--s-text2); line-height: 1.6; }
    @media (max-width: 900px) {
      .arch-svcs-multi { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 560px) {
      .arch-svcs-multi { grid-template-columns: 1fr; }
    }


    .arch-flow-row {
      display: contents;
      cursor: pointer;
    }
    .arch-flow-row:hover .arch-flow-cell { background: var(--s-surface2); }
    .arch-flow-row.selected .arch-flow-cell { background: var(--s-surface2); }
    .arch-flow-cell {
      padding: 8px 12px; border-top: 1px solid var(--s-border);
      transition: background 0.15s;
      display: flex; flex-direction: column; justify-content: center;
    }
    .arch-flow-cell:first-child { border-radius: 6px 0 0 6px; }
    .arch-flow-cell:last-child { border-radius: 0 6px 6px 0; }
    .arch-flow-arrow {
      display: flex; align-items: center; justify-content: center;
      color: var(--s-text3); font-size: 14px; border-top: 1px solid var(--s-border);
      padding: 8px 0;
    }
    .arch-flow-src { font-weight: 600; color: var(--s-text); font-size: 12px; }
    .arch-flow-via { font-size: 11px; color: var(--s-text2); }
    .arch-flow-ntfy { font-size: 12px; font-weight: 600; color: var(--arch-vps-color); }
    .arch-flow-ch { font-size: 11px; color: var(--s-text2); }
    .arch-flow-dest { font-size: 12px; }

    /* detail panel */
    .arch-detail {
      position: fixed; bottom: 0; left: 0; right: 0;
      background: var(--s-surface);
      border-top: 1px solid var(--s-border);
      padding: 20px 24px;
      z-index: 300;
      transform: translateY(100%);
      transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
      max-height: 55vh; overflow-y: auto;
      box-shadow: 0 -8px 32px rgba(0,0,0,0.15);
    }
    .arch-detail.open { transform: translateY(0); }
    .arch-detail-inner {
      max-width: 900px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
    }
    @media (max-width: 640px) {
      .arch-detail-inner { grid-template-columns: 1fr; gap: 16px; }
      .arch-detail { padding: 16px; }
    }
    .arch-detail-hdr {
      display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
      margin-bottom: 16px; grid-column: 1 / -1;
    }
    .arch-detail-tag { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--s-text3); margin-bottom: 4px; }
    .arch-detail-title { font-size: 18px; font-weight: 700; color: var(--s-text); letter-spacing: -0.3px; }
    .arch-detail-close {
      background: transparent; border: 1px solid var(--s-border);
      color: var(--s-text2); border-radius: 6px; padding: 5px 12px;
      font-size: 12px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
      transition: all 0.15s;
    }
    .arch-detail-close:hover { background: var(--s-surface2); color: var(--s-text); }
    .arch-detail-desc { font-size: 14px; line-height: 1.75; color: var(--s-text2); }
    .arch-detail-bullets { list-style: none; }
    .arch-detail-bullets li {
      font-size: 13px; color: var(--s-text2); padding: 4px 0;
      display: flex; gap: 10px; line-height: 1.5;
    }
    .arch-detail-bullets li::before {
      content: '→'; color: var(--s-accent); flex-shrink: 0;
    }
    .arch-related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; grid-column: 1 / -1; }
    .arch-related-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--s-text3); width: 100%; }
    .arch-chip {
      padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 500;
      border: 1px solid var(--s-border); color: var(--s-text2); background: var(--s-surface2);
      cursor: pointer; transition: all 0.15s;
    }
    .arch-chip:hover { border-color: var(--s-accent); color: var(--s-accent); }
    .arch-overlay {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,0.3); z-index: 299;
    }
    .arch-overlay.open { display: block; }

    /* ═══════════════════════════════════════════════════════
       PAGE: ABOUT
    ═══════════════════════════════════════════════════════ */
    .about-body {
      font-size: 16px; line-height: 1.9; color: var(--s-text2);
      max-width: 640px;
    }
    .about-body p { margin-bottom: 24px; }
    .about-body strong { color: var(--s-text); font-weight: 600; }
    .about-body a { color: var(--s-accent); }
    .about-current {
      background: var(--s-surface); border: 1px solid var(--s-border);
      border-left: 3px solid var(--s-accent);
      border-radius: 0 8px 8px 0;
      padding: 16px 20px; margin: 32px 0; max-width: 560px;
    }
    .about-current-label {
      font-size: 11px; font-weight: 600; letter-spacing: 2px;
      text-transform: uppercase; color: var(--s-accent); margin-bottom: 6px;
    }
    .about-current-text { font-size: 14px; color: var(--s-text2); line-height: 1.65; }
    .about-contact {
      border-top: 1px solid var(--s-border); padding-top: 32px; margin-top: 8px;
    }
    .about-contact h3 {
      font-family: 'Sora', 'Inter', sans-serif;
      font-size: 18px; font-weight: 600; color: var(--s-text); margin-bottom: 20px;
    }
    .about-contact-links { display: flex; flex-direction: column; gap: 10px; max-width: 400px; }

    .about-contact-label { font-size: 14px; font-weight: 500; color: var(--s-text); }
    .about-contact-sub { font-size: 12px; color: var(--s-text2); }

    /* uptime badges on service cards */
    .lab-uptime-badge {
      font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
      padding: 2px 7px; border-radius: 4px; white-space: nowrap;
      position: absolute; top: 12px; right: 12px;
      display: none; /* hidden until data loads */
    }
    .lab-uptime-badge.up   { background: rgba(63,185,80,0.1); color: var(--s-green); border: 1px solid rgba(63,185,80,0.25); display: block; }
    .lab-uptime-badge.warn { background: rgba(245,158,11,0.1); color: #d97706; border: 1px solid rgba(245,158,11,0.25); display: block; }
    .lab-uptime-badge.down { background: rgba(248,81,73,0.1); color: var(--s-red); border: 1px solid rgba(248,81,73,0.25); display: block; }



    /* timeline , work vs education */
    .timeline-item.tl-edu::before {
      background: var(--s-bg);
      border: 2px solid var(--s-text3);
      box-shadow: 0 0 0 2px var(--s-text3);
    }
    .tl-tag {
      display: inline-flex; align-items: center; gap: 4px;
      font-size: 10px; font-weight: 600; letter-spacing: 1px;
      text-transform: uppercase; padding: 2px 8px; border-radius: 10px;
      margin-bottom: 6px;
    }
    .tl-tag-work { background: var(--s-accent-bg); color: var(--s-accent); border: 1px solid rgba(47,129,247,0.25); }
    .tl-tag-edu  { background: var(--s-surface2); color: var(--s-text3); border: 1px solid var(--s-border); }
    .tl-bullets { list-style: none; margin-top: 8px; }
    .tl-bullets li {
      font-size: 13px; color: var(--s-text2); line-height: 1.55;
      padding: 3px 0; display: flex; gap: 8px;
    }
    .tl-bullets li::before { content: '→'; color: var(--s-accent); flex-shrink: 0; }

    /* about contact , compact inline row */
    .about-contact-row {
      display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px;
    }
    .about-contact-btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 9px 16px; border-radius: 6px; font-size: 13.5px; font-weight: 500;
      border: 1px solid var(--s-border); color: var(--s-text2);
      background: var(--s-surface); text-decoration: none;
      transition: all 0.15s;
    }
    .about-contact-btn:hover { border-color: var(--s-accent); color: var(--s-accent); background: var(--s-accent-bg); text-decoration: none; }
    .about-contact-btn svg { width: 15px; height: 15px; flex-shrink: 0; }

    /* work-badge clean */
    .work-badge {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
      text-transform: uppercase; color: var(--s-text3);
      background: var(--s-surface2); border: 1px solid var(--s-border);
      padding: 3px 10px; border-radius: 20px; margin-bottom: 16px;
    }

    .arch-statusbar {
      display: flex; align-items: center; justify-content: space-between;
      padding: 8px 14px; background: var(--s-surface);
      border: 1px solid var(--s-border); border-radius: 8px;
      margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
    }
    .arch-statusbar-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .arch-statusbar-sep { color: var(--s-text3); }
    .arch-statusbar-link {
      font-size: 12px; font-weight: 500; color: var(--s-accent);
      text-decoration: none; white-space: nowrap; flex-shrink: 0;
    }
    .arch-statusbar-link:hover { text-decoration: underline; }
    .stats-pulse {
      width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
      background: var(--s-green); box-shadow: 0 0 6px var(--s-green);
      animation: statsPulse 2.2s ease-in-out infinite;
    }
    .stats-pulse.warn { background: #d97706; box-shadow: 0 0 6px #d97706; }
    .stats-pulse.down { background: var(--s-red); box-shadow: 0 0 6px var(--s-red); }
    @keyframes statsPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
    #dl-btn {
      position: fixed; bottom: 20px; right: 20px;
      background: var(--s-surface); color: var(--s-amber);
      border: 1px solid var(--s-amber); font-size: 12px; font-weight: 500;
      padding: 8px 14px; border-radius: 6px; cursor: pointer; z-index: 150;
      transition: background 0.15s; font-family: inherit;
    }
    #dl-btn:hover { background: var(--s-amber); color: #000; }
    #dl-btn.hidden { display: none; }
    #dl-btn:disabled { opacity: 0.5; cursor: wait; }
    @media (max-width: 600px) { #dl-btn { display: none !important; } }
