:root{
    --bg: #ffffff;
    --text: #071023;
  --muted: #5b6b74;
  --accent: #0ea5a4;
  --card: #f6f7f9;
  --border: #e6eef3;
  --section-bg: rgba(2,6,23,0.02);
  --header-bg: rgba(255,255,255,0.6);
  --max: 1100px;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus{
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  box-shadow: 0 6px 18px rgba(2,6,23,0.45);
}

html[data-theme="dark"] {
  --bg:#071023;
  --muted:#9aa0a6;
  --accent:#7dd3fc;
  --card:#0b2940;
  --text:#e6eef3;
  --border: rgba(255,255,255,0.06);
  --header-bg: rgba(10,10,10,0.6);
  --section-bg: rgba(255,255,255,0.02);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);margin:0;line-height:1.6;transition:background .25s ease,color .25s ease}
.container{max-width:var(--max);margin:0 auto;padding:32px}
.site-header{backdrop-filter:blur(6px);background:var(--header-bg);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}
.header-row{display:flex;align-items:center;justify-content:space-between}
.logo{font-weight:800;letter-spacing:2px;color:var(--text);text-decoration:none}
.nav a{color:var(--text);margin-left:20px;text-decoration:none;font-weight:600}
.nav a:hover{color:var(--accent)}
.hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:18px;padding-top:64px;padding-bottom:48px}
.hero-inner{max-width:880px}
.hero-heading{font-size:34px;margin:0;font-weight:700;line-height:1.2}
.current-focus-title{margin-top:10px;font-size:18px;font-weight:700}
.focus-line{font-size:16px;color:var(--muted);margin-top:6px}
.bio{margin-top:12px;color:var(--muted)}
.cta{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.btn, .btn.ghost{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--border);background:transparent;color:var(--text);text-decoration:none;font-weight:600;cursor:pointer}
.btn.primary{background:var(--accent);color:#ffffff;border-color:transparent}
.btn.ghost{background:transparent}
.hero-right h3{margin-top:8px}
.focus-list{list-style:none;padding:0;margin:10px 0;color:var(--muted)}
.grid-section h2{margin-top:0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:18px;justify-items:center}
.card{background:var(--card);padding:18px;border-radius:10px;color:var(--text);text-decoration:none;border:1px solid var(--border);transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-6px);box-shadow:0 10px 30px rgba(2,6,23,0.35)}
.card h3{margin:0 0 6px}
.muted{color:var(--muted)}
.featured .projects{display:grid;gap:12px}
.project{background:var(--card);padding:16px;border-radius:10px;border:1px solid #121314}
.project .meta{margin-top:8px}
.posts a{color:var(--accent)}
.site-footer{border-top:1px solid var(--border);padding:20px 0;margin-top:40px}
.site-footer .container{display:flex;justify-content:center;align-items:center}
.site-footer .left{width:100%;text-align:center}

html[data-theme="dark"] .card{box-shadow:0 8px 30px rgba(2,6,23,0.45);border:1px solid rgba(255,255,255,0.04)}

.theme-toggle{background:transparent;border:1px solid var(--border);color:var(--text);padding:8px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer;width:40px;height:40px}



@media (max-width:800px){
  .hero{flex-direction:column}
  .hero-heading{font-size:28px}
}

.projects-list{display:flex;flex-direction:column;gap:18px;margin-top:16px;align-items:center}
.projects-list .card{width:100%;max-width:820px;text-align:center}

.projects-band{display:flex;justify-content:center;padding:32px 0}
.projects-band-inner{background:var(--section-bg);padding:20px;border-radius:12px;max-width:900px;width:100%;box-sizing:border-box}

.full-bleed{width:100%;background:var(--section-bg);padding:36px 0}

#projects h2, #uses h2, #socials h2{ text-align:center; margin-top:0 }

.reveal{opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.9,.2,1)}
.reveal.show{opacity:1;transform:translateY(0)}

.social-line{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:12px}
.social-line a{color:var(--accent);text-decoration:none;font-weight:600}

.product-card .banner{border-radius:8px;overflow:hidden;margin-bottom:12px}
.product-card .banner img{width:100%;height:160px;object-fit:cover;display:block}
.card-actions{display:flex;gap:10px;justify-content:center;margin-top:12px}
.card-actions .btn{padding:0 12px;font-size:14px;height:40px}

.product-card .card-row{display:flex;align-items:center;gap:18px}
.product-card .card-media{flex:0 0 220px}
.product-card .card-media img{width:220px;height:140px;object-fit:cover;border-radius:8px;display:block}
.product-card .card-content{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:6px}
.product-card.center-only{display:flex;flex-direction:column;align-items:center;justify-content:center}

@media (max-width:800px){
  .product-card .card-row{flex-direction:column}
  .product-card .card-media{flex:0 0 auto}
  .product-card .card-media img{width:100%;height:160px}
}

.uses-list{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:12px}
.chip{background:var(--card);border:1px solid var(--border);color:var(--text);padding:6px 10px;border-radius:999px;font-weight:600}

.social-line{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:12px}
.social-line a{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--card);border:1px solid var(--border);color:var(--muted);text-decoration:none}
.social-line a svg{width:18px;height:18px;display:block;fill:currentColor}
.social-line a:hover{background:var(--accent);color:#fff;border-color:transparent}
