/* ===========================
   limitedssss.xyz — style.css
   Full production-ready styling (avatar integrated)
   =========================== */

:root{
  --bg-1: #0b0b0b;
  --bg-2: #131313;
  --muted: #919191;
  --text: #e6e6e6;
  --glass: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.02);
  --accent: #9ea0a4;
  --radius: 12px;
  --max-width: 1100px;
  --transition: 220ms cubic-bezier(.2,.9,.3,1);
}

* { box-sizing: border-box; }
html,body { height:100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: linear-gradient(180deg,var(--bg-1) 0%, var(--bg-2) 100%);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x: hidden;
  line-height: 1.4;
}

/* accessibility */
:focus { outline: none; }
:focus-visible { outline: 2px dashed rgba(255,255,255,0.06); outline-offset: 3px; }

.muted { color: var(--muted); }
.sr-only {
  position:absolute !important;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* Orbs */
.orb {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(180px);
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.orb--one { left: -8%; top: -6%; background: #7c7c7c; animation: orbFloat 14s ease-in-out infinite alternate; }
.orb--two { right: -6%; bottom: -10%; background: #5a5a5a; animation: orbFloat 13s ease-in-out infinite alternate-reverse; opacity:0.12; }
.orb--three { left: 50%; top: 60%; transform: translateX(-50%); width: 360px; height:360px; background:#9a9a9a; opacity:0.06; animation: orbFloat 18s linear infinite alternate; }

@keyframes orbFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(40px,-40px,0) scale(1.06); }
}

/* canvas */
#bg-canvas { position: fixed; inset: 0; width:100%; height:100%; z-index: 0; pointer-events: none; }

/* header */
.site-header { position: fixed; top:0; left:0; right:0; z-index: 8; backdrop-filter: blur(6px); padding: 18px 28px; }
.nav { max-width: var(--max-width); margin: 0 auto; display:flex; align-items:center; justify-content:space-between; }
.brand { display:flex; align-items:center; gap:12px; }
.brand-avatar { width:36px; height:36px; border-radius:10px; object-fit:cover; border:1px solid rgba(255,255,255,0.04); box-shadow: 0 8px 30px rgba(0,0,0,0.6); }
.brand-text { font-weight:700; letter-spacing:1px; color:var(--text); font-size:1rem; opacity:0.95; }

/* nav links */
.nav-links { list-style:none; display:flex; gap:18px; align-items:center; }
.nav-links a { color:var(--muted); text-decoration:none; font-size:0.95rem; transition: color var(--transition); }
.nav-links a:hover { color: var(--text); }

/* main */
.main { position:relative; z-index:2; padding: 110px 20px 80px; min-height:100vh; display:block; }

/* section base */
.section { max-width: var(--max-width); margin: 0 auto 60px; padding: 40px 20px; background: none; position: relative; z-index:2; }
.section-inner { width:100%; }

/* hero */
.hero { height: calc(100vh - 140px); display:flex; align-items:center; justify-content:center; text-align:center; }
.hero-inner { transform: translateY(8px); opacity:0; animation: heroEntrance 900ms cubic-bezier(.2,.9,.3,1) forwards; }
@keyframes heroEntrance { to { transform: none; opacity:1; } }

.hero-avatar { width:120px; height:120px; border-radius:18px; object-fit:cover; border:1px solid rgba(255,255,255,0.04); box-shadow: 0 20px 60px rgba(0,0,0,0.6); margin: 0 auto 18px; display:block; }

/* title */
.hero-title {
  font-size: clamp(48px, 7vw, 86px);
  font-weight:800;
  letter-spacing: -1px;
  margin: 8px 0 6px;
  color: var(--text);
  text-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 26px rgba(255,255,255,0.02);
  line-height: 0.95;
}
.hero-sub { color: var(--muted); font-size: 18px; margin-bottom: 28px; }

/* buttons */
.hero-links { display:flex; gap: 14px; justify-content:center; margin-bottom: 20px; flex-wrap:wrap; }
.btn { border-radius: 10px; padding: 10px 18px; font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.04); background: var(--glass); color: var(--muted); cursor: not-allowed; transition: transform var(--transition), color var(--transition), border-color var(--transition); }
.btn:hover { transform: translateY(-3px); color: var(--text); border-color: rgba(255,255,255,0.07); }
.btn--primary { cursor: pointer; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.06); color: var(--text); }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,0.03); }

/* CTA link */
.link-ghost { color: var(--muted); text-decoration: none; display:inline-block; margin-top:8px; transition: color var(--transition); }
.link-ghost:hover { color: var(--text); transform: translateY(-3px); }

/* sections */
.section-title { font-weight:700; font-size: 1.2rem; letter-spacing:0.6px; text-transform: lowercase; margin-bottom: 12px; color:var(--text); }
.lead { color: var(--muted); margin-bottom: 20px; max-width:720px; }

/* cards */
.cards { display:flex; gap:18px; flex-wrap:wrap; margin-top:18px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: var(--radius);
  padding: 18px;
  width: calc(33.333% - 12px);
  min-width: 200px;
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
  transition: transform var(--transition), border-color var(--transition);
}
.card h3 { margin:0 0 8px; font-size:1rem; color:var(--text); }
.card p { margin:0; color:var(--muted); font-size:0.95rem; }
.card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.06); }

/* projects */
.projects-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:18px; margin-top:12px; }
.project {
  display:flex; gap:12px; align-items:center; text-decoration:none; color:inherit;
  padding:14px; border-radius:12px; border:1px solid rgba(255,255,255,0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));
}
.project-preview { width:72px; height:56px; border-radius:8px; background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border:1px solid rgba(255,255,255,0.02); }
.project-body h3 { margin:0; font-size:1rem; color:var(--text); }
.project-body p { margin:4px 0 0; color:var(--muted); font-size:0.9rem; }
.project .chip { margin-left:auto; color:var(--muted); font-size:0.85rem; padding:6px 8px; border-radius:8px; background:rgba(255,255,255,0.01); }
.project:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.06); box-shadow: 0 20px 60px rgba(0,0,0,0.7); }

/* contact */
.contact-form { max-width:720px; margin-top:14px; display:block; }
.form-row { margin-bottom:12px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  width:100%; padding:12px 14px; border-radius:10px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); color:var(--text); resize:vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color: rgba(255,255,255,0.06); box-shadow: 0 8px 30px rgba(0,0,0,0.6); }
.form-msg { color: var(--muted); margin-top:10px; }

/* footer */
.site-footer { padding:28px 20px; border-top: 1px solid rgba(255,255,255,0.02); margin-top:40px; z-index:2; position:relative; }
.footer-inner { max-width: var(--max-width); margin:0 auto; display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:0.9rem; }

/* cursor */
.cursor {
  position: fixed;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  transform: translate(-50%,-50%) scale(1);
  pointer-events:none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 120ms ease, width 120ms ease, height 120ms ease, background 120ms ease;
  box-shadow: 0 6px 24px rgba(0,0,0,0.6);
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity 480ms var(--transition), transform 480ms var(--transition); }
.reveal.in { opacity:1; transform:none; }

/* responsive */
@media (max-width: 880px) {
  .cards { flex-direction:column; }
  .card { width:100%; }
  .projects-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }
  .footer-inner { flex-direction:column; gap:8px; align-items:center; text-align:center; }
  .brand-avatar { width:32px; height:32px; }
  .hero-avatar { width:96px; height:96px; }
}
