:root{
  --bg:#ffffff;
  --text:#111111;
  --muted:#5a5a5a;
  --card:#f5f5f6;
  --border:rgba(0,0,0,.10);
  --radius:18px;
  --max:1100px;
  --shadow: 0 10px 26px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }

html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

.header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.headerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.logo{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background: linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.02));
  flex:0 0 auto;
}

h1{
  margin:0;
  font-size:18px;
  line-height:1.2;
}
.lead{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.3;
  max-width:52ch;
}

.nav{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.nav a{
  color:var(--text);
  text-decoration:none;
  font-weight:650;
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.nav a:hover{
  border-color: var(--border);
  background: rgba(0,0,0,.03);
}

.intro{
  padding:18px 0 8px;
}
.intro h2{
  margin:0 0 6px;
  font-size:18px;
}
.intro p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
  padding:12px 0 28px;
}

@media (max-width: 900px){
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead{ display:none; }
}

@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
  .headerInner{ align-items:flex-start; }
  .nav{ justify-content:flex-start; }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  display:flex;
  gap:14px;
  padding:14px;
  box-shadow: none;
}

.card:hover{
  box-shadow: var(--shadow);
  transition: box-shadow .18s ease;
}

.media{
  flex:0 0 auto;
}

.avatar{
  width:92px;
  height:92px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  background:#dddddd;
  display:block;
}

.avatar.broken{
  background: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,.07),
    rgba(0,0,0,.07) 10px,
    rgba(0,0,0,.03) 10px,
    rgba(0,0,0,.03) 20px
  );
}

.cardBody{
  min-width:0;
  flex:1 1 auto;
}

.slot{
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin: 2px 0 6px;
  color: var(--muted);
}

.name{
  margin:0;
  font-size:18px;
  line-height:1.2;
}

.job{
  margin:6px 0 10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.3;
}

.details{
  margin-top: 6px;
}

.details summary{
  cursor:pointer;
  user-select:none;
  font-weight:750;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.55);
}

.details summary:hover{
  background: rgba(255,255,255,.85);
}

.details[open] summary{
  margin-bottom: 10px;
}

.detailsInner{
  padding: 0 2px 2px;
  font-size:14px;
  line-height:1.5;
}

.line{
  margin: 0 0 10px;
}

.block{
  margin-top: 12px;
}

.label{
  font-weight: 850;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 6px;
  color: var(--muted);
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.03);
  font-size:13px;
}

.about{
  margin:0;
}

.footer{
  border-top:1px solid var(--border);
  padding:16px 0 26px;
  color:var(--muted);
  font-size:13px;
}

.footerInner{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.footer a{
  color:inherit;
  text-decoration:none;
  font-weight:650;
}

.footer a:hover{
  text-decoration:underline;
}

.dot{ opacity:.65; }

.error{
  padding:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0,0,0,.03);
}
code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}
