/* ============================================================
   GEORGE DEBRAH — PORTFOLIO
   style.css
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --bg:       #0a0a08;
  --surface:  #111110;
  --border:   #1e1e1b;
  --accent:   #c8f04a;
  --accent2:  #f0c84a;
  --text:     #e8e5d8;
  --muted:    #6b6a5e;
  --card:     #141412;
  --card2:    #0f0f0d;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---------- BASE ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* noise overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ---------- NAV ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,8,0.88);
  backdrop-filter: blur(14px);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-left {
  padding: 100px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.hero-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
}

.hero-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -3px;
  margin-bottom: 32px;
  color: var(--text);
}
.hero-name em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 300;
  color: var(--accent2);
}

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #0a0a08;
  padding: 14px 28px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: #d8ff5a; transform: translateY(-2px); }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-right {
  padding: 100px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 48px;
}

.dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.5); }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: auto;
  width: 100%;
}
.stat { background: var(--surface); padding: 32px 28px; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- SECTIONS SHARED ---------- */
section {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 64px;
}
.section-num { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -2px;
  color: var(--text);
}

/* ---------- EXPERIENCE ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.exp-card {
  background: var(--card);
  padding: 40px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.exp-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 0;
  background: var(--accent);
  transition: height 0.3s;
}
.exp-card:hover { background: rgba(24,24,21,0); }
.exp-card:hover::after { height: 100%; }

.exp-period { font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.exp-role { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: var(--text); margin-bottom: 4px; letter-spacing: -0.5px; }
.exp-company { color: var(--muted); font-size: 13px; margin-bottom: 20px; }

.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.exp-bullets li { font-size: 13px; color: #9a9880; padding-left: 16px; position: relative; line-height: 1.6; }
.exp-bullets li::before { content: '›'; position: absolute; left: 0; color: var(--accent); }
.exp-highlight { background: rgba(200,240,74,.08); color: var(--accent); padding: 0 4px; border-radius: 2px; }

/* ---------- PROJECTS ---------- */
.project-card {
  border: 1px solid var(--border);
  padding: 48px;
  margin-bottom: 1px;
  background: var(--card);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
  transition: border-color 0.2s;
}
.project-card:hover { border-color: rgba(200,240,74,.3); }

.project-label { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.project-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.5px; color: var(--text); margin-bottom: 16px; line-height: 1.2; }

.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.project-tag { background: var(--surface); padding: 4px 10px; font-size: 11px; color: var(--muted); border: 1px solid var(--border); }

.project-content { color: #9a9880; line-height: 1.8; }
.project-metrics { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.metric-val { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 28px; color: var(--accent2); letter-spacing: -1px; }
.metric-lbl { font-size: 11px; color: var(--muted); }

/* ---------- RESEARCH ---------- */
#research { background: var(--card2); }

.research-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.research-sidebar { position: sticky; top: 100px; }

.research-vision {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 32px;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.research-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.research-contact-chip span { color: var(--accent); }

.research-body { display: flex; flex-direction: column; gap: 48px; }

.research-block {}
.research-block-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.research-block-title::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.research-block p { color: #9a9880; line-height: 1.9; font-size: 14px; margin-bottom: 12px; }
.research-block p:last-child { margin-bottom: 0; }

.research-kw { color: var(--accent2); font-style: italic; }

.research-future {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.research-future-label { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.research-future-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.research-future-list li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; }
.research-future-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }

/* ---------- SKILLS ---------- */
.skills-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.skills-intro { color: var(--muted); line-height: 1.9; font-size: 14px; }

.skills-groups { display: flex; flex-direction: column; gap: 32px; }
.skill-group-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  border: 1px solid var(--border);
  padding: 8px 16px;
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.04em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}
.skill-tag:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,240,74,.05); }
.skill-tag.featured { border-color: rgba(200,240,74,.3); color: var(--accent); background: rgba(200,240,74,.06); }

/* ---------- EDUCATION ---------- */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.edu-card { background: var(--card); padding: 40px; }
.edu-degree { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: var(--text); margin-bottom: 8px; letter-spacing: -0.3px; }
.edu-school { color: var(--accent); font-size: 13px; margin-bottom: 4px; }
.edu-period { color: var(--muted); font-size: 12px; }

/* ---------- VOLUNTEER ---------- */
.volunteer-card { border: 1px solid var(--border); padding: 40px; background: var(--card); }
.vol-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 20px; color: var(--text); margin-bottom: 8px; letter-spacing: -0.3px; }
.vol-org { color: var(--accent); font-size: 13px; margin-bottom: 20px; }
.vol-items { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vol-items li { font-size: 13px; color: #9a9880; padding-left: 16px; position: relative; }
.vol-items li::before { content: '›'; position: absolute; left: 0; color: var(--accent2); }

/* ---------- CONTACT ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -2px;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 32px;
}
.contact-headline em { font-style: italic; font-family: 'Fraunces', serif; font-weight: 300; color: var(--accent); }
.contact-desc { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 360px; }

.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-link:hover { border-color: var(--accent); background: rgba(200,240,74,.04); }
.contact-link-arrow { color: var(--accent); }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { gap: 20px; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 80px 24px 40px; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-right { padding: 40px 24px 60px; }

  section { padding: 60px 24px; }

  .exp-grid, .edu-grid { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: 1fr; gap: 32px; }
  .project-card { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .contact-inner { grid-template-columns: 1fr; }
  .research-layout { grid-template-columns: 1fr; gap: 40px; }
  .research-sidebar { position: static; }

  footer { flex-direction: column; gap: 12px; text-align: center; }
}