:root {
  --radius: 0.375rem;

  --brand: #ff4433;
  --brand-ink: #fefefe;

  --paper: #fdfcfa;
  --ink: #201f1c;
  --ink-muted: #6b6862;
  --hairline: #e2ddd2;
  --verified: #3f8f5f;

  --background: var(--paper);
  --foreground: var(--ink);
  --card: #ffffff;
  --secondary: #f3f0e9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.hairline {
  border-color: var(--hairline);
}

/* Header */
header.site {
  border-bottom: 1px solid var(--hairline);
  background-color: color-mix(in srgb, var(--background) 85%, transparent);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 40;
}

header.site .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.brand .dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background-color: var(--brand);
  display: inline-block;
}

.brand .name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
  max-width: 46rem;
  margin-inline: auto;
}

.hero p.lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 38rem;
  margin: 0 auto;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin: 0.5rem 0 0.75rem;
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background-color: var(--card);
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 0;
  line-height: 1.55;
}

/* Project cards */
.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.project-card-head h3 {
  margin: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--verified);
  white-space: nowrap;
}

.status-dot {
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 999px;
  background-color: var(--verified);
  display: inline-block;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

.project-card-teaser {
  border-style: dashed;
  background-color: transparent;
}

.project-card-teaser h3 {
  color: var(--ink-muted);
}

/* Footer */
footer.site {
  border-top: 1px solid var(--hairline);
}

footer.site .cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 2.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

footer.site .cols .brand-name {
  color: var(--foreground);
  font-weight: 600;
}

footer.site .cols p {
  margin: 0.5rem 0 0;
  max-width: 18rem;
}

footer.site .social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

footer.site .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

footer.site .social a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

footer.site ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

footer.site ul a {
  text-decoration: none;
}

footer.site ul a:hover {
  color: var(--foreground);
}

footer.site .bottom {
  border-top: 1px solid var(--hairline);
  padding: 1rem 1.5rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

@media (max-width: 640px) {
  footer.site .cols {
    grid-template-columns: 1fr;
  }

  header.site .row {
    padding: 0.875rem 1.5rem;
  }
}
