* {
  box-sizing: border-box;
}

:root {
  --space: #0b1017;
  --space-2: #111923;
  --panel: #151f2b;
  --text: #edf3f0;
  --muted: #aab8b4;
  --green: #73c56b;
  --green-bright: #9be58e;
  --sand: #d8c39a;
  --line: rgba(255, 255, 255, 0.10);
  --max: 1080px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--space);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 16, 23, 0.90);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 9px;
  color: var(--green-bright);
  font-weight: 800;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 25%, rgba(115, 197, 107, 0.14), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(216, 195, 154, 0.08), transparent 30%),
    var(--space);
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  bottom: -300px;
  border: 1px solid rgba(115, 197, 107, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(115, 197, 107, 0.025),
    0 0 0 140px rgba(115, 197, 107, 0.018);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.3rem);
  letter-spacing: -0.045em;
}

h1 span {
  color: var(--green-bright);
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-block;
  padding: 12px 19px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: #0a120b;
  text-decoration: none;
  font-weight: 800;
}

.button:hover {
  background: var(--green-bright);
}

.section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section-alt {
  background: var(--space-2);
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.6rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}

.project-card p {
  max-width: 700px;
}

.project-badge {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  align-self: start;
  border: 1px solid rgba(115, 197, 107, 0.45);
  border-radius: 18px;
  color: var(--green-bright);
  font-size: 1.6rem;
  font-weight: 900;
}

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

.section p {
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 700px) {
  .nav-wrap {
    min-height: 64px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 80px 0;
  }

  .project-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .project-badge {
    width: 72px;
    height: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .footer-wrap {
    flex-direction: column;
  }
}
