:root {
  --paper: #f7f5f0;
  --ink: #1c1b18;
  --muted: #5f5c55;
  --line: #dcd8cf;
  --card: #ffffff;
  --accent: #b5542a;
  --accent-ink: #ffffff;
  --live: #1f6f4a;
  --live-bg: #e3f2e9;
  --soon: #6b6355;
  --soon-bg: #ece8df;
  --max: 68rem;
  --radius: 14px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16150f;
    --ink: #efece4;
    --muted: #b1ab9f;
    --line: #2f2c24;
    --card: #1f1d16;
    --accent: #e08a5e;
    --accent-ink: #16150f;
    --live: #8fd3ad;
    --live-bg: #1e3328;
    --soon: #c9c2b4;
    --soon-bg: #2a2820;
  }
}

* { box-sizing: border-box; }

html { color-scheme: light dark; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header,
main,
.site-footer {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  text-decoration: none;
}

.mark { width: 1.6rem; height: 1.6rem; color: var(--accent); }

.site-nav { display: flex; gap: 1.25rem; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
.site-nav a:hover { color: var(--ink); }

.hero { padding: 3rem 0 2.5rem; max-width: 46rem; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--muted); margin: 0; }

h2 {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.projects { padding: 1.5rem 0 2rem; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.card p { margin: 0; }
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.01em; }

.status {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.status.live { color: var(--live); background: var(--live-bg); }
.status.soon { color: var(--soon); background: var(--soon-bg); }

.fine { font-size: .9rem; color: var(--muted); }

.button {
  margin-top: auto;
  align-self: flex-start;
  display: inline-block;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button.disabled {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  cursor: default;
}

.about { padding: 2.5rem 0; max-width: 46rem; border-top: 1px solid var(--line); }
.about p { margin: 0; font-size: 1.05rem; }

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 0; }

@media (max-width: 40rem) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 1.5rem; }
}
