:root {
  --bg: #070708;
  --teal: #2ad4c8;
  --teal-deep: #073e3a;
  --amber: #f5a524;
  --text: #f7f7f7;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 45% at 78% 8%, rgba(42, 212, 200, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 40% at 12% 92%, rgba(245, 165, 36, 0.07), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: "Inter Tight", "Avenir Next", "Segoe UI", sans-serif;
}

.site-header,
main,
.site-footer {
  width: 100%;
  padding-inline: 4vw;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.35rem 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  color: inherit;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.85;
  text-decoration: none;
}

.logo-ln3,
.logo-rest {
  display: inline-block;
}

.logo-ln3 {
  position: relative;
  color: var(--teal);
  margin-right: 0;
  padding-bottom: 0.34rem;
}

.logo-rest {
  color: #fff;
  padding-bottom: 0.34rem;
}

.logo-bar {
  position: absolute;
  left: 0.02em;
  right: 0.08em;
  bottom: 0;
  height: 0.16em;
  border-radius: 999px;
  background: var(--amber);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: #04221f;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.pill:hover {
  background: #5ee6dc;
}

.hero {
  padding: 4.75rem 0 3.25rem;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.lede {
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.projects {
  padding-bottom: 4rem;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 16.5rem);
  min-height: 22rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.05) 20%, rgba(7, 7, 8, 0.88) 100%),
    radial-gradient(circle at 70% 20%, rgba(42, 212, 200, 0.45), transparent 42%),
    linear-gradient(160deg, #10211f 0%, #0c1014 55%, #1a140c 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.card:hover {
  border-color: rgba(42, 212, 200, 0.45);
  transform: translateY(-2px);
}

.card-label {
  margin: 0;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-name {
  margin: 0.35rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.card-action {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.card:hover .card-action {
  color: #fff;
}

.site-footer {
  margin-top: auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: #8d8d8d;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    padding-inline: 1.25rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .hero {
    padding-top: 3.25rem;
  }
}
