@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format('woff2');
}

:root {
  --bg: #0F1214;
  --surface: #151A1D;
  --surface-2: #1B2124;
  --line: #262B2F;
  --line-strong: #3A4146;
  --text: #E9ECE8;
  --muted: #A9B0AD;
  --faint: #8E9692;
  --accent: #C8F04A;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.site-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }

.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}

.hero { padding: 112px 0 96px; display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.03em;
}
.lede { max-width: 620px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 8px; font-weight: 500; border: 1px solid var(--line-strong);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; }
.btn-primary:hover { color: var(--bg); background: #D6F772; }

.section { padding: 72px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 40px; }
.section h2 { font-family: var(--display); font-size: 36px; letter-spacing: -0.02em; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-head p { color: var(--muted); font-size: 15px; }

.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; background: var(--surface);
}
.card-art { height: 200px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card-body .eyebrow { font-size: 12px; }
.card h3 { font-family: var(--display); font-size: 24px; }
.card-body p:last-child { color: var(--muted); font-size: 16px; }

.notes { gap: 32px; }
.note { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.note time { width: 140px; font-family: var(--mono); font-size: 14px; color: var(--faint); }
.note-body { flex: 999 1 420px; display: flex; flex-direction: column; gap: 4px; }
.note h3 { font-size: 19px; font-weight: 600; }
.note-body p { color: var(--muted); font-size: 16px; }

.about { padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.about-body { display: flex; flex-direction: column; gap: 16px; color: var(--muted); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--faint);
}

.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.not-found h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.02em; }
