/* nnangmathew.com — skill proficiency bars: the production design, kept.
   Markup: .sk-grid > .sk-group.sk-g1..7 > h3 + ul.sk-list > li.sk[style="--v:95"]
           li.sk > .sk-name + .sk-val (aria-hidden number) + .sk-bar[role=progressbar] > .sk-fill
   No panels: each group is a dash + coloured uppercase label, then name / number rows over a thin rounded track
   with a rounded two-colour gradient fill. Every group keeps its own gradient from the original site
   (these seven pairs are the skills' own palette, deliberately independent of the site accent).
   The fill is a full-width bar scaled on X, so motion never touches layout.
   - No JS, reduced motion, print: scaleX(--v / 100), the true value, static.
   - js/skills.js: fill from 0 on entry, then the continuous sine swing around the value. */

.sk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.75rem 3rem}
@container sec (max-width:900px){.sk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container sec (max-width:560px){.sk-grid{grid-template-columns:1fr;gap:2.25rem}}

/* group colours: --a -> --b is the fill gradient, --c the label / number colour (lighter on dark, deeper on bone) */
.sk-group{min-width:0;text-align:left;--a:#2563eb;--b:#22d3ee;--c:#60a5fa;--c:light-dark(#1d4ed8,#60a5fa)}
.sk-g2{--a:#0891b2;--b:#60a5fa;--c:#22d3ee;--c:light-dark(#0e7490,#22d3ee)}
.sk-g3{--a:#6366f1;--b:#60a5fa;--c:#818cf8;--c:light-dark(#4338ca,#818cf8)}
.sk-g4{--a:#10b981;--b:#22d3ee;--c:#34d399;--c:light-dark(#047857,#34d399)}
.sk-g5{--a:#f97316;--b:#facc15;--c:#fb923c;--c:light-dark(#c2410c,#fb923c)}
.sk-g6{--a:#f43f5e;--b:#f472b6;--c:#fb7185;--c:light-dark(#be123c,#fb7185)}
.sk-g7{--a:#8b5cf6;--b:#c084fc;--c:#a78bfa;--c:light-dark(#6d28d9,#a78bfa)}

.sk-group h3{display:flex;align-items:center;gap:.6rem;margin:0 0 1.25rem;font-family:var(--f-sans);font-size:.76rem;font-weight:700;font-stretch:100%;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:var(--c)}
.sk-group h3::before{content:"";width:1rem;height:1px;background:currentColor;flex:none}

.sk-list{display:grid;gap:1rem}
.sk{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem 1rem;align-items:baseline}
.sk-name{font-size:.94rem;font-weight:500;line-height:1.35;color:var(--ink)}
.sk-val{min-width:1.9em;text-align:right;font-size:.78rem;font-weight:700;line-height:1.35;color:var(--c);font-variant-numeric:tabular-nums}
.sk-bar{grid-column:1/-1;display:block;height:.5rem;border-radius:999px;background:var(--surface2);overflow:hidden}
.sk-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--a),var(--b));transform-origin:0 50%;transform:scaleX(calc(var(--v,0)/100));will-change:transform}
[dir="rtl"] .sk-fill{transform-origin:100% 50%}

/* leadership: full-width row, centred label with a dash each side, three bars across */
.sk-wide{grid-column:1/-1;margin-top:.75rem}
.sk-wide h3{justify-content:center;gap:.75rem;margin-bottom:1.6rem}
.sk-wide h3::before,.sk-wide h3::after{content:"";width:2rem;height:1px;background:currentColor;flex:none}
.sk-wide .sk-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem 3rem;max-width:48rem;margin-inline:auto}
@container sec (max-width:560px){.sk-wide .sk-list{grid-template-columns:1fr;gap:1rem}}

@media (forced-colors:active){.sk-bar{border:1px solid CanvasText}.sk-fill{background:Highlight}}
@media print{.sk-fill{transform:scaleX(calc(var(--v,0)/100))!important}}
