:root{
  --bg: #0b0c10;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.09);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);
  --line: rgba(255,255,255,0.12);
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --radius: 18px;
  --max: 1120px;
  --accent: rgba(255,255,255,0.92);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.10), transparent 60%),
    radial-gradient(900px 700px at 85% 18%, rgba(255,255,255,0.08), transparent 55%),
    radial-gradient(1200px 900px at 50% 120%, rgba(255,255,255,0.06), transparent 55%),
    var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.45;
}

a{ color:var(--text); text-decoration:none; }
a:hover{ text-decoration:underline; }
code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.nowrap{ white-space:nowrap; }

.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,0.68);
  border-bottom:1px solid var(--line);
}

.brand{ display:flex; align-items:center; gap:10px; }
.brandMark{
  width:12px; height:12px; border-radius:4px;
  background:rgba(255,255,255,0.9);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.06);
}
.brandText{ font-weight:700; letter-spacing:0.2px; }

.nav{ display:flex; gap:18px; }
.nav a{ color:var(--muted); font-weight:600; }
.nav a:hover{ color:var(--text); text-decoration:none; }

.menuBtn{
  display:none;
  width:44px; height:40px;
  border:1px solid var(--line);
  background:rgba(255,255,255,0.04);
  border-radius:12px;
  cursor:pointer;
}
.menuBtn span{ display:block; height:2px; margin:7px 10px; background:rgba(255,255,255,0.75); border-radius:2px; }

.mobileMenu{
  position:sticky; top:64px; z-index:40;
  padding:12px 18px 18px;
  background: rgba(11,12,16,0.92);
  border-bottom:1px solid var(--line);
}
.mobileMenu a{
  display:block;
  padding:10px 0;
  color:var(--muted);
  font-weight:650;
}
.mobileMenu a:hover{ color:var(--text); text-decoration:none; }

.hero{ padding:52px 18px 18px; }
.heroInner{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:22px;
  align-items:stretch;
}
.kicker{
  color:var(--muted);
  letter-spacing:0.5px;
  text-transform:uppercase;
  font-size:12px;
  margin:0 0 10px;
}
h1{
  margin:0 0 12px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height:1.08;
  letter-spacing:-0.6px;
}
.lead{
  margin:0 0 18px;
  font-size: 16.5px;
  color: rgba(255,255,255,0.86);
  max-width: 62ch;
}

.ctaRow{ display:flex; gap:10px; flex-wrap:wrap; margin: 10px 0 12px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-weight: 700;
  text-decoration:none;
  box-shadow: none;
}
.btn:hover{ background: rgba(255,255,255,0.08); text-decoration:none; }
.btn.primary{
  background: rgba(255,255,255,0.92);
  color: #0b0c10;
  border-color: rgba(255,255,255,0.92);
}
.btn.primary:hover{ background: rgba(255,255,255,0.82); }
.btn.small{ padding:8px 12px; font-size: 13.5px; border-radius: 12px; }
.btn.ghost{ background: transparent; }

.metaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.chip{
  display:inline-flex;
  padding:7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  font-size: 13px;
  font-weight: 650;
}
.chip.muted{ color: var(--muted); }

.heroMedia{ display:flex; flex-direction:column; gap:12px; }
.mediaCard{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
  min-height: 280px;
  display:flex;
}
.mediaCard img{ width:100%; height:100%; object-fit:cover; display:block; }
.mediaCard.fallback{ padding:18px; align-items:flex-end; }
.mediaFallback{ display:flex; align-items:flex-end; justify-content:space-between; gap:14px; width:100%; }
.fallbackShape{
  width:56px; height:56px; border-radius: 16px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.06);
}

.quickLinks{ display:flex; gap:10px; flex-wrap:wrap; }
.mini{
  display:inline-flex;
  padding:8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  background: rgba(255,255,255,0.03);
}
.mini:hover{ color: var(--text); text-decoration:none; background: rgba(255,255,255,0.06); }

.section{
  padding: 42px 18px;
}
.sectionHead{
  max-width: var(--max);
  margin:0 auto 14px;
}
.sectionHead h2{
  margin:0 0 6px;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.muted{ color: var(--muted); }
.small{ font-size: 13px; }
.spacer{ height: 10px; }

.grid2{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.cards{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 30px rgba(0,0,0,0.22);
}
.card h3{ margin:0 0 8px; letter-spacing:-0.2px; }
.card p{ margin:0 0 10px; }
.card p:last-child{ margin-bottom:0; }

.project .actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }
.tagRow{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom: 10px; }
.tag{
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  font-weight: 750;
}
.tag.muted{ color: var(--muted); font-weight:650; }

.list{ margin:0; padding-left: 18px; color: rgba(255,255,255,0.86); }
.list li{ margin: 6px 0; }

.quote{
  max-width: var(--max);
  margin: 14px auto 0;
  border-left: 3px solid rgba(255,255,255,0.20);
  padding: 10px 14px;
  color: rgba(255,255,255,0.82);
}

.timeline{ padding: 6px 14px; }
.timeline .row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.timeline .row:last-child{ border-bottom: none; }
.timeline .year{ color: var(--muted); font-weight: 750; }

.footer{
  max-width: var(--max);
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 940px){
  .heroInner{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .nav{ display:none; }
  .menuBtn{ display:block; }
}
