@font-face{font-family:"T";src:url("text.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
:root{
  --bg:#080808;
  --tile:#101010;
  --chip:#181818;
  --text:#fff;
  --muted:rgba(255,255,255,.62);
  --r:22px;
  --head:"T",system-ui,sans-serif;
  --body:"T",system-ui,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--bg);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.65;-webkit-text-size-adjust:100%}
body{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:0 20px}
::selection{background:#fff;color:var(--bg)}
a{color:inherit;text-decoration:none}
a:focus-visible{outline:2px solid #fff;outline-offset:3px}

.top{width:calc(100% + 40px);margin:0 -20px;display:flex;align-items:center;gap:14px;padding:10px max(20px,calc((100vw - 760px) / 2));background:var(--bg);border-bottom:1px solid #1a1a1a}
.who{display:flex;align-items:center;gap:10px}
.who img{display:block;width:32px;height:32px;border-radius:30%;object-fit:cover}
.who span{font-size:.95rem;font-weight:400;line-height:1}
.nav{display:flex;gap:6px}
.nav a{padding:5px 10px;border-radius:8px;font-size:.88rem;line-height:1.3;color:var(--muted)}
.nav a:hover{color:var(--text);background:var(--chip)}
.nav a[aria-current="page"]{background:#fff;color:var(--bg)}

.main{width:100%;max-width:760px;flex:1;display:flex;flex-direction:column;padding:48px 0 32px}
h1{font-family:var(--head);font-weight:400;font-size:clamp(2.4rem,7vw,4.2rem);line-height:1.1}
.lead{margin-top:20px;font-size:1.3rem;line-height:1.5;max-width:30ch}
.sub{margin:56px 0 8px;color:var(--muted)}
.dirs{list-style:none;font-size:1.15rem}
.dirs li{padding:3px 0}

.links{list-style:none;margin-top:64px;display:flex;flex-wrap:wrap;gap:12px}
.links a{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:30%;background:var(--tile)}
.links a:hover{background:#fff;color:var(--bg)}
.links svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

.links svg.gh{fill:currentColor;stroke:none;width:26px;height:26px}

.lst{margin-top:20px;background:var(--tile);border-radius:var(--r);overflow:hidden}
.row{display:flex;align-items:center;gap:14px;padding:16px 24px;border-top:1px solid #1a1a1a}
.row:first-child{border-top:0}
.row:hover{background:var(--chip)}
.row .n{flex:1;font-size:1.15rem}
.row .n b{display:block;font-weight:400}
.row .n time{display:block;margin-top:2px;color:var(--muted);font-size:.9rem}
.row .t{color:var(--muted);font-size:.9rem}
.row svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.back{display:inline-block;margin-bottom:28px;color:var(--muted);font-size:.92rem}
.back:hover{color:var(--text)}
.date{display:block;margin-top:10px;color:var(--muted);font-size:.92rem}
.body{margin-top:28px;padding:24px 28px;background:var(--tile);border-radius:var(--r)}
.text{font-size:1.1rem;line-height:1.7}

.btn{display:inline-block;margin-top:28px;padding:11px 22px;border-radius:14px;background:#fff;color:var(--bg)}
.btn:hover{background:var(--muted)}
.nf h1{font-size:clamp(4rem,16vw,8rem);display:inline-block;transform:rotate(180deg)}
.nf .lead{max-width:none}
.nf .sub{margin:8px 0 0}
.foot{margin-top:auto;padding-top:72px;color:var(--muted);font-size:.92rem}

.model{display:none}
@media (min-width:1200px) and (hover:hover){
  .model{display:block;position:fixed;top:50%;margin-top:-80px;right:calc((100vw - 760px) / 4 - 80px);width:160px;height:160px;perspective:800px;pointer-events:none}
  .hex{position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateX(8deg) rotateY(-16deg)}
  .hex i{position:absolute;inset:0;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
  .hex i.front{display:grid;place-items:center;font:normal 2.3rem/1 var(--head);color:#fff;letter-spacing:-.02em}
}

@media (max-width:560px){
  html{font-size:16px}
  .top{gap:10px}
  .nav{gap:2px}
  .nav a{padding:5px 8px}
  .main{padding-top:40px}
  h1{font-size:2rem}
  .row{padding:15px 18px}
}
