@font-face { font-family: "SG"; src: url(../fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; }
@font-face { font-family: "JB"; src: url(../fonts/jetbrains-mono-latin-300-normal.woff2) format("woff2"); font-weight: 300; }
:root { --cy: #8fe3ff; --cy2: #3fd5ff; --ink: #eef4fb; --mute: rgba(236,240,248,.52); --line: rgba(255,255,255,.12); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #030307; color: var(--ink); font-family: "SG", "PingFang SC", system-ui, sans-serif; }
body { min-height: 100svh; display: flex; flex-direction: column;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(63,213,255,.09), transparent 60%), radial-gradient(900px 500px at 0% 0%, rgba(70,120,255,.06), transparent 60%), #030307; }
a { color: inherit; text-decoration: none; }

header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px;
  background: linear-gradient(180deg, rgba(3,3,7,.9), rgba(3,3,7,0)); }
.brand { font: 300 11px "JB", monospace; letter-spacing: .34em; white-space: nowrap; }
.brand b { color: var(--cy2); font-weight: 300; margin: 0 .5em; }
#acct { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--mute); min-width: 0; }
#acct .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
#acct .chip { font: 300 9.5px "JB"; letter-spacing: .24em; padding: 4px 9px; border: 1px solid var(--line); border-radius: 12px; white-space: nowrap; }
#acct .chip.ok { color: var(--cy); border-color: rgba(143,227,255,.4); }
#acct button { font: 13px "PingFang SC", sans-serif; letter-spacing: .08em; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; padding: 7px 16px; cursor: pointer; white-space: nowrap; }
#acct button:hover { border-color: rgba(143,227,255,.5); }
#acct button.link { border: 0; background: none; padding: 0; color: var(--mute); }

main { flex: 1; width: min(1200px, 100%); margin: 0 auto; padding: 56px 28px 80px; }
.hero { max-width: 720px; margin-bottom: 56px; }
.k { display: block; font: 300 10px "JB", monospace; letter-spacing: .34em; color: var(--cy); font-style: normal; margin-bottom: 18px; }
.hero h1 { font: 500 44px/1.18 "SG", "PingFang SC", sans-serif; letter-spacing: -.005em;
  background: linear-gradient(100deg, #fff 55%, var(--cy)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin-top: 18px; font: 15px/1.9 "PingFang SC", sans-serif; color: var(--mute); max-width: 600px; }
br.m { display: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.card { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #080b12; cursor: pointer;
  transition: border-color .35s, transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.card:hover { border-color: rgba(143,227,255,.45); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(143,227,255,.12); }
.cv { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b1018; }
.cv img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 1.2s cubic-bezier(.2,.8,.2,1), filter .6s; filter: saturate(.92) brightness(.9); }
.card:hover .cv img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.cv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,3,7,0) 45%, rgba(3,3,7,.85)); }
.cv .scan { position: absolute; left: 0; right: 0; height: 1px; top: 0; background: linear-gradient(90deg, transparent, var(--cy), transparent); opacity: 0; z-index: 2; }
.card:hover .cv .scan { animation: scan 1.6s ease-in-out; }
@keyframes scan { 0% { top: 0; opacity: 0; } 15% { opacity: .9; } 100% { top: 100%; opacity: 0; } }
.badge { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 14px; background: rgba(3,6,12,.55); backdrop-filter: blur(8px);
  font: 300 9.5px "JB", monospace; letter-spacing: .24em; color: var(--ink); }
.badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--cy2); box-shadow: 0 0 8px var(--cy2); }
.soon .badge i { background: #9aa6b4; box-shadow: none; }
.title { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3; }
.title em { display: block; font: 300 9.5px "JB", monospace; letter-spacing: .3em; color: var(--cy); font-style: normal; margin-bottom: 8px; }
.title b { font: 500 24px "SG", "PingFang SC", sans-serif; letter-spacing: .02em; }
.body { padding: 18px 22px 22px; }
.body p { font: 13px/1.8 "PingFang SC", sans-serif; color: var(--mute); min-height: 3.6em; }
.meta { display: flex; gap: 28px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.07); }
.meta div span { display: block; font-size: 11.5px; letter-spacing: .08em; color: var(--mute); }
.meta div strong { display: block; margin-top: 4px; font: 300 14px "JB", "PingFang SC"; color: var(--ink); font-weight: 300; }
.go { position: absolute; right: 22px; bottom: 26px; font: 13px "PingFang SC", sans-serif; letter-spacing: .12em; color: var(--cy); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.card:hover .go { opacity: 1; transform: none; }
.soon { cursor: default; }
.soon .cv img { filter: grayscale(.5) brightness(.6); }
.soon:hover { border-color: var(--line); box-shadow: none; }
.soon .go { display: none; }

footer { padding: 28px; text-align: center; font: 300 10px "JB", monospace; letter-spacing: .26em; color: rgba(236,240,248,.3); }

@media (max-width: 760px) {
  header { padding: 16px; } #acct .who { display: none; }
  main { padding: 28px 16px 60px; } .hero { margin-bottom: 36px; }
  .hero h1 { font-size: 30px; } .hero p { font-size: 14px; } br.m { display: inline; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .go { opacity: 1; transform: none; }
}
