:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1e1e1e;
  --text: #f0f0f0;
  --muted: #888888;
  --accent: #FF4444;
}

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

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

/* ── Nav ── */
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  padding: 28px 48px;
}

nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
}


/* ── Landing (index) ── */
.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 84px);
  gap: 24px;
  text-align: center;
  padding: 40px 20px;
}

.logo {
  width: 160px;
  height: auto;
}

.wordmark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.08em;
  color: var(--text);
  line-height: 1;
}

.email a {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}

.email a:hover {
  opacity: 0.7;
}

/* ── Page layout ── */
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* ── About ── */
.definitions-pair {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.definition .headword {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  line-height: 1;
}


.definition .def-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cccccc;
  margin-top: 10px;
}

/* ── Projects ── */
.projects-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 28px;
  transition: border-color 0.2s ease;
}

.project-card:hover {
  border-color: #333;
}

.project-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.project-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
}

.project-card-right {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.project-year {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.project-link {
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.project-link:hover {
  opacity: 0.7;
}

.project-desc {
  font-size: 0.9rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 14px;
}

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

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 8px;
}
