:root{
  --bg:#0b0c10;
  --text:#e9e9ee;
  --muted:rgba(233,233,238,.65);
  --tile:rgba(233,233,238,.04);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.4;
}

a{
  color:inherit;
  text-decoration:none;
}

a:hover{
  opacity:.85;
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:28px 18px;
}

/* Header */

.header{
  padding-bottom:6px;
}

.name{
  font-weight:600;
  letter-spacing:.2px;
}

.role{
  margin-top:4px;
  font-size:14px;
  line-height:1.25;
  color:var(--muted);
}

/* Work */

.work{
  padding-top:16px;
}

.intro{
  display:flex;
  justify-content:flex-end;
  margin-bottom:14px;
}

.refresh{
  appearance:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.15);
  color:var(--text);
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
}

.refresh:hover{
  background:rgba(255,255,255,.06);
}

/* Grid */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:10px;
}

.tile{
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:14px;
  background:var(--tile);
}

.tile img,
.tile video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.95;
  transform:scale(1.01);
  transition:transform .35s ease, opacity .35s ease;
}

.tile:hover img,
.tile:hover video{
  transform:scale(1.06);
  opacity:1;
}

/* Contact */

.contact{
  margin-top:26px;
}

.contactLines{
  margin:0;
}

.contactItem{
  display:block;
  font-size:14px;
  color:var(--muted);
  line-height:1.5;
  white-space:nowrap;
}

.contactItem:hover{
  color:var(--text);
}

/* Footer */

.footer{
  margin-top:18px;
}

.footer small{
  font-size:13px;
  color:var(--muted);
}
