<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
  <defs>
    <clipPath id="circle-clip">
      <circle cx="512" cy="512" r="512"/>
    </clipPath>
    <radialGradient id="ambient" cx="50%" cy="42%" r="55%">
      <stop offset="0%"   stop-color="#fff5d6" stop-opacity="0.14"/>
      <stop offset="50%"  stop-color="#fff5d6" stop-opacity="0.04"/>
      <stop offset="100%" stop-color="#fff5d6" stop-opacity="0"/>
    </radialGradient>
    <radialGradient id="glass-lit" cx="50%" cy="55%" r="60%">
      <stop offset="0%"   stop-color="#fff2c2" stop-opacity="0.95"/>
      <stop offset="60%"  stop-color="#ffe19a" stop-opacity="0.55"/>
      <stop offset="100%" stop-color="#ffd070" stop-opacity="0"/>
    </radialGradient>
    <filter id="fila-glow" x="-50%" y="-50%" width="200%" height="200%">
      <feGaussianBlur stdDeviation="6" result="blur"/>
      <feMerge><feMergeNode in="blur"/><feMergeNode in="SourceGraphic"/></feMerge>
    </filter>
  </defs>

  <g clip-path="url(#circle-clip)">
    <!-- Dark disc -->
    <rect width="1024" height="1024" fill="#1e1e18"/>

    <!-- Soft ambient warm wash -->
    <circle cx="512" cy="440" r="520" fill="url(#ambient)"/>

    <!-- Centered bulb group: scale 1.8 places bulb top at y≈162, base bottom at y≈853 -->
    <g transform="translate(512,540) scale(1.8)">
      <!-- Bulb glass: dark fill + bold beige outline -->
      <path d="M 0 -210 C 60 -210,108 -168,112 -100 C 116 -40,100 8,78 36 C 66 52,54 60,50 68 C 50 72,50 76,50 80 C 16 80,-16 80,-50 80 C -50 76,-50 72,-50 68 C -54 60,-66 52,-78 36 C -100 8,-116 -40,-112 -100 C -108 -168,-60 -210,0 -210 Z" fill="#252520" stroke="#e0d8c4" stroke-width="8" stroke-linejoin="round"/>

      <!-- Lit interior -->
      <path d="M 0 -210 C 60 -210,108 -168,112 -100 C 116 -40,100 8,78 36 C 66 52,54 60,50 68 C 50 72,50 76,50 80 C 16 80,-16 80,-50 80 C -50 76,-50 72,-50 68 C -54 60,-66 52,-78 36 C -100 8,-116 -40,-112 -100 C -108 -168,-60 -210,0 -210 Z" fill="url(#glass-lit)" opacity="0.95"/>

      <!-- Lead wires (behind filament) -->
      <g stroke="#e0d8c4" stroke-width="4" stroke-linecap="round">
        <line x1="-32" y1="58" x2="-32" y2="24"/>
        <line x1="32"  y1="58" x2="32"  y2="24"/>
      </g>

      <!-- Filled cursive 'if' filament (key legibility fix vs. previous mark) -->
      <text x="0" y="20" text-anchor="middle"
        font-family="'Pinyon Script','Allura',cursive" font-weight="400" font-size="130"
        fill="#f4b942" stroke="#f4b942" stroke-width="2"
        stroke-linecap="round" stroke-linejoin="round" letter-spacing="-3"
        filter="url(#fila-glow)">if</text>

      <!-- Threaded base (bolder strokes) -->
      <g>
        <path d="M -50 80 L 50 80 C 50 100,42 132,28 158 L 22 158 L 12 174 L -12 174 L -22 158 L -28 158 C -42 132,-50 100,-50 80 Z"
          fill="#252520" stroke="#e0d8c4" stroke-width="6" stroke-linejoin="round"/>
        <line x1="-48" y1="100" x2="48" y2="100" stroke="#e0d8c4" stroke-width="6" stroke-linecap="round"/>
        <line x1="-46" y1="120" x2="46" y2="120" stroke="#e0d8c4" stroke-width="6" stroke-linecap="round"/>
        <line x1="-42" y1="140" x2="42" y2="140" stroke="#e0d8c4" stroke-width="6" stroke-linecap="round"/>
      </g>
    </g>
  </g>
</svg>