* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:     #f0ede8;
  --surface:#e8e4de;
  --border: #d8d4ce;
  --text:   #2a2620;
  --muted:  #7a746c;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
}

::selection { background: var(--text); color: var(--bg); }

nav {
  position: fixed;
  top: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.7rem 2rem;
  display: flex;
  gap: 2rem;
  white-space: nowrap;
}

nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

nav a:hover { color: var(--text); }
nav a.active { color: var(--text); border-bottom: 1px solid var(--text); padding-bottom: 1px; }

section {
  padding: 6rem 4rem;
  min-height: 100vh;
  animation: fadeIn 0.3s ease;
}

#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 8rem;
}

h1 {
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.hero-role {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 0.5rem;
}

.hero-right { display: flex; flex-direction: column; }

.quicklinks-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.quicklink {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: background 0.2s;
}

.quicklink:hover { background: var(--border); }

.quicklink-icon {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  flex-shrink: 0;
  background: var(--bg);
}

.quicklink-text { font-size: 0.95rem; font-weight: 400; }

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

h2:first-child { margin-top: 0; }
h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: 0.4rem; }
p { color: var(--muted); font-weight: 300; max-width: 55ch; line-height: 1.8; margin-bottom: 0.5rem; }

.gdd, .project, .jam, .hackathon {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s;
}

.gdd:hover, .project:hover, .jam:hover, .hackathon:hover { padding-left: 0.6rem; }

#contact a, section a.github {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

#contact a:hover { border-color: var(--text); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  nav { padding: 0.6rem 1.2rem; gap: 1.2rem; }
  section { padding: 5rem 1.5rem; }
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}
