@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --bg: #06070a;
  --bg-elevated: #0c0d12;
  --bg-hover: #111318;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.88);
  --text-secondary: rgba(255, 255, 255, 0.45);
  --text-tertiary: rgba(255, 255, 255, 0.25);
  --accent: #6c9aff;
  --accent-dim: rgba(108, 154, 255, 0.08);
  --font: 'IBM Plex Sans', -apple-system, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ── HEADER ── */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.mark {
  font-family: var(--mono);
  font-size: 0.95rem; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mark b { color: var(--accent); font-weight: 600; }

header nav { display: flex; align-items: center; gap: 32px; }
header nav a {
  font-size: 0.8rem; color: var(--text-secondary);
  letter-spacing: 0.02em; font-weight: 500;
  transition: color 0.2s;
}
header nav a:hover { color: var(--text); }

.mob-toggle {
  display: none; background: none; border: none;
  color: var(--text-secondary); cursor: pointer; padding: 4px;
}
.mob-toggle svg { width: 18px; height: 18px; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(108, 154, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 640px; }

.hero-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0.8;
}
.hero-tag a { color: var(--accent); border-bottom: 1px solid rgba(108, 154, 255, 0.3); padding-bottom: 1px; }
.hero-tag a:hover { border-color: var(--accent); }

.hero h1 {
  font-size: 3.2rem; font-weight: 600; letter-spacing: -0.045em;
  line-height: 1.1; margin-bottom: 24px;
  color: var(--text);
}

.hero p {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.75; max-width: 460px; margin: 0 auto 48px;
}

.hero-links { display: flex; gap: 24px; justify-content: center; }
.hero-links a {
  font-size: 0.82rem; font-weight: 500; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.hero-links a:hover { color: var(--text); }
.hero-links a svg { width: 14px; height: 14px; opacity: 0.5; }

.scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
}

/* ── SECTIONS ── */
section { padding: 100px 0; }

.section-label {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--text-tertiary);
  margin-bottom: 16px;
}

.section-heading {
  font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em;
  margin-bottom: 48px; line-height: 1.2;
}

/* ── RESEARCH GRID ── */
.research-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.research-item {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.25s;
}
.research-item:hover { background: var(--bg-elevated); }

.research-icon {
  width: 32px; height: 32px; margin-bottom: 20px;
  color: var(--accent); opacity: 0.7;
}
.research-icon svg { width: 32px; height: 32px; stroke-width: 1.2; }

.research-item h3 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.research-item p {
  font-size: 0.8rem; color: var(--text-secondary); line-height: 1.65;
}

/* ── ABOUT ── */
.about-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.about-text p {
  font-size: 0.9rem; color: var(--text-secondary); line-height: 1.85;
  margin-bottom: 20px;
}
.about-text a { color: var(--accent); }
.about-text a:hover { text-decoration: underline; }

.about-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.meta-item {
  background: var(--bg); padding: 24px;
}
.meta-label {
  font-family: var(--mono);
  font-size: 0.68rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-tertiary);
  margin-bottom: 6px;
}
.meta-value {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
}

/* ── DIVIDER ── */
.divider {
  border: none; height: 1px;
  background: var(--border); margin: 0;
}

/* ── FOOTER ── */
footer { padding: 32px 0; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 0.75rem; color: var(--text-tertiary);
  font-family: var(--mono);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.75rem; color: var(--text-tertiary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
  .research-grid { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; gap: 40px; }
  header nav { display: none; }
  header nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(6, 7, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px 32px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .mob-toggle { display: block; }
  .hero-links { flex-direction: column; gap: 16px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
