﻿:root {
  --bg-base: #f3f7f5;
  --bg-surface: #ffffff;
  --ink-primary: #0f2620;
  --ink-secondary: #325046;
  --brand: #0d8f69;
  --brand-strong: #06634a;
  --accent: #f3b243;
  --border: #d7e5df;
  --shadow: 0 20px 45px rgba(7, 46, 36, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink-primary);
  background:
    radial-gradient(circle at 10% 10%, rgba(13, 143, 105, 0.11), transparent 35%),
    radial-gradient(circle at 90% 8%, rgba(243, 178, 67, 0.16), transparent 42%),
    var(--bg-base);
  min-height: 100vh;
}

.page-glow {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.page-glow-left {
  top: -7rem;
  left: -8rem;
  background: #3ab58d;
}

.page-glow-right {
  right: -9rem;
  top: 12rem;
  background: #e6ab43;
}

.site-header,
main,
.site-footer {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.brand-logo {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}

.brand-text {
  line-height: 1;
}

.header-cta {
  color: var(--ink-primary);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  padding: 3rem 0 3.5rem;
  max-width: 770px;
}

.hero-kicker,
.section-kicker {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-strong);
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
}

.hero-copy {
  margin: 1.15rem 0 0;
  max-width: 58ch;
  color: var(--ink-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 1.9rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.7rem;
  padding: 0.85rem 1.1rem;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--brand-strong), var(--brand));
  box-shadow: var(--shadow);
}

.btn-secondary {
  color: var(--ink-primary);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.projects-section {
  padding-bottom: 3.7rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.section-copy {
  margin: 0.8rem 0 0;
  max-width: 64ch;
  color: var(--ink-secondary);
}

.projects-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  grid-column: span 12;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(244, 252, 249, 0.9));
  border: 1px solid var(--border);
  border-top: 3px solid rgba(13, 143, 105, 0.45);
  border-radius: 1rem;
  padding: 1.1rem;
  box-shadow: 0 10px 30px rgba(9, 60, 45, 0.09);
  opacity: 0;
  animation: card-up 0.45s ease forwards;
}

.project-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.positioning-line {
  margin: 0.5rem 0 0;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.capability-title,
.tech-title {
  margin: 0.9rem 0 0.45rem;
  font-weight: 600;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-strong);
}

.capabilities {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-secondary);
}

.capabilities li {
  margin: 0 0 0.38rem;
  line-height: 1.4;
  font-size: 0.94rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  font-family: "Fira Code", monospace;
  font-size: 0.75rem;
  background: #edf7f3;
  color: #0b6f53;
  border: 1px solid #cfe4da;
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
}

.project-meta {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-status {
  background: rgba(13, 143, 105, 0.12);
  color: var(--brand-strong);
  border-radius: 999px;
  font-size: 0.74rem;
  padding: 0.33rem 0.65rem;
  font-weight: 600;
}

.project-link {
  font-size: 0.82rem;
  text-decoration: none;
  color: #0b6f53;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 2rem;
  color: var(--ink-secondary);
  font-size: 0.92rem;
}

@keyframes card-up {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 700px) {
  .project-card {
    grid-column: span 6;
  }

  .project-card.featured {
    grid-column: span 12;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 1rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    flex: 1;
    text-align: center;
    min-width: 12rem;
  }
}
