:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #030706;
  color: #dcfce7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 15% 5%, rgba(34, 197, 94, 0.14), transparent 32rem),
    linear-gradient(180deg, #020504 0%, #06100a 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(74, 222, 128, 0.16);
  background: rgba(2, 7, 5, 0.88);
  backdrop-filter: blur(18px);
}

.nav,
.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: #86efac;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a,
.text-link {
  color: #bbf7d0;
  text-underline-offset: 0.3rem;
}

.nav-links a[aria-current="page"] {
  color: #4ade80;
}

.container {
  padding-block: 4.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #4ade80;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.2rem;
  color: #f0fdf4;
  font-size: clamp(2.25rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  color: #f0fdf4;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.15;
}

h3 {
  margin-bottom: 0.45rem;
  color: #ecfdf5;
  font-size: 1.12rem;
}

.lead {
  max-width: 760px;
  color: #bbf7d0;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-grid,
.about-grid {
  display: grid;
  align-items: center;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.portrait,
.campaign {
  overflow: hidden;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 1.25rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.campaign img {
  width: 100%;
  height: auto;
}

.actions,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.actions {
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 0.7rem;
  background: rgba(34, 197, 94, 0.09);
  color: #dcfce7;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: #4ade80;
  color: #021408;
}

.section {
  padding-top: 5rem;
}

.grid,
.project-grid {
  display: grid;
  gap: 1rem;
}

.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.project-card {
  border: 1px solid rgba(74, 222, 128, 0.16);
  border-radius: 1rem;
  background: rgba(3, 12, 7, 0.72);
}

.card {
  padding: 1.25rem;
}

.card p,
.project-card p,
.muted {
  color: #a7d9b8;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid rgba(74, 222, 128, 0.12);
  background: #08100b;
}

.project-content {
  padding: 1.2rem;
}

.tag {
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.07);
  color: #bbf7d0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline .card {
  border-left: 3px solid #4ade80;
}

.site-footer {
  border-top: 1px solid rgba(74, 222, 128, 0.14);
  color: #86b995;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

@media (max-width: 760px) {
  .container {
    padding-block: 3rem;
  }

  .hero-grid,
  .grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .portrait {
    max-width: 340px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 0.8rem;
  }

  .site-footer .container {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
