:root {
  --background: #111111;
  --surface: #181818;
  --text: #eeeeee;
  --muted: #a0a0a0;
  --accent: #8fbf8f;
}

* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: sans-serif;
  line-height: 1.6;
}

header {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--muted);
  text-decoration:none;
}

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

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  min-height: 70vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin: 1rem 0;
}

.intro {
  max-width: 650px;
  font-size: 1.3rem;
  color: var(--muted);
}

section {
  padding: 6rem 0;
}

section + section {
  border-top: 1px solid #282828;
}

h2 {
  font-size: 2rem;
  margin-top: 0;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0;
}

.section-number {
  color: var(--accent);
  font-family: monospace;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 5rem;
}

.about-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.1rem;
}

.about-text p:first-child {
  margin-top: 0;
}

.about-facts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-facts span {
  color: var(--accent);
  font-family: monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-facts p {
  margin: 0.4rem 0 0;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  nav {
    gap: 1rem;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-card {
  min-height: 320px;
  padding: 1.8rem;

  display: flex;
  flex-direction: column;

  background: var(--surface);
  border: 1px solid #252525;

  color: var(--text);
  text-decoration: none;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 3rem;

  font-family: monospace;
  font-size: 0.8rem;
}

.project-number,
.project-arrow {
  color: var(--accent);
}

.project-status {
  color: var(--muted);
}

.project-card h3 {
  margin: 0 0 1rem;
  
  font-size: 1.5rem;
}

.project-card > p {
  margin: 0;

  color: var(--muted);
  line-height: 1.6;
}

.project-tags {
  margin-top: auto;
  padding-top: 2rem;

  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.project-tags span {
  font-family: monospace;
  font-size: 0.75rem;

  color: var(--accent);
}

@media (max-width: 850px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card {
    min-height: 250px;
  }
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 5rem;
}

.interest span {
  color: var(--accent);
  font-family: monospace;
  font-size: 0.8rem;
}

.interest h3 {
  margin: 0.7rem 0;
  font-size: 1.4rem;
}

.interest p {
  margin: 0;
  color: var(--muted);
  max-width: 450px;
}

@media (max-width: 700px) {
  .interest-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

footer {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-top: 1px solid #282828;

  color: var(--muted);
  font-family: monospace;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}
