:root {
  color-scheme: dark;
  --page: #09110f;
  --surface: #111b18;
  --surface-raised: #16231f;
  --border: #263732;
  --text: #edf4f1;
  --muted: #9aa9a4;
  --quiet: #6f817b;
  --teal: #3cdac8;
  --teal-soft: #153f39;
  --purple: #9688ff;
  --gold: #ffc83d;
  --max-width: 1800px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 5%, rgba(60, 218, 200, 0.09), transparent 28rem),
    var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
}

.masthead {
  max-width: 68rem;
  padding: 0 0 clamp(3rem, 7vw, 7rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(3.5rem, 8vw, 8rem);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--teal);
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal);
  letter-spacing: -0.04em;
}

.eyebrow,
.project-type {
  margin: 0;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

h1 {
  max-width: 61rem;
  margin: 1.1rem 0 1.4rem;
  font-size: clamp(3rem, 6.2vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.introduction {
  max-width: 52rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

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

.project-grid > h2 {
  grid-column: 1 / -1;
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-card {
  min-height: 22rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid var(--border);
  border-top: 3px solid var(--purple);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  display: flex;
  flex-direction: column;
}

.project-card--dashboards {
  border-top-color: var(--gold);
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status {
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--quiet);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.status--live {
  border-color: rgba(60, 218, 200, 0.35);
  background: rgba(60, 218, 200, 0.08);
  color: var(--teal);
}

.project-card h3 {
  margin: 2rem 0 0.85rem;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  letter-spacing: -0.035em;
}

.project-card > p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.project-link {
  width: fit-content;
  margin-top: auto;
  padding-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.project-link span {
  color: var(--teal);
  transition: transform 160ms ease;
}

.project-link:hover span {
  transform: translateX(0.25rem);
}

.project-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 0.35rem;
  border-radius: 0.25rem;
}

footer {
  margin-top: auto;
  padding-top: clamp(4rem, 8vw, 8rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 760px) {
  .site-shell {
    padding: 1.25rem;
  }

  .brand {
    margin-bottom: 4.5rem;
  }

  .masthead {
    padding-bottom: 4rem;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

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

  .project-card {
    min-height: 20rem;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
