:root{
  --red:#e30613; --teal:#00a3b4; --lime:#a8c80a;
  --ink:#1f2933; --muted:#5b6770; --bg:#fbfaf7; --card:#fff;
  --radius:20px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Segoe UI",system-ui,-apple-system,Roboto,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
.wrap{max-width:1080px;margin:0 auto;padding:0 1.25rem}
.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:#fff;padding:.5rem;z-index:9}
a{color:#007684}

.site-header{background:#fff;border-bottom:6px solid var(--lime);padding:1rem 0}
.logo{height:72px;width:auto;display:block}

.hero{background:linear-gradient(135deg,#00899a 0%,#0b6f7d 100%);color:#fff;padding:4rem 0 5rem;position:relative;overflow:hidden}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;opacity:.9}
.hero::before{width:220px;height:220px;background:var(--lime);right:-60px;top:-70px}
.hero::after{width:120px;height:120px;background:var(--red);right:120px;bottom:-50px}
.hero .wrap{position:relative;z-index:1}
.kicker{display:inline-block;background:var(--red);padding:.25rem .9rem;border-radius:999px;font-weight:700;margin:0 0 1rem}
h1{font-size:clamp(2rem,5vw,3.2rem);line-height:1.15;margin:0 0 1rem}
.lead{max-width:44rem;font-size:1.15rem}
.button{display:inline-block;margin-top:.75rem;background:var(--lime);color:#1f2933;font-weight:700;text-decoration:none;padding:.8rem 1.6rem;border-radius:999px;transition:transform .15s}
.button:hover,.button:focus-visible{transform:translateY(-2px) rotate(-1deg)}

.about{margin-top:-2.5rem;position:relative;z-index:2}
.grid3{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.info{background:var(--card);border-radius:var(--radius);padding:1.25rem 1.5rem;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.info h2{margin:.2rem 0;font-size:1.15rem}.info p{margin:0;color:var(--muted)}
.icon{font-size:1.8rem}

.projects{padding:3rem 0 4rem}
.projects h2{font-size:1.8rem;margin:0 0 1.25rem}
.status{color:var(--muted);margin-bottom:1rem}
.cards{list-style:none;margin:0;padding:0;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.card{background:var(--card);border-radius:var(--radius);box-shadow:0 6px 18px rgba(0,0,0,.08);border-top:8px solid var(--c,var(--teal));display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s;overflow:hidden}
.card:hover,.card:focus-within{transform:translateY(-4px);box-shadow:0 12px 26px rgba(0,0,0,.14)}
.card-body{padding:1.25rem 1.5rem;flex:1}
.card h3{margin:0 0 .5rem;font-size:1.3rem;text-transform:capitalize}
.card p{margin:0 0 .75rem;color:var(--muted)}
.tags{display:flex;flex-wrap:wrap;gap:.4rem;padding:0;margin:0;list-style:none}
.tags li{background:#eef6f7;color:#0b6c78;border-radius:999px;padding:.1rem .7rem;font-size:.85rem}
.card a.open{display:block;padding:.9rem 1.5rem;font-weight:700;text-decoration:none;color:#1f2933;border-top:1px solid #eee}
.card a.open:hover,.card a.open:focus-visible{background:#f4f4f0}
.host{display:block;font-weight:400;font-size:.85rem;color:var(--muted)}

.intro{color:var(--muted);max-width:44rem;margin:0 0 1rem}
.filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}
.filters button{font:inherit;cursor:pointer;border:2px solid var(--teal);background:#fff;color:#0b6f7d;border-radius:999px;padding:.35rem 1rem;font-weight:600}
.filters button[aria-pressed="true"]{background:var(--teal);color:#fff}
.filters button:focus-visible{outline:3px solid var(--lime);outline-offset:2px}
.badges{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.6rem}
.badge{font-size:.8rem;font-weight:700;border-radius:999px;padding:.1rem .65rem;background:#eef0f2;color:#3e4c59}
.badge.tool{background:#f1f7d3;color:#4d5e00}
.badge.year{background:#e1f3f5;color:#07606b}
#year-filters button{border-color:var(--lime);color:#4d5e00}
#year-filters button[aria-pressed="true"]{background:var(--lime);color:#1f2933}
.card p.more{margin:0;padding:.6rem 1.5rem .9rem;font-size:.9rem;border-top:1px solid #eee}

.site-footer{background:#1f2933;color:#cbd2d9;padding:1.5rem 0;font-size:.9rem}
.site-footer a{color:var(--lime)}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto}}
