/* ─── Font değişkenleri ──────────────────────────────────────────────── */
:root {
  --f-mono: 'DM Mono', monospace;
  --f-sans: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }

/* ─── Canvas'lar ─────────────────────────────────────────────────────── */
canvas#c {
  position: fixed;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}
canvas#grain {
  position: fixed;
  top: 0; left: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.18;
}

/* ─── Kimlik overlay ─────────────────────────────────────────────────── */
#ov {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.4s ease;
}
#name {
  font-family: var(--f-mono);
  font-size: clamp(26px, 5.5vw, 48px);
  font-weight: 600;
  letter-spacing: .38em;
  color: rgba(0,0,0,0.65);


}
#sub {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 11px;
letter-spacing: .28em;
  color: rgba(0,0,0,0.6);
  margin-top: 18px;
  text-transform: uppercase;
  text-align: center;
}

/* ─── Ana menü ───────────────────────────────────────────────────────── */
#menu {
  display: flex;
  gap: clamp(12px, 4vw, 48px);
  opacity: 0;
  animation: fi 1.2s ease 1.2s forwards;
  pointer-events: all;
  position: fixed;
  top: 28px; left: 0; right: 0;
  justify-content: center;
  z-index: 500;
}
#menu a {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: .25em;
  color: rgba(0,0,0,0.65);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
  cursor: pointer;
  padding: 6px 10px;
  font-weight: 500;
}
#menu a:hover, #menu a.active { color: rgba(0,0,0,1); }

/* ─── Sosyal linkler ─────────────────────────────────────────────────── */
#social {
  position: fixed;
  bottom: 24px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  z-index: 500;
  opacity: 0;
  animation: fi 1.2s ease 1.5s forwards;
}
#social a {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: .25em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
  font-weight: 400;
}
#social a:hover { color: rgba(255,255,255,1); }

/* ─── Animasyon ──────────────────────────────────────────────────────── */
@keyframes fi {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Mobil ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #menu { top: 16px; gap: 12px; }
  #menu a { font-size: 9px; letter-spacing: .15em; padding: 4px 6px; font-weight: 500; }

  #name { font-size: clamp(18px, 5.5vw, 28px); letter-spacing: .28em; }
  #sub  { font-size: 9px; letter-spacing: .14em; margin-top: 12px; }

  #social { gap: 16px; bottom: 14px; }
  #social a { font-size: 8px; letter-spacing: .16em; }
}

@media (max-width: 480px) {
  #menu a { font-size: 8px; letter-spacing: .12em; padding: 3px 4px; font-weight: 500; }
  #name   { letter-spacing: .22em; }
}