:root {
  --bg-0: #07110b;
  --bg-1: #0d1811;
  --bg-2: #132219;
  --card: rgba(10, 18, 13, 0.76);
  --line: rgba(89, 231, 117, 0.22);
  --ink: #eef9f1;
  --muted: #b2c8b9;
  --hot: #67f589;
  --warm: #37b962;
  --cyan: #79fff3;
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Sora", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 8% -4%, rgba(88, 211, 111, 0.22), transparent 70%),
    radial-gradient(900px 520px at 100% 12%, rgba(121, 255, 243, 0.10), transparent 72%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 52%, var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: -3;
}
.bg-orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(95px);
  z-index: -2;
  animation: drift 10s ease-in-out infinite;
}
.bg-orb-a { background: rgba(103, 245, 137, 0.30); top: -100px; left: -90px; }
.bg-orb-b { background: rgba(121, 255, 243, 0.14); right: -80px; bottom: 0; animation-delay: 1.5s; }
@keyframes drift { 0%{transform:translateY(0)} 50%{transform:translateY(-18px)} 100%{transform:translateY(0)} }
.section { width: min(1120px, calc(100% - 2.2rem)); margin: 0 auto; }
.hero { padding-top: 1.1rem; }
.topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:1.2rem; gap: 1rem; }
.top-actions { display:flex; gap:0.6rem; align-items:center; flex-wrap: wrap; }
.brand { display:flex; align-items:center; gap:0.65rem; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px; object-fit: cover;
  border: 1px solid rgba(121,255,243,0.35);
  box-shadow: 0 0 0 4px rgba(103,245,137,0.10), 0 12px 24px rgba(0,0,0,0.26);
}
.brand-pulse { width:12px; height:12px; border-radius:999px; background:linear-gradient(140deg,var(--hot),var(--warm)); box-shadow:0 0 0 7px rgba(103,245,137,0.16); }
.brand-text { font-family:"Chakra Petch",sans-serif; font-weight:700; letter-spacing:1px; font-size:1.15rem; }
.hero-shell, .cards.two, .cards.three { display:grid; gap:1rem; }
.bio-shell { grid-template-columns: 1.08fr 0.92fr; }
.hero-copy, .status-card, .card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}
.hero-copy { padding: 1.2rem; }
.bio-copy { padding: 1.3rem; }
.eyebrow { margin:0; text-transform:uppercase; letter-spacing:1.2px; color:var(--hot); font-weight:700; font-size:0.84rem; }
h1,h2,h3 { font-family:"Chakra Petch",sans-serif; margin:0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height:0.94; margin-top:0.35rem; max-width:10ch; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.28rem; }
.subcopy { margin: 1rem 0; color: var(--muted); line-height: 1.7; max-width: 60ch; }
.hero-actions, .contact-actions { display:flex; flex-wrap:wrap; gap:0.65rem; }
.btn {
  border:0; border-radius:14px; padding:0.78rem 1.05rem; font-family:"Sora",sans-serif;
  font-weight:700; font-size:0.92rem; cursor:pointer; text-decoration:none;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { color:#07200f; background:linear-gradient(135deg,var(--hot),var(--warm)); box-shadow:0 10px 22px rgba(88,211,111,0.30); }
.btn-ghost { color:var(--ink); background:rgba(255,255,255,0.04); border:1px solid rgba(121,255,243,0.20); }
.btn-discord { color:#f3f6ff; background:linear-gradient(135deg,#4b68ef,#3046af); box-shadow:0 10px 22px rgba(48,70,175,0.34); }
.hero-mini-stats { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.75rem; margin-top: 1.1rem; }
.mini-stat { padding: 0.95rem; border-radius: 18px; border: 1px solid rgba(121,255,243,0.14); background: rgba(255,255,255,0.03); }
.mini-stat span { display:block; color:var(--muted); font-size:0.82rem; margin-bottom:0.35rem; }
.mini-stat strong { font-size:0.98rem; }
.status-card { padding: 1.15rem; }
.profile-card { text-align:center; }
.profile-avatar {
  width: 156px; height: 156px; border-radius: 26px; object-fit: cover; display:block; margin: 0 auto 1rem;
  border: 1px solid rgba(121,255,243,0.28); box-shadow: 0 20px 36px rgba(0,0,0,0.35), 0 0 0 8px rgba(103,245,137,0.08);
}
.status-title { margin:0; font-weight:800; font-size:1.2rem; }
.profile-role { margin:0.45rem 0 1rem; color:var(--muted); line-height:1.5; }
.status-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0.72rem; }
.profile-grid article, .feature-card, .project-card, .join-card {
  border-radius: 18px; border:1px solid rgba(121,255,243,0.12); background: rgba(255,255,255,0.03);
}
.profile-grid article { padding: 0.88rem; }
.tiny { margin:0; color:var(--muted); font-size:0.76rem; text-transform:uppercase; letter-spacing:0.06em; }
.value { margin:0.4rem 0 0; font-weight:700; }
.meta { margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }
.ticker { overflow:hidden; padding:1rem 0 0.5rem; }
.ticker-track {
  display:flex; gap:2rem; width:max-content; animation: ticker 26s linear infinite;
  color: rgba(238,249,241,0.68); font-family:"Chakra Petch",sans-serif; letter-spacing:0.15em; text-transform:uppercase;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
main { padding-bottom: 2rem; }
.cards.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cards.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.cards.systems { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:1rem; }
.card { padding: 1.05rem; }
.feature-card p, .project-card p, .join-card p { margin: 0.7rem 0 0; color: var(--muted); line-height: 1.65; }
.project-grid { align-items: stretch; }
.project-card { position: relative; }
.project-card.highlight { border-color: rgba(103,245,137,0.34); box-shadow: inset 0 0 0 1px rgba(103,245,137,0.10); }
.project-tag {
  display:inline-flex; padding:0.36rem 0.62rem; border-radius:999px; font-size:0.78rem; font-weight:700;
  color:#dfffea; background: rgba(103,245,137,0.10); border: 1px solid rgba(103,245,137,0.22); margin-bottom: 0.7rem;
}
.project-list { margin: 0.9rem 0 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.65; }
.text-link { display:inline-block; margin-top:1rem; color:var(--cyan); text-decoration:none; font-weight:700; }
.text-link:hover { text-decoration: underline; }
.join-card.bio-contact { padding: 1.25rem; }
.footer { padding: 1rem 0 2rem; display:flex; justify-content:space-between; gap: 1rem; color: var(--muted); }
.small { font-size: 0.95rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
@media (max-width: 980px) {
  .bio-shell, .cards.two, .cards.three, .cards.systems, .hero-mini-stats { grid-template-columns: 1fr; }
  .topbar, .footer { flex-direction: column; align-items: flex-start; }
}

.stack-top-card { padding: 1.2rem; }
.section-head-inline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.section-head-inline h2 { margin-bottom: 0; }
.stack-intro {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.65;
}
.stack-top-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.stack-pill-group {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(121,255,243,0.12);
  background: rgba(255,255,255,0.03);
}
.stack-pill-group h3 { margin-bottom: 0.55rem; }
.stack-pill-group p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 980px) {
  .section-head-inline, .stack-top-grid { grid-template-columns: 1fr; display: grid; }
}
