@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --background: #0a0a0a;
  --surface: #111111;
  --border: #252525;
  --text: #f5f5f5;
  --muted: #8b8b8b;
  --accent: #d9ff66;
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  width: min(var(--max-width), calc(100% - 48px));
  margin: auto;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.navbar nav {
  display: flex;
  gap: 32px;
}

.navbar nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.navbar nav a:hover {
  color: var(--text);
}

.hero {
  width: min(var(--max-width), calc(100% - 48px));
  margin: auto;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -5px;
  font-weight: 600;
}

.hero h1 span {
  color: var(--muted);
}

.hero-description {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 35px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #090909;
  border-color: var(--accent);
}

.button.primary:hover {
  transform: translateY(-2px);
}

.button.secondary:hover {
  border-color: #555;
}

.hero-line {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 70px;
}

.section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: auto;
  padding: 130px 0;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -3px;
}

.featured-project,
.project-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 50px;
  padding: 55px 0;
  border-top: 1px solid var(--border);
}

.project-row {
  border-bottom: 1px solid var(--border);
}

.project-number {
  font-family: "DM Mono", monospace;
  color: var(--muted);
  font-size: 0.8rem;
}

.project-type {
  font-family: "DM Mono", monospace;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.project-content h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.project-content > p:not(.project-type) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0 30px;
}

.tags span {
  border: 1px solid var(--border);
  padding: 6px 10px;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
}

.project-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
  transition: 0.2s ease;
}

.project-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.skills-section {
  border-top: 1px solid var(--border);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.skills-grid div {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
}

.skills-grid div:nth-child(odd) {
  border-right: 1px solid var(--border);
  padding-right: 25px;
}

.skills-grid div:nth-child(even) {
  padding-left: 25px;
}

.about-section {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.about-section .section-heading {
  margin-bottom: 0;
}

.about-content {
  max-width: 550px;
}

.about-content p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.contact-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: auto;
  padding: 150px 0;
  border-top: 1px solid var(--border);
}

.contact-section h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -4px;
  line-height: 1;
  margin-bottom: 25px;
}

.contact-section > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
  margin-bottom: 35px;
}

footer {
  width: min(var(--max-width), calc(100% - 48px));
  margin: auto;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
}

footer div {
  display: flex;
  gap: 20px;
}

footer a:hover {
  color: var(--text);
}

@media (max-width: 700px) {
  .navbar {
    height: 75px;
  }

  .navbar nav {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    letter-spacing: -3px;
  }

  .section {
    padding: 90px 0;
  }

  .featured-project,
  .project-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid div:nth-child(odd) {
    border-right: none;
    padding-right: 0;
  }

  .skills-grid div:nth-child(even) {
    padding-left: 0;
  }

  .contact-section {
    padding: 100px 0;
  }

  footer {
    flex-direction: column;
    gap: 15px;
  }
}
