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

/* ── THEME (dark only) ── */
:root {
  --bg:           #111111;
  --text:         #f0f0f0;
  --text-muted:   #999999;
  --text-faint:   #444444;
  --border:       #222222;
  --border-hover: #f0f0f0;
  --skill-bg:     #1e1e1e;
  --skill-border: #2a2a2a;
  --footer:       #333333;
  --nav-bg:       rgba(17,17,17,0.88);
}

/* ── BASE ── */
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: var(--text);
  transition: color 0.2s;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 56px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

/* underline grow on hover */
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width 0.25s ease;
}

nav a:hover { color: var(--text); }
nav a:hover::after { width: 100%; }

/* ── CONTENT ── */
.content {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 32px 80px;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PAGE LOAD FADE (header only) ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

header { animation: fadeUp 0.5s 0.05s ease both; }

/* ── HEADER ── */
header {
  margin-bottom: 72px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.role {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SECTIONS ── */
section { margin-bottom: 60px; }

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ── ABOUT ── */
.about-text {
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── SKILLS ── */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 13px;
  border: 1.5px solid var(--skill-border);
  color: var(--text-muted);
  border-radius: 2px;
  cursor: default;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
}

.skill:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--skill-bg);
  transform: translateY(-2px);
}

/* ── PROJECTS ── */
.project {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  position: relative;
  transition: padding-left 0.25s ease;
}

.project:last-child { border-bottom: 1px solid var(--border); }

/* left accent bar */
.project::before {
  content: '';
  position: absolute;
  left: -16px; top: 0; bottom: 0;
  width: 2px;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.project:hover { padding-left: 8px; }
.project:hover::before { transform: scaleY(1); }

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.project-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: letter-spacing 0.25s ease;
}

.project:hover .project-name { letter-spacing: 0.08em; }

.project-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project:hover .project-link { color: var(--text); gap: 8px; }

.project-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.7;
  transition: color 0.2s;
}

.project:hover .project-desc { color: var(--text-muted); }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.project:hover .project-tag { color: var(--text-muted); }
.project-tag::before { content: '#'; }

/* ── CONTACT ── */
.contact-links {
  display: flex;
  flex-direction: column;
}

.contact-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
  transition: padding-left 0.22s ease, border-color 0.22s, color 0.22s;
}

.contact-links a:first-child { border-top: 1px solid var(--border); }

.contact-links a:hover {
  padding-left: 10px;
  border-color: var(--border-hover);
  color: var(--text);
}

.contact-links a::after {
  content: '→';
  font-size: 13px;
  color: var(--text-faint);
  transition: color 0.22s, transform 0.22s;
}

.contact-links a:hover::after {
  color: var(--text);
  transform: translateX(6px);
}

/* ── FOOTER ── */
footer {
  margin-top: 60px;
  font-size: 11px;
  font-weight: 600;
  color: var(--footer);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  nav a { font-size: 16px; }
  .content { padding: 48px 20px 60px; }
  .name { font-size: 56px; }
}