/* neon.css — the neon-tube sunset mark (the {{template "mark"}} partial).
 *
 * EVERYTHING is a hollow glass tube: a wide colored .glow stroke + a thin white
 * .core stroke on top, wrapped in a stacked colored drop-shadow halo. No fills.
 * neon.js drives --lit (0..1) per .seg for the flicker; this file is just the look
 * and the two sizes (hero + navbar). Shared by base + home.
 */

.neon{ height:auto; display:block; overflow:visible; }

.seg{ opacity:var(--lit,1);
  filter:drop-shadow(0 0 var(--neon-glow1,2.5px) var(--c)) drop-shadow(0 0 var(--neon-glow2,7px) var(--c)) drop-shadow(0 0 var(--neon-glow3,16px) var(--c)); }
.seg .glow{ fill:none; stroke:var(--c); stroke-width:6; stroke-linecap:round; stroke-linejoin:round; }
.seg .core{ fill:none; stroke:#fff; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; opacity:.9; }
.bird .glow{ stroke:#eafcff; }                 /* white tube, white halo */
.moon .glow{ stroke-width:5; } .moon .core{ stroke-width:1.5; }
.neon.lit{ filter:brightness(1.1) saturate(1.06); }

/* --- hero size (homepage sign above the name) --- */
.heromark{ display:flex; justify-content:center; width:100%; max-width:var(--col); margin:0 auto 20px; }
.heromark .neon{ width:clamp(96px,15vw,148px); }

/* --- navbar size (mini sign left of the C.I.M wordmark) ---
   the viewBox is big (414 wide), so at ~34px the base 6px strokes render as
   hairlines — the nav version needs much thicker tube strokes and a tighter glow. */
.brand-wrap{ display:flex; align-items:center; }
.navmark{ display:inline-flex; align-items:center; margin-right:12px; flex:0 0 auto; }
.navmark .neon{ width:66px; }   /* the nav grows to fit this (nav is align-items:center, no fixed height) */
.navmark .seg{ filter:drop-shadow(0 0 0.8px var(--c)) drop-shadow(0 0 3px var(--c)) drop-shadow(0 0 7px var(--c)); }
.navmark .seg .glow{ stroke-width:12; }
.navmark .seg .core{ stroke-width:4.5; }
.navmark .moon .glow{ stroke-width:10; }
.navmark .moon .core{ stroke-width:3.5; }
